Questions tagged [configuration]
Questions about the ways Sitecore is configured, including .config files, patching, available settings, etc.
306
questions
1
vote
3
answers
85
views
Not able to connect to local or codespace
I am following doc for connecting local to XM Cloud
https://doc.sitecore.com/xmc/en/developers/xm-cloud/connect-xm-cloud-pages-to-your-local-xm-instance.html
However, it is not working and giving some ...
1
vote
4
answers
126
views
Replace Sitecore.MediaRequestHandler in web configuration with a patch file inside the handlers
Replace Sitecore.MediaRequestHandler in web configuration with a patch file inside the handlers.
Existing one:
`<add verb="*" path="sitecore_media.ashx" type="Sitecore....
1
vote
1
answer
71
views
Why do we have Marketing Automation and Reference Data connection string on CD if xConnect Collection Service reads and writes interaction data?
In the documentation, Sitecore says the following:
The xConnect Collection service reads and writes interaction data. For example, the Content Delivery role submits web interactions to the xConnect ...
0
votes
2
answers
61
views
Where do I add/update the Brightcove configuration to add scheduling for Sitecore?
Hi I recently installed Brightcove Connector v10.1. Where do I add/update the configuration to add scheduling for Sitecore?
2
votes
3
answers
417
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
115
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
0
answers
39
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 ...
1
vote
2
answers
195
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">
&...
0
votes
2
answers
267
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
291
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 ...
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 ...
0
votes
1
answer
439
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
60
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
594
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 ...
1
vote
1
answer
290
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="...
0
votes
2
answers
689
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:
<...
2
votes
3
answers
612
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" ...
2
votes
1
answer
454
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
0
answers
111
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?
0
votes
2
answers
242
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 (...
1
vote
1
answer
477
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
3
answers
643
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
0
answers
233
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
325
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
727
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
77
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 ...
1
vote
2
answers
505
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
1
answer
324
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 ...
0
votes
0
answers
105
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 ...
1
vote
1
answer
120
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
0
answers
320
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....
1
vote
1
answer
884
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
673
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 ...
5
votes
2
answers
981
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
50
views
Can Sitecore 9.1 be configured to have LB from application perspective?
Does Sitecore 9.1 have any option to have internal Load balance ?
As we have two CD, can sitecore internally manage the Load balancing rather than server/LB doing the Load balance.
Thanks for you kind ...
0
votes
1
answer
59
views
Is item/data cache necessary for each site in a Sitecore instance?
As per the below link - cache configuration - is this cache to be configured
from site definition point of view for each sites
or
configured in a single Sitecore instance where it has to be based ...
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/...
0
votes
0
answers
294
views
Bypass Sitecore for specific directories
I'm not sure my title is ideal, so I am open to suggestions because I wasn't sure how to phrase it.
I am trying to create a Let's Encrypt cert using CertBot and it creates a file inside the /.well-...
0
votes
0
answers
93
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 ...
2
votes
1
answer
89
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
vote
1
answer
306
views
Run setting value of config file on ContentDelivery server only
We would like to run particular setting value on ContentDelivery or ContentManagement server only in Sitecore 9.1.1.
Config file
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/&...
1
vote
1
answer
1k
views
What does "Keyword not supported: 'endpoint'" mean and how does it relate to the "messaging" connectionstring?
I'm encountering the following issue but can't find any documentation to troubleshoot this issue. Any tips?
51324 09:55:20 ERROR Messaging : IMessageBus failed to start 'Sitecore.Marketing.Automation....
1
vote
1
answer
189
views
Enabling Caching.CacheKeyIndexingEnabled.ItemCache causes error message on save and publish
Upon saving the home item I see the following error:
Could not find configuration node: databases/database[@id='staging']
There are no files on the system (config, yml) that contain "staging&...
2
votes
1
answer
63
views
Making config settings configurable for user
I am using Sitecore 9.3, SXA. I want to make some of the current config settings configurable from within Sitecore. I have created a template with all of the fields (e.g. MediaResponse single text ...
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
0
answers
115
views
Sitecore website as a subsite of an existing non-Sitecore website
We have two websites:
the first one is non-Sitecore website (e.g. 'www.non-sitecore-site.com')
the second one is Sitecore website (e.g. 'www.sitecore-site.com')
My task is to make the second one (...
2
votes
1
answer
84
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 ...
3
votes
2
answers
2k
views
Apply patch to web.config in sitecore
I am little new to sitecore and I got a work thats bugging me. I was given a task to applying sitecore patches to the project and deploy to Dev. There were 3 patches. I completed the first two as it ...
1
vote
0
answers
30
views
How to configure Solr to treat European English language the same as international English
I'm configuring a few sites within my solution to use "European English" (en-150 yes, it's weird, but it is a valid culture!). Does Solr treat all en- languages the same, or will I need to set up ...
1
vote
0
answers
433
views
PDF files downloading rather than opening in a tab
We recently upgraded to Sitecore 9 and noticed that our PDF links are now downloading rather than opening in a new tab. I have tried changing the forceDownload in the the Sitecore.config to false, ...