Questions tagged [configuration]
Questions about the ways Sitecore is configured, including .config files, patching, available settings, etc.
295
questions
0
votes
2
answers
1k
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
76
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
1
answer
139
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="...
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 ...
1
vote
1
answer
269
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
1
answer
234
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
273
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:
<...
1
vote
1
answer
88
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
1
answer
121
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
35
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 ...
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 ...
2
votes
1
answer
297
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
164
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
773
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
203
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
8k
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
242
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
139
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
60
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 ...
0
votes
2
answers
282
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
138
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
169
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
419
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
60
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
259
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
1k
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
202
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 ...
4
votes
1
answer
702
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 ...
2
votes
1
answer
504
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
76
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
181
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
426
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"&...
0
votes
1
answer
208
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
61
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 ...
3
votes
2
answers
2k
views
Sitecore 9.1 and Active Directory compatibility question
I was looking into installing Sitecore 9.1 and was reviewing the modules compatibility table for XP (https://kb.sitecore.net/articles/541788) and was surprised to see no support for Active Directory ...
11
votes
6
answers
8k
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?
14
votes
3
answers
2k
views
Sitecore administration page to view all pipeline processors
Is there an administration page to view all pipeline processors that are configured in Sitecore and the order in which they will execute? I'm trying to verify that my custom processor is being ...
15
votes
4
answers
11k
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....
7
votes
3
answers
502
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 ...
1
vote
0
answers
44
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
0
answers
1k
views
Sitecore images served as ashx when Media.RequestionExtension 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 Media.RequestionExtension setting is "". They are ...
0
votes
1
answer
46
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 ...
0
votes
2
answers
216
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 ...
0
votes
0
answers
186
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-...