Questions tagged [configuration]

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

Filter by
Sorted by
Tagged with
3
votes
1answer
1k views

Could not find configuration node: settings/setting[@name='MediaFolder']/@value

We are upgrading from sitecore 7.2 website to the latest 8.2 update 3. and the website is giving this error - Could not find configuration node: settings/setting[@name='MediaFolder']/@value. Is there ...
14
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 (...
2
votes
3answers
2k views

How to configure Sitecore to work with HTTPS

I'm getting ready to move my Sitecore 8.1 instance from HTTP to HTTPS. Since we have a distributed environment, my networking team has the idea of just using the Load Balancer to serve HTTPS content ...
1
vote
2answers
1k views

Client caching and gzip settings not working

I am trying to optimize image, js, and css delivery by enabling gzip compression and setting the client cache policy. The issue is, it doesn't seem like any of the settings are being used. Here is the ...
6
votes
1answer
10k 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-...
3
votes
1answer
230 views

Does it matter that sc.include elements display in the admin showconfig page?

We're currently in the process of upgrading to Sitecore 8.2 Update-3, and as part of this are finally moving customizations out of the Sitecore.config into patch files. One of our needs is to define ...
5
votes
2answers
1k 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?
0
votes
0answers
791 views

Keepalive.aspx - The underlying connection was closed: An unexpected error occurred on a send

CM and CD hosted in azure web apps. We are seeing a quiet lot of exception below on both CD and CMS environments. Note that we have a patch file which patches and we have custom rewrite rule from ...
0
votes
1answer
48 views

When to define a new Sitecore event

There are numerous articles describing how to define and register a new Sitecore event: Sitecore Community Docs: Sitecore Events Old SDN (still actual): Using Events Are there any recommendations ...
1
vote
1answer
117 views

Patching in a custom StandardValues provider

I am trying to add a custom StandardValues provider to a Sitecore 8.1 site (8.1.0 rev 160519) and I am not having a good time. To do this I reflected the standard Sitecore.Data.StandardValuesProvider ...
4
votes
1answer
103 views

What Sitecore understands about Mongo from its ConnectionStrings?

Here's my scenario Sitecore 8.1 update 1 in Datacenter X Sitecore 8.1 update 1 in Datacenter Z (stand-by failover) MongoDB Replica Set (rs0) Primary and Secondary in Datacenter X MongoDB Replica Set (...
5
votes
2answers
476 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
3answers
875 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 ...
10
votes
1answer
844 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 : ...
5
votes
2answers
1k views

Optionally Overriding Sitecore Settings with AppSettings (from Azure)

Background So long story short. We all know and use (right?) the established Sitecore Best Practice for not modifying vanilla configuration files. We use config patches (or config overrides, as some ...
3
votes
2answers
588 views

Weird URL mapping for /hu and /se

We recently analyzed the Google crawling errors on our production system. We noticed a weird 500 Code for URLs http://localSitecore/hu and http://localSitecore/se. So we tried to figure out where it ...
3
votes
1answer
299 views

Html.Sitecore().Controller on a CD - No route in the route table matches the supplied values

I am having a similar problem to InvalidOperationException: No route in the route table matches the supplied values That is, I am getting the error: No route in the route table matches the ...
3
votes
4answers
938 views

Null-conditional operator (?.) throwing compilation error

I am using Sitecore 8.2 rev 1 with .Net framework 4.6.1. I am trying to use a null-conditional operator in one of my views. After I publish my site, it gives a compilation error on the line of code ...
2
votes
3answers
1k views

Patch attribute does not replace patch:source

This is not exactly a problem, more of an irritating itch... I have replaced the InitializeGlobalFilters with a patchfile called InitializeGlobalFilters.config: <configuration xmlns:patch="http://...
2
votes
1answer
289 views

EncodeNameReplacements wildcard replacement happening before space-to-hyphen replacement

I'm encountering a problem that appears to be caused because I have a folder that contains both a wildcard item, and an item with a space in the name. When I have an item with no space in it, it ...
0
votes
3answers
319 views

'httprequestbegin' pipeline in live web page

i want to process certain operation at 'httprequestbegin' pipeline in live web page (CM or CD) i.e. notequals to PageEditor, notequals to ExperienceEditor, notequals to ContentEditor, notequals to ...
5
votes
2answers
2k views

How to patch 'system.webServer' using Sitecore patch config file

The browser console was showing errors for woff font type. So, in the site's web.config I included this property and it was fixed. <system.webServer> ...... ...... <staticContent> <...
5
votes
1answer
365 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 ...
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?
3
votes
1answer
196 views

Configuring OutOfProc session state

As per documentation (link) I need to configure the private and shared session state to be out of the process. My case is Content delivery cluster with a non-sticky load balancer I have decided to ...
4
votes
1answer
2k views

Handling 500 errors in sitecore multi site multi language environment

I found a similar question, but could not find out what I need from there I am trying to achieve a language-specific, content manageable, friendly error message page for 500 status code. What I ...
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....
6
votes
1answer
1k 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 ...
10
votes
2answers
975 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 ...
7
votes
1answer
357 views

How to set signature field in pagination & listing components of SXA?

I am trying to configure listing component for example Event list of SXA with pagination, but I am unable to understand the usage of signature field. List Signature - Signature is used to pair list ...
3
votes
2answers
1k views

Adding new sitecore handler to web.config

This question is related to this but not exactly the same. From sitecore's recommendation its not good to modify the actual config files and always do it by patching. I want to add a new hander ...
2
votes
1answer
2k views

Does Sitecore add X-Frame-Options: SAMEORIGIN?

I have a Sitecore 8.1 Update-3 solution. We have some simple ASPX files that we are trying to use as part of a Facebook application. Apparently the Facebook application displays the pages in an iFrame....
3
votes
1answer
147 views

How to resolve this error when using 'LinqPad Driver for Sitecore' with Sitecore 8.1?

I'm trying to use LinqPad Driver for Sitecore with LinqPad application by connecting to Local Sitecore (version 8.1 Update-1). However I'm getting below error when trying to test connection. Test ...
6
votes
1answer
264 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 ...
1
vote
1answer
3k views

Unable to get the correct `rootPath` from Sitecore.Context.Site

In my code, I'm trying to access the root path for the current site. Let's say I'm accessing my website http://mywebsite. Here is the site definition: <site patch:before="site[@name='website']"...
2
votes
1answer
910 views

Deploy Marketing Definitions Error “Rdb Taxonomy repositories do not support data export”

I have a site that has been upgraded from 7.5 to 8.1 and currently I'm on production deployment. I used a new SQL reporting database and MongoDB collections. I noticed that the campaigns hadn't been ...
2
votes
1answer
737 views

Indexing section is disappeared from control panel

I am trying to rebuild the search indexes through index manager, as an admin user. I am working on a Sitecore 8.0 instance from another developer, and I am not super familiar with Sitecore, myself. ...
1
vote
1answer
487 views

Adding/deleting languages from control panel

Is it adding/deleting a language from control panel is same as adding/deleting in content editor /sitecore/system/Languages?
4
votes
2answers
493 views

Patching security vulnerability SC2016-002-136135 for versions 7.2 and above

I am trying to patch my sitecore instance by following the sitecore knowledge base article https://kb.sitecore.net/articles/039942 I am on sitecore 8.1 update 3 and could not able to do below step as ...
1
vote
1answer
291 views

Template field type - Control

I have created a custom field type and it's working good. Here is the screenshot of how its looks in core database. All i filled in for template field type Template is Assembly and Class fields. ...
3
votes
3answers
1k 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"&...
7
votes
1answer
725 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 ...
0
votes
2answers
116 views

Why ConnectionStringOracle.Config Enable by default in sitecore

We are using MSSQL db for all the databases(core,master,web) in sitecore, but I can see the ConnectionStringOracle.Config is enabled by default in App_config folder. Sitecore 8.1 Update-2 <?xml ...
2
votes
2answers
195 views

Config files change while upgrade sitecore 8.0

Currently, I have Sitecore 8.0(update 1) site and I want it to upgrade it to update 2. I am following the 8.0 Update-2 Upgrade Guide. In this guide, there is a step of Apply the configuration file ...
0
votes
2answers
271 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 ...
4
votes
3answers
540 views

How to Check Site Configuration Inheritance

I often use the inherits attribute of the <site> configuration node to make one site inherit another. Today, another SSE question made me ask myself how I can check to see if the context site ...
6
votes
3answers
1k views

Rename SC_ANALYTICS_GLOBAL_COOKIE

Is there a way to rename the Sitecore cookie SC_ANALYTICS_GLOBAL_COOKIE? Wappalyzer identifies a Sitecore site via this cookie, and we would like to stop it from doing so, whilst retaining the ...
1
vote
1answer
86 views

Availability of PXM Indesign connector for Indesign CC 2017?

Does anyone has any idea on when there would be a PXM Indesign connector for Indesign CC 2017 available? I've noticed after an update that the plugin for 2015 did not work on 2017 and I had to ...
2
votes
1answer
1k views

Error executing child request during redirect

I am trying to complete login redirect functionality. I prohibited read/write access for default/anonymous for mysite.org/security-page and added NoAccessUrl <setting name="NoAccessUrl" value="/...
2
votes
0answers
59 views

Can I point ItemNotFoundUrl at sitecore content? [duplicate]

In my attempt to customize error pages, I have overridden the settings for ItemNotFoundUrl, LinkItemNotFoundUrl, and LayoutNotFoundUrl to point to a page in sitecore; /errors/ContentNotFound. The ...