Skip to main content

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
0 answers
211 views

How do you disable rel='noreferrer' for external links?

Our ProtectExternalLinksWithBlankTarget is set to true so all our external links have the rel='noopener noreferrer' attribute, but we need to be able to allow some external links to be recognized as ...
221BakerSt's user avatar
1 vote
1 answer
280 views

Allow public access to Staging website, but block access to CMS by IP

I'm looking to limit access to Staging CMS by IP. At the same time, the Staging website should be accessible to anyone irrespective of the IP. The website is hosted on Azure App Service. I ...
shivam's user avatar
  • 23
0 votes
2 answers
263 views

is there a way to merge web config entries during sitecore upgrade?

we are upgrading our site from sitecore 8.1 to 9.1. hence like to know how the 9.1 instance web config file can be merged with existing 8.1 web config entries. is this has to be manual or is there any ...
Jeyanth Praveenkumar's user avatar
1 vote
1 answer
316 views

"Index sitecore_suggested_test_index was not found" on CM 8.2 after changing the default Solr index name

I am running: 8.2 Update 7 Solr xDB and Tracking enabled The Solr instance is shared across DEV and QA, so I need to prefix the index names for all of the indexes so that they do not conflict. I ...
Tom Zahner's user avatar
0 votes
0 answers
123 views

Custom Processing Engine Service Not Working

I'm trying to implement a test Processing Engine service to get started with Sitecore Cortex and ML.NET -> https://www.brimit.com/blog/dive-sitecore-cortex-machine-learning-introduction. Issue: I've ...
LinkedListT's user avatar
0 votes
2 answers
2k views

Why am I receiving a message Could not find configuration node: databases/database @id=master?

Here is what I am hoping to do: I would like to upload a media item to the Media Library. Here is my Code: Here is my App.config <?xml version="1.0" encoding="utf-8"?> <configuration>...
Paul T. Rykiel's user avatar
1 vote
0 answers
80 views

What permissions does Sitecore need to manage Solr?

Solr 6.1.0 + Zookeeper + Basic Authentication Sitecore 8.0 Update-5 What are the minimum permissions required for Sitecore to manage Solr? The official documentation says nothing about this AFAICT ...
mlhaufe's user avatar
  • 185
4 votes
2 answers
364 views

Setting up "Hot reload" for frontend assets

We would like to improve the frontend development experience in our Sitecore 9.2 solution and provide something like "hot reload", i.e. the frontend is built auto-magically and published to wwwroot, ...
Hos's user avatar
  • 884
2 votes
0 answers
183 views

Index core names and rebuild core

I've noticed in Sitecore 9 (at least through 9.1.1) that the value of <param desc="core> is based on the prefix you use during installation (IE, if you chose "local" as a prefix, the core is ...
Ken McAndrew's user avatar
  • 5,112
0 votes
1 answer
43 views

Coveo Config based on Environment [closed]

I am new to coveo and our dev environment is not working as expected, I am trying to duplicate the QA Environment and set up dev environment When i do this what are all the changes i should keep in ...
user3621's user avatar
  • 414
1 vote
0 answers
149 views

LINQPad DirectoryNotFoundException: "Could not find a part of the path"

With Sitecore 8.0 update 5 and LINQPad Sitecore Driver 1.9.0.2 I am receiving the following error when attempting to run a vanilla query: It's strange that this isn't utilizing the specified web root ...
mlhaufe's user avatar
  • 185
6 votes
1 answer
1k views

Is it possible to create a patch config file for log level?

I've created this patch file for a Sitecore 9 instance, but looking at showconfig.aspx it has had no effect. The config file name begins with a 'z' to try to ensure it's processed last. <?xml ...
R. Allinson's user avatar
1 vote
0 answers
29 views

Does this error MediaRequestProtection: An invalid/missing hash value was encountered show only in logs or a Yellow Page? [duplicate]

We are seeing this logs in our Sitecore application, we already saw some of the fixes and we are just wandering if this error makes the page in exception(yellow) page? or this has nothing to do in the ...
SCNoob's user avatar
  • 11
0 votes
3 answers
353 views

Should ConnectionStrings.config be in source control/VS?

Or alternatively should ConnectionStrings.config just be left up to the server environment and never part of your VS publish?
Don Cheadle's user avatar
1 vote
1 answer
98 views

Should you include patch files in your project and source control?

If yes, then what if you have different patches for different environments? Would you then put a transform(for publishing) on the Patch.config file? (same question - put transforms on ...
Don Cheadle's user avatar
2 votes
1 answer
567 views

Sitecore 9.2 Virtual User Authentication and SessionId Cookie [closed]

On the project I'm working on, we have chosen to use Sitecore 9.2 XM with Identity Server disabled. Where in the pipeline should I expect to see the ASP.NET_SessionId cookie get generated to be sent ...
Tony C Wang's user avatar
0 votes
3 answers
860 views

Sitecore 9.1.1 Azure Search custom index not updating when running rebuild

I'm trying to port an application to Azure Search from Solr. I've got the sitecore indexes working and rebuilding. The documents are being added to the azure search index. However for any custom ...
Richard Forrest's user avatar
2 votes
1 answer
166 views

How to specify custom CD Server URL for Language (.co.in instead of /en-in)

Im currently trying to set the publish url for a specific language on the CD server. On the CM server the URL is mysite.com/en-in I want the CD servers URL to be mysite.co.in. How do I specify the CD ...
scouty's user avatar
  • 423
1 vote
1 answer
1k views

Change value of SC_ANALYTICS_GLOBAL_COOKIE to false

Can we override SC_ANALYTICS_GLOBAL_COOKIE through code? Meaning, in my configuration file I set to true, through code I want to set it to false for a particular user. Is it possible?
tpkphani's user avatar
  • 339
2 votes
1 answer
212 views

Ip hashing in Sitecore

Following the Sitecore documentation, if Sitecore.Analytics.Lookups.IpHashProvider is set then the IP addresses will be in hashed. My configuration file contains value as below: <add name="default"...
tpkphani's user avatar
  • 339
3 votes
1 answer
220 views

What is the equivalent of the "DataProviderTimeout" setting in Sitecore 9

I want to temporarily increase the timeout settings in a Sitecore 9 environment while I run the tool for removing broken links (https://stackoverflow.com/questions/28725537/how-to-remove-broken-links-...
Matthew Dresser's user avatar
1 vote
2 answers
657 views

Patching an attribute using non-patching syntax

In Sitecore config patch files, both of the following will give the same result: <configuration xmlns:patch="http://www.sitecore.net/xmlconfig/" xmlns:role="http://www.sitecore.net/...
maz's user avatar
  • 1,813
1 vote
2 answers
1k views

Sitecore Context null in web.config handler

I'm trying to create a handler to intercept index.cfm files, as we're migrating from an old ColdFusion system to Sitecore. I've designated the handler like this: <system.webServer> <...
Ken McAndrew's user avatar
  • 5,112
2 votes
0 answers
596 views

WebDAV disabled but still getting PROPFIND error

I have a Sitecore 8.2 site. WebDav is disabled on the CD as per https://doc.sitecore.com/developers/82/sitecore-experience-platform/en/disable-webdav.html# by disabling the Sitecore.WebDAV.config. ...
Ethan Schofer's user avatar
1 vote
1 answer
121 views

Is there a way to set a page to show clients while the sitecore site restarts?

A sitecore restart takes anywhere from 2-5 minutes. Many other CMSes have a screen show to clients while the restart is taking effect. Is there any way to do this in sitecore?
user6883624's user avatar
7 votes
2 answers
828 views

Can I use Sitecore's Configuration patching mechanics for my Identity Server configuration?

Fairly sure I can guess the answer, but getting this question on record is still useful. Long story short: Can I use config patch files to manage configuration settings on my Sitecore IS web ...
Mark Cassidy's user avatar
  • 25.3k
2 votes
1 answer
231 views

Sitecore Desktop database selection shows non-existent database

On my instance of Sitecore 8.2 Update 7, the database selection list in the lower right hand corner show two webs: There is only one web in publishing targets: And my connection strings only have ...
Ethan Schofer's user avatar
1 vote
0 answers
109 views

What would cause a rendering to not show in preview mode for non-admins?

I have a rendering that shows fine for admin users but doesn't display for non-admins in preview mode. This happens on our production server but on our development server the rendering displays fine ...
Levi Wallach's user avatar
  • 1,085
0 votes
1 answer
349 views

Sitecore patch files not overriding the value in Rainbow.config

I am using Sitecore 9.1.1 and I am trying to override the value of Rainbow.SFS.SerializationFolderPathMaxLength in the foundation.serialization.settings.config. But sitecore is taking the value from ...
Arun Kumar's user avatar
2 votes
1 answer
463 views

Excluding template fields from indexing - difference between documentOptions exclusion vs regular exclusion

I reducing the number of fields which get indexed in my site. I looked at App_Config\Include\Sitecore.ContentSearch.Azure.DefaultIndexConfiguration.config and see the section <configuration <...
Matthew Dresser's user avatar
4 votes
1 answer
1k views

System.InvalidOperationException: geoIpServiceUri

I am troubleshooting why GeoIP information is not being resolved in my Sitecore 9.1.1 instance on Azure PaaS To try and ascertain whether the Sitecore GeoIP services has been subscribed to correctly, ...
Mark Cassidy's user avatar
  • 25.3k
0 votes
0 answers
194 views

Need to know the configuration files to be modified in CD server

I have installed Sitecore 9.1 XP scaled(XP1) topology using PowerShell script shared in installation guide. I have sitecore.cm, sitecore.cd and other app process installed (REP,PRC,etc). When i ...
Avinash J's user avatar
  • 313
5 votes
2 answers
2k views

Sitecore populating date field with yesterday's date via $date token

I have a date field in one of my templates who's default value is $date. When I create an item using that template, the raw value is 20190522Z, but when I view it not raw I see it as yesterday's date ...
Levi Wallach's user avatar
  • 1,085
4 votes
1 answer
250 views

How does Sitecore read .jssconfig and .sxaconfig files?

So we know that Sitecore.Configuration.Factory reads through all files ending in *.config in the App_Config/Include folder of your website root. But I've seen with SXA and JSS, that additional config ...
Mark Cassidy's user avatar
  • 25.3k
1 vote
1 answer
274 views

Boosting in solr vs lucene

I am changing the search engine from lucene to solr , and i want to make config changes in my custom indexes , i am using the search_keywords field for the predictive search , and the field is also ...
Rohan Bhateja's user avatar
2 votes
1 answer
1k views

Logged user is always sitecore\Anonymous during processor in SC 9.1

I'm using Sitecore 9.1, thus an identity provider. I have a custom domain named aba and I'm logged in Sitecore Administration Console using an aba\hsantos user. Then I have this processor which is ...
Hugo Santos's user avatar
  • 2,311
1 vote
1 answer
169 views

Is there any need to use patch:after with Unicorn configuration files

I'm working in a Helix solution and have noticed things like: <configuration name="Feature.MyModuleName" dependencies="Foundation.SomethingElse" patch:after="...
Matthew Dresser's user avatar
4 votes
1 answer
2k views

How to find reason for warning 'Could not load device from the device dictionary'

I've setup a separate CD environment for Sitecore 9.0.1 and upon starting the website, I see 1 exception in the log files that is logged as a warning. I've made sure that the client xConnect ...
Koen Heye's user avatar
  • 1,626
7 votes
3 answers
638 views

Breaking connection string causing a 500 not captured by HttpError

SC9.1 but tested in 8.2 also. I have been using my tried and true httpError config for capturing 500 errors to a static file. I was setting it up for a new client and I thought changing the ...
Chris Auer's user avatar
  • 13.1k
-1 votes
2 answers
3k views

Error: The type or namespace name 'MVC' does not exist in the namespace 'Sitecore' [closed]

I'm facing this issue in one of my testing instances: Sitecore 9.1.0 Inner Exception: c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\84f876eb\34615233\App_Web_events....
Hugo Santos's user avatar
  • 2,311
9 votes
1 answer
153 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
5 votes
3 answers
1k views

Patch forceDownload in Sitecore media types for PDF files

I want to patch only the ForceDownload attribute in below config: <mediaLibrary> <mediaTypes> <mediaType name="PDF file" extensions="pdf"> <mimeType>...
Prabeesh Kumar's user avatar
0 votes
1 answer
303 views

URL rewrite doesn't seem to be working

We have the following rewrite rules in our config: <encodeNameReplacements> <replace mode="on" find="&amp;" replaceWith=",-a-," /> <replace mode="on" find="?" replaceWith=",...
Levi Wallach's user avatar
  • 1,085
2 votes
1 answer
5k views

How to solve ambiguous constructors when trying to start Sitecore

We have a local Sitecore 9.0.2 installation that is relatively vanilla. It is currently failing to load the Configuration Manager because of the following error message. Server Error in '/' ...
Pete Navarra's user avatar
  • 14.7k
2 votes
2 answers
288 views

Should TransientRetryer be enabled for SQL Azure?

In Sitecore.config for Sitecore 9.0.2 I see the following comment: <!-- RETRYER Example transient retryer: <retryer disabled="false" type="Sitecore.Data.DataProviders....
Alex S's user avatar
  • 327
1 vote
0 answers
38 views

How do I interpret the results of the config changes for the Sitecore Express Migration Tool?

I have run the Sitecore Express Migration Tool 3.1 to migrate a 7.2 instance to 9.0 and I am very confused by the different diff and disabled migrated config files. I have read the EMT guide (...
Corey Burnett's user avatar
2 votes
1 answer
1k views

Popup dialog when saving an item to alert user to a required field

I'm trying to implement a popup when trying to implement a popup to alert users to a required field, but running into an error with even loading the CMS after trying to create the code: Could not ...
Levi Wallach's user avatar
  • 1,085
0 votes
1 answer
720 views

Instance name in multi-CD setup

Sitecore 8.1 rev 160302. I've inherited a website that I'm having issues with the indexes. There is 1xCM server and 3xCD servers. We're using Lucene so have separate versions of the indexes on all 3 ...
stuartw87's user avatar
  • 113
5 votes
1 answer
1k views

CM to Identity Server redirection issue

I'm running the Content Management (CM) and Sitecore Identity Server (SIS) roles on a single AWS EC2 instance. This is behind an AWS application load balancer, which accepts traffic on port 443 only ...
user avatar
3 votes
1 answer
3k views

How can I access the Sitecore 9 configuration values programmatically?

I'm trying to get this given node value from the Sitecore configuration (Sitecore 9 instance). My first approach was to read the configuration file on which this value is defined. Pretty standard... ...
Hugo Santos's user avatar
  • 2,311

1
2
3 4 5
7