Questions tagged [configuration]
Questions about the ways Sitecore is configured, including .config files, patching, available settings, etc.
41
questions
70
votes
7
answers
47k
views
How do you setup a 404 and 500 error page for missing files and media items?
When navigating to a url such as www.website.com/missing.pdf and www.website.com/-/media/missing.pdf you will either receive the IIS 404 Server Error message or a Sitecore document not found page.
...
22
votes
4
answers
7k
views
How can I disable xDB?
If I don't have a working connection to MongoDB and I don't want to use xDB functionality. Currently, my logs are being filled with errors.
What is the configuration needed to disable xDB?
18
votes
3
answers
8k
views
Configuring Sitecore to display PDFs in browser
Currently, when a user clicks on a PDF link on my site (served from the Media Library), the browser will download the PDF file. I'd like to change the behavior from downloading to opening in browser (...
15
votes
2
answers
1k
views
Server role config with ContentManagement,Processing,Reporting not working
We wanted to setup a server as ContentManagement,Processing and Reporting instance. As we can combine roles, we changed the config accordingly.
<add key="role:define" value="ContentManagement,...
36
votes
6
answers
9k
views
What is the purpose of keepalive.aspx?
I know that this the page is called every 15 minutes (by default) by a scheduled task.
<agent type="Sitecore.Tasks.UrlAgent" method="Run" interval="00:15:00">
<param desc="url">/service/...
14
votes
2
answers
4k
views
Can you identify the Sitecore version from the Sitecore.Kernel.dll version?
Prior to Sitecore 8.2 the Sitecore.Kernel.dll version was the same as the version of the product I was using, however, from 8.2 the dll version seems to be ambiguous, like 10.0.3.309.
Is there a way ...
14
votes
3
answers
800
views
Automating server role configuration
When configuring server instances in a distributed environment, a range of config files must be enabled or disabled based on the instance role (e.g. CD, CM, Processing, Aggregation), referencing the "...
12
votes
5
answers
2k
views
What is the best practice for managing Web.config changes in a solution?
To my knowledge, it is considered a best practice not to include any of Sitecore's out-of-the-box configuration files into Visual Studio web projects. The reason being, if you handle all configuration ...
11
votes
1
answer
1k
views
How do you best manage security domains using SXA with the Active Directory module?
SXA provides the ability to create new tenants on-the-fly. Ideally each tenant would have a unique set of roles such as tenant1\admin and tenant1\editor.
How do you configure roles and domains in ...
9
votes
2
answers
5k
views
"Index sitecore_marketingdefinitions_master was not found" exception in Sitecore 9
Sometimes when we change config file or deploy new code, we see this exception on first load of page:
Server Error in '/' Application.
Index sitecore_marketingdefinitions_master was not found
...
8
votes
1
answer
2k
views
How to set X-Frame-Options to deny?
I have a recently upgraded solution, now running on Sitecore 8.1-upd3. Apparently in this version, Sitecore includes a http module to include a X-Frame-Options header, set to SAMEORIGIN: <add type="...
8
votes
2
answers
2k
views
How to run Sitecore in Live Mode?
I need to run my front-end website by pointing to master database, temporarily.
What settings should I change to achieve this?
7
votes
1
answer
2k
views
How to setup a Reverse proxy with Sitecore?
Is there a way that for certain URLs (like /blog/*) to load the content from other server, i.e implementing a reverse proxy?
We were able to do this with a normal site (non Sitecore) but when ...
7
votes
2
answers
2k
views
Error when loading config: Reader in incorrect state
I have an include file to remove the annoying Commerce License Warning on 8.1 update 3. But the patch file fails to load in. The log files show the following error:
"860 10:07:58 ERROR Could not ...
5
votes
3
answers
444
views
Filter pages from Path Analyzer
In our site we have some Ajax calls for performance measurements and cookie management. These calls show up in the path analyzer and distort the statistics.
They are reported as most visited and most ...
4
votes
3
answers
736
views
What is Sitecore Live Mode?
Sitecore CMS normally uses web database content to display in fornt-end website.
What is the way to run Sitecore front-end website pointing to master database.
Does that mean running Sitecore ...
3
votes
4
answers
2k
views
Technique for changing Sitecore configuration for unit tests
When we unit test we often need to change some Sitecore configuration for the tests. For example, we may have the following:
<sitecore>
<configuration>
<someNode name="myService"&...
24
votes
5
answers
8k
views
How do I disable /sitecore access on a Content Delivery Server?
I have 2 servers:
Content Delivery - the live site pointing to the web database.
Content Management - the internal only site pointing to the master database.
I want to prevent access to /sitecore on ...
12
votes
3
answers
2k
views
Cannot patch Sitecore initialize pipeline (Sitecore 8.1 Update 3)
I am trying to patch the initialize pipeline to add a processor. I simply add the following config (obtained from a KB article here) in include folder:
<?xml version="1.0" encoding="utf-8"?>
&...
12
votes
2
answers
3k
views
Disable EXM and remove connection strings
I've disabled EXM (in Sitecore 9.0.1):
<setting name="EXM.Enabled" value="false" />
I've also removed the exm.master, EXM.CryptographicKey and EXM.AuthenticationKey connection strings. I'm ...
11
votes
6
answers
8k
views
How do I configure Sitecore to serve multiple sites?
I want to configure my instance of Sitecore to respond with different sites at different urls. How can I do this?
10
votes
2
answers
1k
views
SearchConfiguration is not configured correctly. ContentSearchConfiguration was expected but System.String was returned
I am getting this error when trying to access a Sitecore website. Here's a screenshot of the complete error message.
It probably has to do with configuring Solr to work with Sitecore. Does anyone ...
9
votes
2
answers
1k
views
Content delivery setup - Lucene indexes
I have an issue that Lucene indexes are not updated or properly created on the content delivery server after a rebuild of the indexes on the content management server or after an item publish. The ...
8
votes
2
answers
2k
views
Patching to remove index update strategies
While configuring cd instance on SOLR one has to remove index update strategies and set to manual from index definitions on cd server.
Can we do that using sitecore patching?
8
votes
1
answer
16k
views
How to configure caching for static resources in Sitecore
How can I enable caching for static resources such as CSS and JavaScript files in a Sitecore solution? I need these resources to have the following response header present:
Cache-Control:public, max-...
6
votes
1
answer
552
views
Patching xConnect, AutomationEngine, IndexWorker configuration
Is there a way to patch xConnect, AutomationEngine, IndexWorker configuration in a way we do it for sitecore instance?
I.e. configuration that resides in xConnect instance folders:
\App_data\config\...
6
votes
3
answers
992
views
Filter standard Sitecore log messages into separate logs
We would like to make the main Sitecore log file more clean,and filter away all the unnecessary information that makes finding errors and other relevant information harder.
After upgrading to Sitecore ...
6
votes
1
answer
344
views
Unhide Ribbon strips
I have managed to hide all ribbon strips by right clicking on ribbon and un checking them.
I have zero strips now, on the ribbon and so, ribbon is hidden. I cannot able to get them back.
I have ...
5
votes
3
answers
1k
views
Comparing a Sitecore instance with a vanilla one
I am switching work computer and I want to get rid of many local Sitecore instances. I have 30+ instances from 7.0 to 8.2. To find out which Sitecore instances I can safely delete and which ones need ...
5
votes
2
answers
2k
views
How to setup sitecore site from existing database and website folder?
I have a database and website folder backup provided by the client. How can I configure a sitecore site manually or by using the Sitecore Instance Manager?
5
votes
1
answer
513
views
Why is my LastPasswordChangedDate 5 hours in the future?
I have a Sitecore 8.1-3 instance. I am trying to get the Datetime that the user's password was last changed. I am using this code:
var membershipUser = Membership.GetUser(myUserName);
var ...
5
votes
2
answers
662
views
Update the sitecore.configs at runtime possible?
We have a requirement to store all the secrets on to azure key-vault. This requires us to update the configurations at Runtime.
One challenge we are facing at the moment is to store the password for ...
5
votes
2
answers
7k
views
What is a pipeline?
In the Sitecore configuration, I see a lot of different nodes under the <pipelines> element. I have been through the Sitecore Certification course and don't recall us covering these in detail?
...
4
votes
2
answers
1k
views
How to make Experience Editor placeholders editable without placeholder settings?
Normally, we need to define placeholders with allowed renderings in placeholder settings, to allow Experience Editor to support.
What is the way to configure placeholders editable in the Experience ...
3
votes
1
answer
355
views
Sitecore Diagnostics Tool shows a lot of warnings for Configuration Pipelines consistency for CD role
I'm installing a Content Delivery node, and accordingly, to Sitecore guidelines says that some CONFIG files must be disabled.
As I've done it manually, I was expecting that Sitecore Diagnostics Tool ...
3
votes
1
answer
285
views
Sitecore Diagnostics Tool shows WebDAV must be disabled on CD but it is already
I'm installing a Content Delivery (Sitecore 8.2 update 3) node and also running Sitecore Diagnostics Tool to validate it.
In addition to my other question, I'm also seeing a warning that says
...
1
vote
2
answers
982
views
xConnect The HTTP response was not successful: Unauthorized on Azure PaaS
Very similar to this question: xConnect The HTTP response was not successful: Unauthorized
But in this case, it's in Azure PaaS so a lot of the answers are not applicable.
How can I make sure the ...
1
vote
0
answers
144
views
Why there is no OOTB LanguageDefinition for a Language which name is "en"?
I'm using a vanilla Sitecore 82u6.
When checking the .showconfig.aspx page I realized that the default language name is:
<setting name="ClientLanguage" value="en" patch:source="Sitecore....
1
vote
1
answer
896
views
Use Seq for logging with log4net instead of text file
Using Sitecore 8.2.
I want to log to SEQ instead of a standard file for the Sitecore log. Since Sitecore uses log4net, I've been looking at this documentation: https://docs.getseq.net/docs/using-...
1
vote
0
answers
693
views
Sitecore 9 Forms - SimpleInjector conflicting with FormBuilderController
Sitecore 9.0.1 (rev. 171219)
SimpleInjector v.4.3.0
Glass.Mapper v.4.5.0.4
Steps To Reproduce:
In the Sitecore dashboard I click on the Forms button
Click the Create button and select Blank Form
On ...
0
votes
2
answers
299
views
Sitecore CRM Connect 1.1 Issues connecting to MS Dynamics [closed]
I'm currently following the configuration guide for Crm Connect v1.1 and the instructions seem to cover connecting to a web based instance of Dynamics but not an on premise instance via AD.
The ...