I am currently setting up a production environment and I keep running into exceptions thrown while the site is initializing, due to configuration/patching issues. The fact that I can't load the ShowConfig is slowing me down and I would be able to troubleshoot and fix these issues a lot faster if I could only see it. Is there any way for me to do this?
You can use the Sitecore Config Builder tool which is available on the Marketplace.
Select the web.config for the solution and then choose where to save the resulting merged config file. This is the same result as you would see if you browsed to
/sitecore/admin/showconfig.aspx but it does not require a working Sitecore instance, just the config files. This is extremely useful if you want to see final patched config for a production instance from backups or without having to set it up locally for exmaple.
The Config Builder tool is also installed and accessible if you have Sitecore Instance Manager installed:
You can get the value of the fully patched Sitecore config by updating your Global.asax file to the following:
<%@Application Language='C#' Inherits="Sitecore.Web.Application" %>
protected void Application_Start()
This tells the application to write the fully patched Sitecore config to the \App_Data folder of your site's webroot. You can, of course, change this location to one of your choice.