2011-07-08 96 views
1

我正试图获得运行在运行IIS 7.5的Windows 2008 R2 64位服务器上的应用程序(我没有开发)。
我收到上述错误 - 这里有更多的细节 -http错误500.19 - 内部服务器错误

The requested page cannot be accessed because the related configuration data for the page is invalid 
Error Code 0x8007007e 

我知道,服务器可以访问web.config文件,因为如果我进行更改,错误代码的变化。 我也知道它是一个正确的web.config,因为它在具有相同文件的不同服务器上成功运行。

有没有人有任何想法可能会造成这种情况。我收到的错误信息确实没有告诉我什么。

我已经尝试使用FailedRequestTracing,但是我不知道如何阅读这些日志或没有更多的信息。服务器上的事件日志中也没有错误。

我还有什么地方可以更好地了解发生了什么?

感谢您的任何想法....

编辑 - 这里是web.config中。正如我前面说过的,奇怪的是它在另一台服务器上工作。我检查确保引用的程序集可用(根据页面here,它似乎可能是问题)在gac中。

<?xml version="1.0" encoding="UTF-8"?> 
<configuration> 
    <appSettings> 
     <add key="ChartImageHandler" value="storage=file;timeout=20;dir=c:\temp\;deleteAfterServicing=false;" /> 
    </appSettings> 
    <connectionStrings> 
     <!-- removed for this post --> 

    </connectionStrings> 
    <system.data> 
     <DbProviderFactories> 
      <!--<add name="IBM Informix .NET Data Provider 3.0.0" invariant="IBM.Data.Informix.3.0.0" description="IBM Informix Data Provider 3.0.0 for .NET Framework 2.0" type="IBM.Data.Informix.IfxFactory, IBM.Data.Informix.3.0.0, Version=3.0.0.2, Culture=neutral, PublicKeyToken=7c307b91aa13d208"/>--> 
     </DbProviderFactories> 
    </system.data> 
    <system.web> 
     <httpRuntime maxRequestLength="8192" /> 
     <customErrors mode="Off" /> 
     <sessionState timeout="360" /> 
     <pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID"> 
      <namespaces> 
       <clear /> 
      </namespaces> 
      <controls> 
       <add tagPrefix="asp" namespace="System.Web.UI.DataVisualization.Charting" assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" /> 
      </controls> 
     </pages> 
     <!-- 
      Set compilation debug="true" to insert debugging 
      symbols into the compiled page. Because this 
      affects performance, set this value to true only 
      during development. 
    --> 
     <compilation debug="true" targetFramework="4.0"> 
      <assemblies> 
       <add assembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" /></assemblies></compilation> 
     <httpHandlers> 
      <add path="ChartImg.axd" verb="GET,HEAD" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false" /> 
     </httpHandlers> 
    </system.web> 
    <system.web.extensions> 
     <scripting> 
      <webServices> 
       <jsonSerialization maxJsonLength="5000000" /> 
      </webServices> 
     </scripting> 
    </system.web.extensions> 
    <system.webServer> 
     <validation validateIntegratedModeConfiguration="false" /> 
     <handlers> 
      <remove name="ChartImageHandler" /> 
      <add name="ChartImageHandler" preCondition="integratedMode" verb="GET,HEAD" path="ChartImg.axd" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" /> 
     </handlers> 
     <defaultDocument> 
      <files> 
       <add value="index.aspx" /> 
      </files> 
     </defaultDocument> 
     <tracing> 
      <traceFailedRequests> 
       <add path="*.aspx"> 
        <traceAreas> 
         <add provider="ASP" verbosity="Verbose" /> 
         <add provider="ASPNET" areas="Infrastructure,Module,Page,AppServices" verbosity="Verbose" /> 
         <add provider="ISAPI Extension" verbosity="Verbose" /> 
         <add provider="WWW Server" areas="Authentication,Security,Filter,StaticFile,CGI,Compression,Cache,RequestNotifications,Module,FastCGI" verbosity="Verbose" /> 
        </traceAreas> 
        <failureDefinitions timeTaken="00:00:00" statusCodes="400-600" /> 
       </add> 
      </traceFailedRequests> 
     </tracing> 
    </system.webServer> 
</configuration> 
+0

你有可能发布有问题的web.config吗? –

+0

尝试安装IIS重写模块,因为我在新安装 – stack72

+0

上已经安装了它。 – czuroski

回答

0

我可以通过禁用服务器在具有WSUS应用的压缩,让过去这个错误。

查看详情here

感谢大家的帮助。

0

这是一个有点cheaty,但微软有一个专门页面关于这个问题...和固定它无数的建议。你有没有经历过呢?

http://support.microsoft.com/kb/942055

+0

是的,我经历了它。对于那个特定的错误,它提到一个引用的文件无法加载,但我不知道哪个文件或DLL可能是... – czuroski

相关问题