Questions tagged [configuration]

Questions about the ways Sitecore is configured, including .config files, patching, available settings, etc.

Filter by
Sorted by
Tagged with
64
votes
6answers
32k 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. ...
34
votes
4answers
1k views

Is there a way to disable a config patch file without renaming or deleting it?

Let's say you want to temporarily exclude a .config file from being applied as a patch by Sitecore. Normally, you would either: Delete the file; Or rename it to have an extension different from ....
34
votes
6answers
6k 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/...
23
votes
5answers
6k 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 ...
22
votes
1answer
338 views

Can I encrypt the Sitecore Publishing Service connection strings?

Is there a way to encrypt the connection strings of the Sitecore Publishing Service? I don't want the connection strings to stay in clear text on the server, nor leave the system in Sitecore support ...
20
votes
3answers
4k 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
3answers
1k views

What is the usage of “physicalFolder” and “virtualFolder” attributes in a Sitecore site defintion

<site name="xxx" inherits="website" hostName="xxx.local" virtualFolder="/" physicalFolder="/" targetHostName="xxx.local" scheme="https" rootPath="/sitecore/content/xxx" ...
15
votes
2answers
825 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,...
14
votes
3answers
665 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 "...
14
votes
3answers
2k views

How to setup single site with one domain per language

I have a website that has 2 languages, lets say English (en) and Dutch (nl). Currently the site runs on a single domain, www.x.be. All is fine. But now the customer want to add another domain www.y....
14
votes
1answer
870 views

How to default the media browser to tree view

This is a really minor issue. But is it possible to have the "Select Media" browser default to the tree view as opposed to list view? I imagine there would be a config setting somewhere. I just feel ...
14
votes
1answer
549 views

How is the FXM bundle beacon constructed?

I am trying to implement FXM for a customer, with the purpose of collecting data from a bunch of WordPress based sites into a single repository. An example of such a site is http://dev.verum.se/test/...
13
votes
4answers
3k views

Install-SitecoreConfiguration xconnect-solr.json - Error Invoke-ManageSolrCoreTask : Missing required parameter: name

What: I am trying to install sitecore XP1 architecture. I already have a signed certificate. My issue comes when I try to configure sitecore on my solr. Sitecore 9.0.1 rev. 171219. SOLR 6.6.4. ...
13
votes
4answers
951 views

Is it possible to exclude some Sitecore Items from analytics tracking?

Is it possible to exclude some Sitecore Items from analytics tracking? We have a few items under sitecore/Content/Sites/MySite/Third Party/ that are consumed by our support site (which does not ...
13
votes
2answers
4k 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 (...
12
votes
3answers
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
2answers
921 views

Sitecore administration page to view all pipeline processors

Is there an administration page to view all pipeline processors that are configured in Sitecore and the order in which they will execute? I'm trying to verify that my custom processor is being ...
12
votes
2answers
1k 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 ...
12
votes
1answer
862 views

How or where should I add a required connection string for a feature in Helix?

A feature requires adding a new connection string. Which should be the way to do this in Helix?
12
votes
2answers
553 views

How does the `ref` attribute work in Sitecore configuration files?

Sitecore's .config files will sometimes use the ref attribute for inheriting the current node from an existing configuration node. Here's an example from Sitecore.ContentSearch.Solr.Index.Analytics....
11
votes
5answers
6k 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?
11
votes
5answers
1k 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
3answers
3k views

`patch:instead` removes an element with no attributes

I want to patch the configuration for sharedSessionState to use MSSQL instead of memory. The default configuration from Sitecore.Analytics.Tracking.config renders as such: Sitecore.Analytics.Tracking....
11
votes
1answer
683 views

How can I share settings between multiple TDS projects?

I have several TDS projects in a solution, all of them have the same deployment properties (such as the access GUID, deployment folder), package metadata (author, version, etc.) and validation ...
11
votes
3answers
6k views

Viewing the compiled Sitecore config on Content Delivery?

On Content Authoring servers, you can go to the control panel and view this page to see the compiled Sitecore config: /sitecore/admin/ShowConfig.aspx. It's also possible to do this via Sitecore Rocks....
11
votes
1answer
969 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 ...
11
votes
1answer
644 views

X-Frame Option in Sitecore 9

I have added the following X-frame-options header in web.config: <httpProtocol> <customHeaders> <remove name="X-Powered-By" /> <add name="X-Frame-Options" value="...
11
votes
2answers
448 views

Where should environment-specific configs be placed in Helix (Habitat) compliant solution?

Where should environment-specific configs be placed in Helix (Habitat) compliant solution (in the VS solution and the file system), such as connection strings?
11
votes
2answers
388 views

How often should agents run to both minimize impact on users and reduce risk of other performance issues?

First I referenced John West's article on agents here. He speaks of polling frequencies and intervals but neither there nor other places have I seen a clear guide on the agents that exist and best ...
10
votes
2answers
1k views

System.EntryPointNotFoundException when loading Sitecore 9.0

On Sitecore 9.0, when I attempt to load any URL, I get an Owin startup exception with the following details: System.EntryPointNotFoundException: The following errors occurred while attempting to load ...
10
votes
2answers
955 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 ...
10
votes
1answer
821 views

Recursive upgradeable lock acquisitions not allowed in this mode exception while accessing Sitecore configuration while initiating the IoC container

When trying to access the Sitecore Configuration Factory to read a setting while configuring services in the IoC container the below exception is thrown. public class ServicesConfigurator : ...
10
votes
2answers
2k views

Configuring master and web index for faster rebuild

During an upgrade from 6.x to 8.1 we decided to also move the indexes from Lucene to Solr. We ran into quite some troubles, but that is not the question as those are fixed. The "problem" I'm still ...
9
votes
2answers
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 ...
9
votes
2answers
3k 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 ...
9
votes
3answers
5k views

Best practices for HTTP Denial of Service configuration

A security audit has been performed for Sitecore setup. One of the issues revealed is about "HTTP Denial of Service" Description: A malicious user with a computer can send a specially crafted ...
9
votes
1answer
174 views

Is there a list of external domains that Sitecore calls as part of normal operating?

I'm looking to get a complete list of the URLs that Sitecore calls during normal functionality of the base product. We have a client's IT group that needs to whitelist the outbound external calls to ...
8
votes
1answer
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
1answer
231 views

How to make calls to sdn.sitecore.net startpage.aspx over HTTPS?

I noticed that when I access the login page, the Edge browser logs that HTTPS security is compromised. Is there a way to change the url to HTTPS?
8
votes
1answer
401 views

Where can I find Docker Images for the different Sitecore Installs?

I have seen a lot of good tutorials about how to setup Sitecore to be used in a Docker container. However, this still gives me the problem of configuring the different server roles (i.e. CD, CM, ...
8
votes
1answer
92 views

Customising the Sitecore Azure Marketplace Install

I installed Sitecore 9 on Azure using the Azure Marketplace. This creates a highly souped up instance of Sitecore. Id like to strip things out I don't need, to reduce the cost, but I am not entirely ...
7
votes
5answers
330 views

Update web.config configuration in a Sitecore module

I am working on creating a module that I was hoping to have be installed right thru the Sitecore shell. The deeper I go, the more I realize I will need to make manual changes to the web.config to get ...
7
votes
2answers
1k 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
2answers
1k 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?
7
votes
2answers
467 views

Config Patch With Multiple Matched Attributes

Is it possible to perform a patch that has to match on more than on attribute? My issue is that I'd like to patch after: <sitecore> <processors> <uiDeleteItems> <...
7
votes
2answers
2k views

Are there specific IIS setting recommendations for Sitecore?

Are there any specific setting changes for IIS specific to Sitecore? Or are general ASP.NET IIS best practices fully applicable to Sitecore?
7
votes
1answer
5k views

Adding a field to a custom SOLR index configuration

I am moving indexes from Lucene to Solr. Almost everything is working again, except a few custom indexes that have their own index configuration and had some field added to the fieldMap. Other custom ...
7
votes
1answer
1k views

Unable to cast object of type 'System.String' to type 'Unicorn.ControlPanel.Security.IUnicornAuthenticationProvider' Using automated Tool API

I am trying to run an automated Unicorn Sync on one of My Environments. I have the shared secret key in Unicorn.UI.Config after I had tried using the shared Unicorn.Sharedsecret.Config file with the ...
7
votes
3answers
934 views

Why use Patch Files to update configuration?

Some Sitecore documentation I found says.. Do not make changes directly to the configuration files. Instead, you must create a patch file that performs the required changes during run time. But it ...
7
votes
1answer
713 views

Recycle Bin shows all deleted items

In Recycle Bin, the user (not super admin) can see all deleted items by other users. It should be shown only deleted items by him/her. (I guess it is already sitecore's default setting) The user has ...