web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Error 0x8007000d when using Dynamics CRM 2015 on Windows Server 2012 R2 and IIS 8.5 from an upgrade.

(0) ShareShare
ReportReport
Posted on by

Hello everyone,

I recently upgraded Windows Server 2008 R2 to Windows server 2012 R2 in order to be able to install Dynamics CRM 2015.  Nevertheless after the installation I receive the following error when opening the CRM website:


HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.
Detailed Error Information:
Module IIS Web Core
Notification Unknown
Handler Not yet determined
Error Code 0x8007000d
Config Error
Config File \\?\C:\Program Files\Microsoft Dynamics CRM\CRMWeb\web.config
Requested URL http://skalant-srv:80/
Physical Path
Logon Method Not yet determined
Logon User Not yet determined
Config Source:

-1:
0:

More Information:
This error occurs when there is a problem reading the configuration file for the Web server or Web application. In some cases, the event logs may contain more information about what caused this error.

View more information »

I have found some threads for CRM 2011 and they suggest reinstalling everything.  Which I did, but I still have the same result.  

Additional Info: When I open the website management page in IIS and click on any feature (for example double click on windows authentication) I get the error: 

CRM2015-Error.png

Any help on how to fix this is appreciate it.

*This post is locked for comments

I have the same question (0)
  • Royal King Profile Picture
    27,686 on at
    RE: Error 0x8007000d when using Dynamics CRM 2015 on Windows Server 2012 R2 and IIS 8.5 from an upgrade.

    It looks like crm web config file contains some invalid content. I would suggest copying the config and open it in the xml editor and validate the content.

  • Community Member Profile Picture
    on at
    RE: Error 0x8007000d when using Dynamics CRM 2015 on Windows Server 2012 R2 and IIS 8.5 from an upgrade.

    Thank you Chitra.  I'm not familiar with web.config but I do not see any malformed xml.  This is the default file that CRM uses when installed.  

    Is there a way to upload the file in the forum?

  • Royal King Profile Picture
    27,686 on at
    RE: Error 0x8007000d when using Dynamics CRM 2015 on Windows Server 2012 R2 and IIS 8.5 from an upgrade.

    You could copy paste the config content

  • Suggested answer
    Abed Haniyah Profile Picture
    4,287 on at
    RE: Error 0x8007000d when using Dynamics CRM 2015 on Windows Server 2012 R2 and IIS 8.5 from an upgrade.

    Dear Ronald,

    Please refer to : blogs.msdn.com/.../troubleshooting-http-500-19-errors-in-iis-7.aspx

    Regards,

    Abed

  • Community Member Profile Picture
    on at
    RE: Error 0x8007000d when using Dynamics CRM 2015 on Windows Server 2012 R2 and IIS 8.5 from an upgrade.

    Thank you Chitra, this is my web.config

    <?xml version="1.0" encoding="utf-8"?>

    <configuration>

     <configSections>

       <!-- COMMENT:START CRM Titan 28973

    If you add any new section here , please ensure that section name is removed from help/web.config

    End COMMENT:END-->

       <section name="crm.authentication" type="Microsoft.Crm.Authentication.AuthenticationSettingsConfigurationSectionHandler, Microsoft.Crm.Authentication, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />

     </configSections>

     <system.web>

       <httpRuntime executionTimeout="300" maxRequestLength="32768" requestValidationMode="3.0" encoderType="Microsoft.Crm.CrmHttpEncoder, Microsoft.Crm" />

       <httpModules>

         <add name="MapOrg" type="Microsoft.Crm.MapOrgEngine, Microsoft.Crm.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />

         <add name="CrmFederatedAuthenticationModule" type="Microsoft.Crm.Authentication.Claims.CrmFederatedAuthenticationModule, Microsoft.Crm.Authentication, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />

         <add name="CrmSessionAuthenticationManager" type="Microsoft.Crm.Authentication.Claims.CrmSessionAuthenticationManager, Microsoft.Crm.Authentication, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />

         <add name="CrmAuthentication" type="Microsoft.Crm.Authentication.AuthenticationEngine, Microsoft.Crm.Authentication, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />

       </httpModules>

       <httpHandlers>

         <add path="Reserved.ReportViewerWebControl.axd" verb="*" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" validate="false" />

       </httpHandlers>

       <compilation defaultLanguage="C#" debug="false">

         <assemblies>

           <!-- COMMENT:L:START Uncomment this if you need to run with Passport support; RPS needs to be installed

    <add assembly="Microsoft.Crm.Platform.Passport, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

    End COMMENT:L:END-->

           <add assembly="Microsoft.Crm, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />

           <add assembly="Microsoft.Crm.Sdk, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />

           <add assembly="Microsoft.Crm.Platform.Sdk, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />

           <add assembly="Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" />

           <add assembly="Microsoft.IdentityModel, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />

         </assemblies>

       </compilation>

       <authentication mode="Windows" />

       <identity impersonate="true" />

       <pages buffer="true" enableSessionState="false" enableViewState="false" validateRequest="false" />

       <sessionState mode="Off" />

     </system.web>

     <location>

       <system.webServer>

         <handlers>

           <remove name="ExtensionlessUrl-ISAPI-4.0_64bit" />

         </handlers>

       </system.webServer>

     </location>

     <!--

    Specific settings for the MSCRMServices directory

    -->

     <location path="MSCRMServices">

       <system.web>

         <httpRuntime maxRequestLength="8192" />

         <webServices>

           <!-- configuring the reflector + format extension for custom WSDL generation -->

           <soapExtensionReflectorTypes>

             <add type="Microsoft.Crm.Sdk.CrmServiceSoapExtensionReflector, Microsoft.Crm.WebServices" />

           </soapExtensionReflectorTypes>

           <conformanceWarnings>

             <remove name="BasicProfile1_1" />

           </conformanceWarnings>

         </webServices>

       </system.web>

     </location>

     <!--

    Support for Live Portal

    -->

     <location path="Portal">

       <system.web>

         <compilation defaultLanguage="C#" debug="false">

           <assemblies>

             <clear />

             <add assembly="*" />

           </assemblies>

         </compilation>

         <pages enableSessionState="true" validateRequest="false" enableViewState="true" />

       </system.web>

     </location>

     <!--

    Support for Live Platform

    -->

     <location path="Platform">

       <system.web>

         <compilation defaultLanguage="C#" debug="false">

           <assemblies>

             <clear />

             <add assembly="System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />

             <add assembly="System.Web.Services, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />

             <add assembly="System.ComponentModel.DataAnnotations, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />

             <add assembly="System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />

             <add assembly="System.Data.Entity.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />

             <add assembly="System.Data.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />

             <add assembly="System.Xml.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />

             <add assembly="*" />

           </assemblies>

         </compilation>

         <pages enableSessionState="true" validateRequest="false" enableViewState="true" />

       </system.web>

     </location>

     <location path="CrmLiveAdminWebService">

       <system.web>

         <compilation defaultLanguage="C#" debug="false">

           <assemblies>

             <clear />

             <add assembly="System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />

             <add assembly="System.Web.Services, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />

             <add assembly="System.ComponentModel.DataAnnotations, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />

             <add assembly="System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />

             <add assembly="System.Data.Entity.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />

             <add assembly="System.Data.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />

             <add assembly="System.Xml.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />

             <add assembly="*" />

           </assemblies>

         </compilation>

       </system.web>

     </location>

     <location path="Support">

       <system.web>

         <compilation defaultLanguage="C#" debug="false">

           <assemblies>

             <!-- Only remove explicit assemblies added above -->

             <remove assembly="Microsoft.Crm, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />

             <remove assembly="Microsoft.Crm.Sdk, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />

             <remove assembly="Microsoft.Crm.Platform.Sdk, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />

             <remove assembly="Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" />

             <remove assembly="Microsoft.IdentityModel, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />

             <remove assembly="Microsoft.Crm.Platform.Passport, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />

           </assemblies>

         </compilation>

         <httpModules>

           <!-- Only remove explicit modules added above -->

           <remove name="CrmFederatedAuthenticationModule" />

           <remove name="CrmSessionAuthenticationManager" />

           <remove name="CrmAuthentication" />

         </httpModules>

       </system.web>

     </location>

     <location path="viewer.aspx">

       <system.web>

         <pages buffer="true" enableSessionState="false" enableViewState="true" validateRequest="false" />

       </system.web>

     </location>

     <appSettings>

       <!--

    Help Catalog Name

    ========================================================================================

    This is the name of the Index Server Catalog to use when executing queries from Help.

    Default Setting: "Microsoft CRM Help"

    -->

       <add key="HelpCatalogName" value="Microsoft CRM Help" />

       <!--

    Show Developer Errors

    ========================================================================================

    If a server-side error occurs, this setting determines whether or not Debug error

    messages are rendered to the user.  Debug error message are not recommended for

    production environments, but may be useful in attempting to debug a problem you are

    having with MSCRM.

    Recommended Setting: "Off"

    Values: "On" or "Off"

    -->

       <add key="DevErrors" value="Off" />

       <!--

    Client Type

    ========================================================================================

    This variable is used by the code to determine if the web pages are in Outlook

    client mode or in web mode.  Note that the Outlook Desktop client will use the Web

    mode since it's actually hitting the application server.

    Values: "Outlook" or "Web"

    -->

       <add key="ClientType" value="Web" />

       <add key="ReportViewerServerConnection" value="Microsoft.Crm.Web.Reporting.CrmReportServerConnection, Microsoft.Crm.Application.Pages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />

       <add key="ReportViewerMessages" value="Microsoft.Crm.Web.Reporting.CrmReportViewerMessages, Microsoft.Crm.Application.Pages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />

     </appSettings>

     <crm.authentication>

       <authentication />

     </crm.authentication>

     <system.webServer>

       <security>

         <requestFiltering>

           <requestLimits maxAllowedContentLength="33554432" />

           <denyUrlSequences>

             <add sequence="MSCRMServices/2007/CrmDeploymentService.asmx" />

           </denyUrlSequences>

           <fileExtensions allowUnlisted="true">

           </fileExtensions>

           <hiddenSegments>

           </hiddenSegments>

           <verbs allowUnlisted="true" applyToWebDAV="true">

             <add verb="OPTIONS" allowed="false" />

             <add verb="TRACE" allowed="false" />

           </verbs>

         </requestFiltering>

       </security>

       <rewrite>

         <rules>

           <rule name="ClientGlobalContextRule" stopProcessing="true">

             <match url="/?([0-9a-zA-Z][^/]*)?/?((?:%7b|\{)[^/]*(?:%7d|\}))?/?(WebResources|Handlers)/ClientGlobalContext.js.aspx" />

             <action type="Rewrite" url="/{R:1}/_Common/ClientGlobalContext.js.aspx" />

           </rule>

           <rule name="WebResourcesRule" stopProcessing="true">

             <match url="/?([0-9a-zA-Z][^/]*)?/?((?:%7b|\{)[^/]*(?:%7d|\}))?/?webresources/([^\\?]+)" />

             <action type="Rewrite" url="/{R:1}/Handlers/WebResource.ashx?name={R:3}" />

           </rule>

           <rule name="FederationMetadataRule" stopProcessing="true">

             <match url="FederationMetadata/2007-06/FederationMetadata.xml" />

             <action type="Rewrite" url="/Handlers/FederationMetadata.ashx" />

           </rule>

         </rules>

       </rewrite>

     </system.webServer>

     <runtime>

       <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">

         <dependentAssembly>

           <assemblyIdentity name="Microsoft.Crm.Sdk" publicKeyToken="31bf3856ad364e35" culture="neutral" />

           <bindingRedirect oldVersion="4.0.0.0-7.0.0.0" newVersion="7.0.0.0" />

         </dependentAssembly>

         <dependentAssembly>

           <assemblyIdentity name="Microsoft.Xrm.Sdk" publicKeyToken="31bf3856ad364e35" culture="neutral" />

           <bindingRedirect oldVersion="4.0.0.0-7.0.0.0" newVersion="7.0.0.0" />

         </dependentAssembly>

         <dependentAssembly>

           <assemblyIdentity name="Microsoft.Xrm.Sdk.Workflow" publicKeyToken="31bf3856ad364e35" culture="neutral" />

           <bindingRedirect oldVersion="4.0.0.0-7.0.0.0" newVersion="7.0.0.0" />

         </dependentAssembly>

         <dependentAssembly>

           <assemblyIdentity name="Microsoft.Crm.Sdk.Proxy" publicKeyToken="31bf3856ad364e35" culture="neutral" />

           <bindingRedirect oldVersion="4.0.0.0-7.0.0.0" newVersion="7.0.0.0" />

         </dependentAssembly>

         <dependentAssembly>

           <assemblyIdentity name="Microsoft.Xrm.Sdk.Deployment" publicKeyToken="31bf3856ad364e35" culture="neutral" />

           <bindingRedirect oldVersion="4.0.0.0-7.0.0.0" newVersion="7.0.0.0" />

         </dependentAssembly>

         <dependentAssembly>

           <assemblyIdentity name="Microsoft.Crm.Workflow" publicKeyToken="31bf3856ad364e35" culture="neutral" />

           <bindingRedirect oldVersion="4.0.0.0-7.0.0.0" newVersion="7.0.0.0" />

         </dependentAssembly>

         <dependentAssembly>

           <assemblyIdentity name="Microsoft.Crm" publicKeyToken="31bf3856ad364e35" culture="neutral" />

           <bindingRedirect oldVersion="4.0.0.0-7.0.0.0" newVersion="7.0.0.0" />

         </dependentAssembly>

       </assemblyBinding>

     </runtime>

     <system.serviceModel>

       <serviceHostingEnvironment aspNetCompatibilityEnabled="true" minFreeMemoryPercentageToActivateService="0" />

     </system.serviceModel>

     <system.diagnostics>

       <sources>

         <source name="System.ServiceModel" switchValue="Error" propagateActivity="true">

           <listeners>

             <add name="ServiceModelRedirect" />

           </listeners>

         </source>

         <source name="System.ServiceModel.Activation" switchValue="Error" propagateActivity="true">

           <listeners>

             <add name="ServiceModelRedirect" />

           </listeners>

         </source>

         <source name="System.IdentityModel" switchValue="Error">

           <listeners>

             <add name="ServiceModelRedirect" />

           </listeners>

         </source>

         <source name="Microsoft.IdentityModel" switchValue="Error">

           <listeners>

             <add name="ServiceModelRedirect" />

           </listeners>

         </source>

       </sources>

       <sharedListeners>

         <add type="Microsoft.Crm.ServiceModelTraceRedirector, Microsoft.Crm.Core" name="ServiceModelRedirect" />

       </sharedListeners>

     </system.diagnostics>

     <system.web.extensions>

       <scripting>

         <webServices>

           <jsonSerialization maxJsonLength="1073741824" />

           <!-- 1GB limit -->

         </webServices>

       </scripting>

     </system.web.extensions>

    </configuration>

  • Community Member Profile Picture
    on at
    RE: Error 0x8007000d when using Dynamics CRM 2015 on Windows Server 2012 R2 and IIS 8.5 from an upgrade.

    Thank you Abed,

    According to the blog it could be a permissions issue or a bad XML.  I have posted the XLM for review.  Regarding pemissions, I added the everyone group to that folder without success.  Then I tried adding the IIS users, network local account and I made sure that everything in the CRM folder was the same as the wwwroot folder, but it didn't work either.

    Let me know what other information may help.

    Best regards

  • Royal King Profile Picture
    27,686 on at
    RE: Error 0x8007000d when using Dynamics CRM 2015 on Windows Server 2012 R2 and IIS 8.5 from an upgrade.

    I dont see any issue with config file. I just compared your config with my dev config and everything seems to be correct.

  • Community Member Profile Picture
    on at
    RE: Error 0x8007000d when using Dynamics CRM 2015 on Windows Server 2012 R2 and IIS 8.5 from an upgrade.

    Thank you Chitra.

    I did some more research.  I have renamed web.config and after that I'm able to modify the websites settings in IIS.  I even can open a specific file in the web directory (I created my own index.html).  

    So it looks like there is something that IIS does not like about web.config.  Could this be a compatibility issue?  I upgraded my server from Win 2008 R2 to Win 2012 R2, so IIS versiones were diffrent and perhaps something from the old version was carried on to the new version.

    I hope this extra information can lead us the right way.

    Best regards

    Ronald

  • Royal King Profile Picture
    27,686 on at
    RE: Error 0x8007000d when using Dynamics CRM 2015 on Windows Server 2012 R2 and IIS 8.5 from an upgrade.

    Can you check the CRM AppPool settings and make sure it matches with as shown in picture

    2015_2D00_04_2D00_28_5F00_0915.png

  • Verified answer
    Community Member Profile Picture
    on at
    RE: Error 0x8007000d when using Dynamics CRM 2015 on Windows Server 2012 R2 and IIS 8.5 from an upgrade.

    Hello Everybody,

    I have found the problem by creating a new web.config and copying section by section until I got the problem.

    It had to do with the rewrite section of the file.  It turns out that IIS didn't have installed URL_Rewrite (eventhough Dynamics CRM 2015 should have installed it).  I installed URL_Rewrite from www.iis.net/.../url-rewrite and CRM 2015 is now working.

    Thank you all for your help.

    Best regards

    Ronald

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Community Member Profile Picture

Community Member 2

#1
HR-09070029-0 Profile Picture

HR-09070029-0 2

#1
UllrSki Profile Picture

UllrSki 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans