首页 > 分析器错误 应用程序中的服务器错误?

分析器错误 应用程序中的服务器错误?

  1. 描述你的问题
    在vs上没问题,放到服务器上后出现分析器错误的问题

  2. 贴上相关代码

  3. 贴上报错信息
    responseText: "<html>

↵ <head>
↵ <title>分析器错误</title>
↵ <style>
↵ body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;}
↵ p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px}
↵ b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}
↵ H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }
↵ H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }
↵ pre {font-family:"Lucida Console";font-size: .9em}
↵ .marker {font-weight: bold; color: black;text-decoration: none;}
↵ .version {color: gray;}
↵ .error {margin-bottom: 10px;}
↵ .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }
↵ </style>
↵ </head>

↵ <body bgcolor="white">

↵ <span><H1>“/”应用程序中的服务器错误。


</H1>

↵ <h2> 分析器错误 </h2></span>

↵ <font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">

说明: 在分析向此请求提供服务所需资源时出错。请检查下列特定分析错误详细信息并适当地修改源文件。




分析器错误消息: 未能创建类型“diagnose.diagnose”。



源错误:



↵ <table width=100% bgcolor="#ffffcc">

↵ <td>
<pre>

↵<font color=red>行 1: <%@ WebHandler Language="C#" CodeBehind="diagnose.ashx.cs" Class="diagnose.diagnose" %>
↵</font></pre>


↵ </td>

↵ </table>




源文件: /tools/diagnose.ashx    行: 1







版本信息: Microsoft .NET Framework 版本:2.0.50727.5477; ASP.NET 版本:2.0.50727.5491

↵ </font>

↵ </body>
↵</html>
↵<!--
↵[HttpParseException]: 未能创建类型“diagnose.diagnose”。
↵ 在 System.Web.UI.SimpleWebHandlerParser.GetType(String typeName)
↵ 在 System.Web.UI.SimpleWebHandlerParser.GetTypeToCache(Assembly builtAssembly)
↵ 在 System.Web.Compilation.SimpleHandlerBuildProvider.GetGeneratedType(CompilerResults results)
↵ 在 System.Web.Compilation.BuildProvider.CreateBuildResult(CompilerResults results)
↵ 在 System.Web.Compilation.BuildProvider.GetBuildResult(CompilerResults results)
↵ 在 System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath)
↵ 在 System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
↵ 在 System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
↵ 在 System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
↵ 在 System.Web.UI.SimpleHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
↵ 在 System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig)
↵ 在 System.Web.HttpApplication.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
↵ 在 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
↵--><!--
↵此错误页可能包含敏感信息,因为 ASP.NET 通过 <customErrors mode="Off"/> 被配置为显示详细错误消息。请考虑在生产环境中使用 <customErrors mode="On"/> 或 <customErrors mode="RemoteOnly"/>。-->"setRequestHeader: function (a,b){if(!s){var c=a.toLowerCase();a=m[c]=m[c]||a,l[a]=b}return this}
  1. 贴上相关截图

  1. 已经尝试过哪些方法仍然没解决(附上相关链接)

【热门文章】
【热门文章】