该页面工作正常,但我收到了相同位置的服务信息.我知道文件在那里,网址是正确的,我也添加了脚本模块和托管处理程序.如果有人知道我在这里缺少什么,我会很感激
Server Error in ‘/’ Application.
The resource cannot be found.
Description: HTTP 404. The resource
you are looking for (or one of its
dependencies) could have been removed,
had its name changed, or is
temporarily unavailable. Please
review the following URL and make sure
that it is spelled correctly.Requested URL: /test/Service1.asmx
Version Information: Microsoft .NET
Framework Version:2.0.50727.4200;
ASP.NET Version:2.0.50727.4016
失败的请求日志:
ModuleName ManagedPipelineHandler
通知128
HttpStatus 404
找不到HttpReason
HttpSubStatus 0
ErrorCode 0
ConfigExceptionInfo
通知EXECUTE_REQUEST_HANDLER
ErrorCode操作成功完成. (为0x0)
<system.webServer> <validation validateIntegratedModeConfiguration="false"/> <modules> <remove name="ScriptModule"/> </modules> <handlers> <remove name="WebServiceHandlerFactory-Integrated"/> <remove name="ScriptHandlerFactory"/> <remove name="ScriptHandlerFactoryAppServices"/> <remove name="ScriptResource"/> </handlers> </system.webServer>
将validateIntegratedModeConfiguration更改为true,并从删除列表中删除WebServiceHandlerFactory-Integrated.
奇怪的是,从memmory ASP.NET中添加了那些特别是IIS7的行.那好吧.