在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
解决方案 »
- 为什么快捷键设置不成功!
- 图片分辨率太大,打开后内存溢出怎么办?
- sql 如何设计权限表
- 求反射实例
- 关于javascript转C#
- 求助,在winForm下,如何实现DataGrid的数据绑定?
- Sql Server插入数据特慢问题
- C#怎么能获取到另一个正在运行的C++程序的文本框内的文字数据?
- 请高手帮忙 程序异步执行 阻塞的 邮件验证问题
- winform中的dataGrid里,如和判断某一记录是最后一条记录,谢谢
- win2008 vs2008 语音识别开发意想不到的问题
- BeginUpdateResource、UpdateResource和EndUpdateResource 3个API谁懂?
<webServices>
<protocols>
<add name= "HttpPost " />
<add name= "HttpGet " />
</protocols>
</webServices>