Questions tagged [configuration]

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

Filter by
Sorted by
Tagged with
4 votes
1 answer
6k views

handling 500 errors in sitecore 9 [duplicate]

For handling status code 500 followed below step in web.config file: <system.web> <customErrors mode="off" /> <system.web> </system.webServer> <httpErrors ...
2 votes
3 answers
218 views

"security: "require"="sitecore" in sitecore config

What does "security: "require" in sitecore configuration mean? <sitecore role:require="Standalone or ContentManagement" security:require="Sitecore"> Does it ...
3 votes
2 answers
76 views

Configuring Sitecore Publishing Service to update multiple custom indexes

I'm currently trying to set up the Sitecore Publishing Service on an instance of Sitecore 10.1 (the page for all of the downloads and instructions is here) Without the publishing service, we rely on 4 ...
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>...
2 votes
1 answer
79 views

Explore mode GeoIP data not available

In Sitecore Experience Editor Explore view I am facing one issue in which I am not getting any country list in GeoIP section under Visitor information. Below is the screenshot of my page. Please ...
5 votes
1 answer
1k views

NullReferenceException when executing pathAnalyzer/newMapAgent

I'm a new maintainer for an instance of Sitecore 8.2. I'm seeing this error a lot in the logs: 1664 16:28:00 WARN Could not find constructor in ReflectionUtil.CreateObject: Sitecore.PathAnalyzer....
0 votes
0 answers
34 views

Invalidated single key on properties database

For persistent storage our system has used Properties database. The value is incremented per request base. this works fine with single server environment as the application context is same. But ...
0 votes
1 answer
231 views

Web.config builder section prefixes don't match App Service behavior

The stock web.config contains this entry: <configBuilders> <builders> <add name="SitecoreAppSettingsBuilder" mode="Strict" prefix="...
1 vote
1 answer
272 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 ...
0 votes
2 answers
97 views

how to create patch for changing cache size limits in sitecore config

Using Sitecore 10.0.1 I need to change the Prefetch and AccessResultCacheSize to 500 MB The Prefetch cache size is set as below in one config file <prefetch hint="raw:AddPrefetch"> &...
1 vote
1 answer
105 views

Cannot create identity provider with nonexistent sitecore domain "ad"

I just built a local instance of Sitecore 10.1 and I was able to bring up an Instance of Sitecore 10.1. Then, I pointed my connectionStrings to my DEV environment and published my current Sitecore ...
0 votes
2 answers
122 views

What is the "Processing role?"

I'm patching form Sitecore 10.2.0 to 10.2.2, and in documentation it has the following line: Updating Web.config on ContentManagement/ContentDelivery/Processing roles I know what CM and CD are, but I'...
0 votes
3 answers
154 views

How to only allow the creation of a child item by given template

I have a requirement to only allow users to create child item by given template. I am thinking to create a template called TemplatedFolder with one field called AllowedTemplateIds as Treelist to ...
15 votes
4 answers
12k 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....
0 votes
0 answers
89 views

Compilation Error after integrating VS2017 and Sitecore 9.3

I am newbie to 9.3, Installed and browsed the Sitecore project. Tried to integrate with Visual project by adding reference files sitecore.kernel.dll, sitecore.client.dll, system.web.mvc and deleted ...
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 ...
0 votes
3 answers
486 views

How to disable all Cortex services

I want to disable all Cortex services in my 10.2 XP1 environment. I am getting the following in the log Connection string 'cortex.processing.engine' is not found. Because there is no Cortex Processing ...
1 vote
1 answer
393 views

Sitecore 10.2 on Azure Virtual machine

I am new to Sitecore and trying to create a Sitecore development environment. I was planning to build an Azure Virtual machine with Windows 11 Pro N, 16 GB RAM. Just wanted to confirm that If we can ...
0 votes
2 answers
523 views

How to use xdt transform to remove role:require attribute

I am using xdt transforms to modify my Sitecore.config file for different environments. I want to remove a role:require="!ContentDelivery" attribute. I'm targeting the following element: <...
5 votes
2 answers
891 views

Not able to browse or publish to a secondary publishing target (staging) via CM

We are migrating to Sitecore 10.1 (Full Azure Paas), we have added a new publishing target following this documentation (link). All databases were created using ARM template, we have a blue/green ...
1 vote
0 answers
31 views

seeing this error after sitecore installtion ,local setup Could not find configuration node: databases/database[@id='web_am'], what could be the issue [duplicate]

I am facing issue on doing local setup for this sitecore, Could not find configuration node: databases/database[@id='web_am'] not sure why and where exactly this issue is occuring,and what could be ...
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 ...
0 votes
1 answer
283 views

How do set all Sitecore Cookies as HttpOnly [duplicate]

I'm new to Sitecore, for my new Project, I need to make a few customizations in cookie creation. Is there any way to force the Sitecore to create cookies with HttpOnly as 'true'? I'm using Sitecore 10 ...
0 votes
1 answer
49 views

Adding a frame-ancestor header only for a specific site

Is it possible to add a frame-ancestor header only for a specific site in our multisite Sitecore environment? What I saw were articles suggesting to add the header in the web.config but that would add ...
2 votes
1 answer
490 views

Set default decimal format for numbers (period instead of comma)?

I have a site whose production instance is hosted in Germany, which we are currently upgrading (8.2 to 10.1). We have decimals that are displayed on the site, and because the prod server is German the ...
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 ...
2 votes
0 answers
201 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 ...
3 votes
1 answer
872 views

Where to download Azure SDK 2.7.1 needed to deploy Sitecore Azure 8.1?

We are building a development environment for Sitecore 8.1 Update 1 with Sitecore Azure 8.1. Since Sitecore Azure requires Azure SDK 2.7.1 to be deployed, I am having such a bad day trying to figure ...
2 votes
3 answers
452 views

Issue with custom errors configuration in my Sitecore 10.1 instance

I am facing an issue whereby custom errors are not redirecting to error page configured. I have custom errors remote only set in the web.config as below: <customErrors mode="RemoteOnly" ...
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 (...
2 votes
1 answer
380 views

Inject parameters and an object into pipeline processor using DI

How do I pass a parameter to the processor's constructor AND resolve its dependencies? In the config I have: <processor type="Feature.ErrorHandling.Pipeline.HttpRequest.PageNotFoundProcessor, ...
0 votes
2 answers
212 views

Need to authorize email sending with API instead of SMTP

Security policy is requiring us to update passwords regularly, and this includes service accounts previously in use for services such as SMTP from our web servers. We are looking to use the Gmail API (...
0 votes
0 answers
84 views

Encrypt connection string credentials from Web.config to ConnectionStrings.config

I need to move secret credential values from Web.config to ConnectionStrings.config in baseline folder, how can I do that?
6 votes
2 answers
1k views

Why CleanUp doesn't work for the Blobs Table?

We have a Sitecore 8.1.1 with Sharepoint Connector 2.1. the connector imports 4000 documents from the Sharepoint (max 10 GB). The problem is that the Blob Tables last time were more than 80 Gb on ...
1 vote
0 answers
200 views

Unknown Connection String.Name: 'core' error

I was setting up one of the sites in my local and I am facing the Unknown Connection String. Name: 'core' error when I try to browse the site. Have imported the databases into my local SQL management ...
1 vote
3 answers
269 views

Unable to hide/disable Config file from sitecore

I want disable couple of config files using patch file or edit layer.config file.Have included below peace of lines of code to disable file. I can disable specific config by adding .disable/example to ...
1 vote
1 answer
596 views

Error - Sitecore is configured for item serialization but it's creating YAML files

I'm using Sitecore 9.3 and when I try to serialize an item by Developer > Serialize Tree, the item generated always has the extension ".yaml". However, I'd like the extension ".item&...
0 votes
1 answer
73 views

Enabling federated authentication using a feature flag in Code

We have managed to configure our Auth0 custom identity provider in our solution. Migrating from forms authentication however will take a bit more effort than just a bunch of config. In order to avoid ...
0 votes
2 answers
388 views

Sitecore IP Geolocation only works on CM, NOT CD

So I am having an issue with my Geolocation on my CD server, it only comes back with US regardless if trying it from India, Australia or anywhere. CM comes back with the correct country code. I have ...
1 vote
4 answers
2k views

Sitecore 9.3 Identity Server Redirects to 404

I configured a content management server with Identity server. Accessing the CM server takes me to the Identity server correctly, but after logging it redirects me to https://cm-sitecore93.test.com/...
4 votes
3 answers
1k views

Solr 6.6 / Sitecore 8.2 Content editor - Value cannot be null

I have read every post on here and every post I can find on this subject on google and I've tried all the tips / suggestions, but no joy. I'm attempting to setup a SOLR 6.6.0 with multiple cores / ...
1 vote
1 answer
299 views

config transformation in docker

We are currently working on migrating our Sitecore solution to docker. Earlier we were utilizing octopus for config transformation between CD and CM server roles and variable replacement between ...
2 votes
1 answer
623 views

Config patch with patch:attribute results in a duplicate setting

I am trying to patch the GenerateCacheKey processor of the mvc.renderRenering pipeline and for some reason my patch modifies the original processor (expected) but also adds a duplicate processor at ...
0 votes
0 answers
98 views

Could not find add method: AddIndex (type: Sitecore.ContentSearch.ContentSearchConfiguration) Sitecore 10.1

Just loaded Sitecore 10.1 locally, and was successful bringing up the generic Sitecore Site. Then I published my Website which is our live production site to come up, pointed my connectionStrings to ...
0 votes
0 answers
260 views

Switching out connection strings in Sitecore 10

I'm in the process of upgrading from Sitecore 8.2 to Sitecore 10x. With Sitecore 8.2 I was easily able to switch between databases simply by swapping out the connectionstrings, preferably by web....
2 votes
3 answers
463 views

List of recommended patches for specific Sitecore version

Is there an easy way to find a list of recommended patches for a specific Sitecore version/update? I can see that individual patches are recommended for a particular version but I can't find a a list ...
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"&...
1 vote
1 answer
546 views

Sitecore Form __RequestVerificationToken cookie missing

I'm working on a Sitecore 10.1.0 upgrade and getting this issue where the __RequestVerificationToken cookie is not in the request. I think I had the same issue in 9.1.1 but don't recall the solution. ...
2 votes
1 answer
1k views

Could not compute value for ComputedIndexField - Service Host URI is not a Valid URI

We have a sitecore 9.1.1 CM instance configured to use Azure Cloud. We have the relevant configurations enabled & disabled for each instance. However we are seeing the following: 16784 22:55:11 ...
2 votes
1 answer
78 views

How to secure critical information in Sitecore applications

We've a requirement to secure certain passwords and userIDs. These can't be in config files. Wanted to know if Sitecore has any tools or any best practices defined for such data storage? Any keystore ...

1
2 3 4 5
7