在VS2008运行没问题的,IIS能浏览,但调用里头的方法就出现
“/”应用程序中的服务器错误。
--------------------------------------------------------------------------------因 URL 意外地以“/showtime”结束,请求格式无法识别。
说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。 异常详细信息: System.InvalidOperationException: 因 URL 意外地以“/showtime”结束,请求格式无法识别。源错误: 执行当前 Web 请求期间生成了未处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。 堆栈跟踪:
[InvalidOperationException: 因 URL 意外地以“/showtime”结束,请求格式无法识别。]
System.Web.Services.Protocols.WebServiceHandlerFactory.CoreGetHandler(Type type, HttpContext context, HttpRequest request, HttpResponse response) +405881
System.Web.Services.Protocols.WebServiceHandlerFactory.GetHandler(HttpContext context, String verb, String url, String filePath) +212
System.Web.Script.Services.ScriptHandlerFactory.GetHandler(HttpContext context, String requestType, String url, String pathTranslated) +47
System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig) +193
System.Web.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +93
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155
--------------------------------------------------------------------------------
版本信息: Microsoft .NET Framework 版本:2.0.50727.3053; ASP.NET 版本:2.0.50727.3053
“/”应用程序中的服务器错误。
--------------------------------------------------------------------------------因 URL 意外地以“/showtime”结束,请求格式无法识别。
说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。 异常详细信息: System.InvalidOperationException: 因 URL 意外地以“/showtime”结束,请求格式无法识别。源错误: 执行当前 Web 请求期间生成了未处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。 堆栈跟踪:
[InvalidOperationException: 因 URL 意外地以“/showtime”结束,请求格式无法识别。]
System.Web.Services.Protocols.WebServiceHandlerFactory.CoreGetHandler(Type type, HttpContext context, HttpRequest request, HttpResponse response) +405881
System.Web.Services.Protocols.WebServiceHandlerFactory.GetHandler(HttpContext context, String verb, String url, String filePath) +212
System.Web.Script.Services.ScriptHandlerFactory.GetHandler(HttpContext context, String requestType, String url, String pathTranslated) +47
System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig) +193
System.Web.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +93
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155
--------------------------------------------------------------------------------
版本信息: Microsoft .NET Framework 版本:2.0.50727.3053; ASP.NET 版本:2.0.50727.3053
解决方案 »
- VS2012 TextBox的TextMode的问题
- 关于局域网聊天程序的问题
- DataTable序列化,反序列化问题
- GridView导出到Excel的最快方法?
- 请教各位兄弟姐妹!如何在SQLDMO中设置登录服务器的认证模式为WINDOWS NT集成安全!
- 判断datagridview中某个单元格是否得到了焦点
- 关于C#panel容器的问题
- obj有Type了为什么还要有TypeCode呢?
- Active Directory里对象的属性名都是什么?
- 请教一个网络聊天室编程的问题(VC#)
- win2008 vs2008 语音识别开发意想不到的问题
- BeginUpdateResource、UpdateResource和EndUpdateResource 3个API谁懂?
<webServices>
<protocols>
<add name= "HttpPost " />
<add name= "HttpGet " />
</protocols>
</webServices>