Questions tagged [configuration]
Questions about the ways Sitecore is configured, including .config files, patching, available settings, etc.
306
questions
1
vote
3
answers
79
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 ...
9
votes
4
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 ...
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
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 ...
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....
1
vote
1
answer
288
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
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 ...
2
votes
1
answer
328
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 ...
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 ...
1
vote
4
answers
124
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....
0
votes
1
answer
356
views
ConfigurationException: Expected: Sitecore.ExperienceAnalytics.Core.Diagnostics.ILogger. Got: Sitecore.ExperienceAnalytics.Core.Diagnostics.Logger
I am migrating from Sitecore 8.1 to Sitecore 9.1 and I'm getting this weird error:
Unexpected object type created from configuration node.
Expected: Sitecore.ExperienceAnalytics.Core.Diagnostics....
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 ...
1
vote
2
answers
503
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 ...
15
votes
5
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....
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?
0
votes
0
answers
2k
views
Sitecore images served as ashx when Media.RequestExtension setting is blank
We've just deployed to a new environment and expected images from the Media library to be referenced with their original file extensions e.g. .jpg as the Media.RequestExtension setting is ""....
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?
3
votes
1
answer
4k
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...
...
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
408
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
109
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
189
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
262
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
285
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 ...
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 ...
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
633
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
466
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
687
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
976
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
433
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
593
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 ...
3
votes
0
answers
221
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
932
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
608
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
449
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
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 (...
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?
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
231
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
319
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
722
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
76
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
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/...