Questions tagged [configuration]

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

Filter by
Sorted by
Tagged with
70 votes
7 answers
48k 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. ...
Michael West's user avatar
  • 18.1k
36 votes
6 answers
10k 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/...
Søren Kruse's user avatar
  • 3,245
35 votes
4 answers
2k 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 ....
Dmytro Shevchenko's user avatar
25 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 ...
Kyle Trauberman's user avatar
23 votes
2 answers
719 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 ...
mikaelnet's user avatar
  • 794
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?
Ben Golden's user avatar
  • 3,303
18 votes
3 answers
9k 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 (...
Ed Schwehm's user avatar
  • 3,026
18 votes
3 answers
3k 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" ...
pasan samarakoon's user avatar
15 votes
4 answers
6k 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. ...
Charly Roch's user avatar
15 votes
4 answers
13k 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....
Adam Seabridge's user avatar
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,...
Gatogordo's user avatar
  • 20k
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 ...
Andrey Bobrov's user avatar
14 votes
3 answers
2k 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 ...
Corey Smith's user avatar
  • 2,708
14 votes
3 answers
810 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 "...
Kasper's user avatar
  • 2,156
14 votes
3 answers
3k 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....
Gatogordo's user avatar
  • 20k
14 votes
1 answer
1k 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 ...
Jonathan Brown's user avatar
14 votes
1 answer
741 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/...
LaustN's user avatar
  • 335
13 votes
4 answers
1k 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 ...
eat-sleep-code's user avatar
13 votes
2 answers
872 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....
Dmytro Shevchenko's user avatar
13 votes
1 answer
2k 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?
jgondev's user avatar
  • 335
13 votes
1 answer
4k 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="...
sindu's user avatar
  • 629
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 ...
Dmytro Shevchenko's user avatar
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"?> &...
Maziar Rezaei's user avatar
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 ...
peaks's user avatar
  • 537
11 votes
6 answers
9k 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?
Kyle Trauberman's user avatar
11 votes
3 answers
4k 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....
Thorkil Holm-Jacobsen's user avatar
11 votes
1 answer
1k 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 ...
Dmytro Shevchenko's user avatar
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 ...
Michael West's user avatar
  • 18.1k
11 votes
2 answers
529 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?
TamerM's user avatar
  • 1,682
11 votes
2 answers
631 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 ...
Michael West's user avatar
  • 18.1k
10 votes
2 answers
2k 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 ...
nickwesselman's user avatar
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 ...
andrei's user avatar
  • 175
10 votes
1 answer
2k 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 : ...
Kasper's user avatar
  • 2,156
10 votes
2 answers
3k 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 ...
Gatogordo's user avatar
  • 20k
9 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?
scFootsteps's user avatar
  • 3,841
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 ...
Peter Procházka's user avatar
9 votes
2 answers
2k 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 ...
Simran Singh's user avatar
9 votes
3 answers
8k 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 ...
lebeg's user avatar
  • 475
9 votes
1 answer
149 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 ...
Ethan Schofer's user avatar
9 votes
1 answer
304 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 ...
Steve Montgomery's user avatar
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?
Andrey Bobrov's user avatar
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="...
Gatogordo's user avatar
  • 20k
8 votes
3 answers
2k 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 ...
Justin's user avatar
  • 311
8 votes
1 answer
266 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?
Michael West's user avatar
  • 18.1k
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-...
Matthew Dresser's user avatar
8 votes
1 answer
445 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, ...
Keith VanderVeen's user avatar
7 votes
5 answers
460 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 ...
vandsh's user avatar
  • 1,651
7 votes
2 answers
779 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> <...
jrap's user avatar
  • 4,931
7 votes
2 answers
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?
sestocker's user avatar
  • 1,697
7 votes
1 answer
7k 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 ...
Gatogordo's user avatar
  • 20k

1
2 3 4 5
7