I'm using Sitecore 9.1.1 on Azure environment,

I'm facing a pretty big problem the Web.config has been replaced and I don't know where can I get the file from? Can someone please give me this file if it's the same in all Azure environments or advice me what to do, please.

  • Can’t you just install another new instave and take this file from there? – Hugo Santos Jul 30 '19 at 22:31
  • 3
    You could just extract it from the wdp used for deployment, download it from dev.sitecore.net – jammykam Jul 30 '19 at 23:28

The download page for Sitecore 9.1.1 is at dev.sitecore.net (as mentioned by @jammykam in his comments): https://dev.sitecore.net/Downloads/Sitecore_Experience_Platform/91/Sitecore_Experience_Platform_91_Update1.aspx

From here you have multiple options for how to obtain a clean version of the Web.config:

  1. ZIP archive of the Sitecore site root folder: This has the Web.config file in it, but is typically meant for on-premise installation. You did not mention if it is PaaS or IaaS, but if IaaS this might be easiest.
  2. Packages for XM or XP: Make sure to look at the Download options for Azure AppService and extract a Web.config from here if you are trying to replace PaaS Web.config.
|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.