SignalR生成HttpParseException .. ??

时间:2012-05-30 09:17:03

标签: signalr

我正在使用SignalR为我在Win2003和IIS6上运行的站点构建简单的聊天。 部署此功能几分钟后,IIS6会自动禁用所有服务。

系统恐慌......? 我使用的版本是SignalR 0.3。 针对这种情况的详细日志文件:

活动代码:3006 事件消息:发生了解析器错误。 活动时间:2012年5月30日下午3:22:47 活动时间(UTC):5/30/2012 8:22:47 AM 事件ID:fa5b58f6de4f4de2a07d915049cb7e89 事件顺序:5 事件发生:1 活动详细代码:0

申请信息:     应用领域:/ LM / W3SVC / 788149765 / Root-1-129828397662128750     信任等级:完整     应用虚拟路径:/     应用程序路径:E:\ Code \ PLW \ WebGame \     机器名称:SVCTAG-J7KG62S

流程信息:     进程ID:6728     进程名称:w3wp.exe     帐户名称:NT AUTHORITY \ NETWORK SERVICE

异常信息:     异常类型:HttpParseException     异常消息:无法创建类型' RealTimeChat.MyTest'。    在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,Boolean throwIfNotFound,Boolean ensureIsUpToDate)    at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context,VirtualPath virtualPath,Boolean noBuild,Boolean allowCrossApp,Boolean allowBuildInPrecompile,Boolean throwIfNotFound,Boolean ensureIsUpToDate)    在System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext context,VirtualPath virtualPath,Boolean noBuild,Boolean allowCrossApp,Boolean allowBuildInPrecompile,Boolean ensureIsUpToDate)    在System.Web.UI.SimpleHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context,String requestType,VirtualPath virtualPath,String physicalPath)    at 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)

请求信息:     请求网址:http://haaanjsc.vn/MyTest.ashx     请求路径:/ MyTest.ashx     用户主机地址:210.211.97.164     用户:
    经过身份验证:错误     验证类型:
    线程帐户名称:NT AUTHORITY \ NETWORK SERVICE

主题信息:     线程ID:1     线程帐户名称:NT AUTHORITY \ NETWORK SERVICE     冒充:假     堆栈跟踪:在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,Boolean throwIfNotFound,Boolean ensureIsUpToDate)    at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context,VirtualPath virtualPath,Boolean noBuild,Boolean allowCrossApp,Boolean allowBuildInPrecompile,Boolean throwIfNotFound,Boolean ensureIsUpToDate)    在System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext context,VirtualPath virtualPath,Boolean noBuild,Boolean allowCrossApp,Boolean allowBuildInPrecompile,Boolean ensureIsUpToDate)    在System.Web.UI.SimpleHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context,String requestType,VirtualPath virtualPath,String physicalPath)    at 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)

自定义活动详情:

有关详细信息,请参阅http://go.microsoft.com/fwlink/events.asp上的“帮助和支持中心”。

有人可以帮我吗

1 个答案:

答案 0 :(得分:1)

我没有在堆栈跟踪中的任何地方看到SignalR。看起来你还有另一个问题。