Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/webpack/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Web services 浏览web服务时出错以及如何在IIS 7.5中配置网站_Web Services_Visual Studio 2010_Asp.net 4.0_Iis 7.5 - Fatal编程技术网

Web services 浏览web服务时出错以及如何在IIS 7.5中配置网站

Web services 浏览web服务时出错以及如何在IIS 7.5中配置网站,web-services,visual-studio-2010,asp.net-4.0,iis-7.5,Web Services,Visual Studio 2010,Asp.net 4.0,Iis 7.5,我有个问题。我们最近将网站解决方案从asp.net 3.5迁移到asp.net 4.0。该网站有一个我添加了新方法的web服务 在我的本地计算机(Windows 7,VS 2010,.NET 4.0,IIS 7.5)上,当我使用Visual Studio开发服务器时,浏览我们的web服务没有问题,但是当我在web项目中选中“使用本地IIS web服务器”选项时,我收到一个错误,错误是: 分析器错误 描述:解析服务此请求所需的资源时出错。请查看以下特定的解析错误详细信息,并适当修改源文件 分析器错

我有个问题。我们最近将网站解决方案从asp.net 3.5迁移到asp.net 4.0。该网站有一个我添加了新方法的web服务

在我的本地计算机(Windows 7,VS 2010,.NET 4.0,IIS 7.5)上,当我使用Visual Studio开发服务器时,浏览我们的web服务没有问题,但是当我在web项目中选中“使用本地IIS web服务器”选项时,我收到一个错误,错误是:

分析器错误 描述:解析服务此请求所需的资源时出错。请查看以下特定的解析错误详细信息,并适当修改源文件

分析器错误消息:无法创建类型“braArkivWS.Services”

源错误:

第1行:

源文件:/braArkivWeb/Service/Services.asmx行:1


版本信息:Microsoft.NET Framework版本:4.0.30319;ASP.NET版本:4.0.30319.1

事件查看器有一条更具“描述性”的错误消息:

活动编号:3006 事件消息:发生分析器错误。 活动时间:17.08.2010 08:12:11 事件时间(UTC):17.08.2010 06:12:11 事件ID:b350253d265743c0925f92024a8c1dcf 事件顺序:3 事件发生率:1 事件详细信息代码:0

申请资料: 应用程序域:/LM/W3SVC/1/ROOT/braArkivWeb/Service-1-129264991310980968 信任级别:完全信任 应用程序虚拟路径:/braArkivWeb/Service 应用程序路径:D:\dev\braArkiv\dev\braArkivWeb\braArkivWeb\Service\ 机器名称:GEO-TD-543807

过程信息: 进程ID:8032 进程名称:w3wp.exe 帐户名称:NT授权\网络服务

例外信息: 异常类型:HttpParseException 异常消息:无法创建类型“braArkivWS.Services”。 位于System.Web.UI.SimpleWebHandlerParser.GetType(字符串类型名) 位于System.Web.UI.SimpleWebHandlerParser.GetTypeToCache(程序集内置程序集) 位于System.Web.Compilation.SimpleHandlerBuildProvider.GetGeneratedType(编译器结果) 位于System.Web.Compilation.BuildProvider.CreateBuildResult(CompilerResults结果) 位于System.Web.Compilation.BuildProvider.GetBuildResult(CompilerResults结果) 位于System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath VirtualPath) 位于System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath、Boolean noBuild、Boolean allowCrossApp、Boolean allowBuildInPrecompile、Boolean throwIfNotFound、Boolean EnsureUpdate) 在System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext上下文、VirtualPath VirtualPath、Boolean noBuild、Boolean allowCrossApp、Boolean allowBuildInPrecompile、Boolean throwIfNotFound、Boolean EnsureUpdate) 位于System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext上下文、VirtualPath、Boolean noBuild、Boolean allowCrossApp、Boolean allowBuildInPrecompile、Boolean EnsureIsUpdate) 位于System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext上下文,VirtualPath VirtualPath) 在System.Web.UI.WebServiceParser.GetCompiledType(字符串输入文件,HttpContext上下文) 位于System.Web.Services.Protocols.WebServiceHandlerFactory.GetCompiledType(字符串url,HttpContext上下文) 位于System.Web.Services.Protocols.WebServiceHandlerFactory.GetHandler(HttpContext上下文、字符串动词、字符串url、字符串文件路径) 位于System.Web.Script.Services.ScriptHandlerFactory.GetHandler(HttpContext上下文、字符串请求类型、字符串url、字符串路径) 在System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()中 在System.Web.HttpApplication.ExecuteStep(IExecutionStep步骤,布尔值&同步完成)

请求信息: 请求URL: 请求路径:/braArkivWeb/Service/Services.asmx 用户主机地址:::1 用户:
已验证:False 身份验证类型:
线程帐户名称:NT授权\网络服务

线程信息: 线程ID:5 线程帐户名称:NT授权\网络服务 是模仿:假 堆栈跟踪:位于System.Web.UI.SimpleWebHandlerParser.GetType(字符串typeName) 位于System.Web.UI.SimpleWebHandlerParser.GetTypeToCache(程序集内置程序集) 位于System.Web.Compilation.SimpleHandlerBuildProvider.GetGeneratedType(编译器结果) 位于System.Web.Compilation.BuildProvider.CreateBuildResult(CompilerResults结果) 位于System.Web.Compilation.BuildProvider.GetBuildResult(CompilerResults结果) 位于System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath VirtualPath) 位于System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath、Boolean noBuild、Boolean allowCrossApp、Boolean allowBuildInPrecompile、Boolean throwIfNotFound、Boolean EnsureUpdate) 在System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext上下文、VirtualPath VirtualPath、Boolean noBuild、Boolean allowCrossApp、Boolean allowBuildInPrecompile、Boolean throwIfNotFound、Boolean EnsureUpdate) 位于System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext上下文、VirtualPath、Boolean noBuild、Boolean allowCrossApp、Boolean allowBuildInPrecompile、Boolean EnsureIsUpdate) 位于System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext上下文,VirtualPath VirtualPath) 在System.Web.UI.WebServiceParser.GetCompiledType(字符串输入文件,HttpContext上下文) 位于System.Web.Services.Protocols.WebServiceHandlerFactory.GetCompiledType(字符串url,HttpContext上下文) 位于System.Web.Services.Protocols.WebServiceHandlerFactory.GetHandler(HttpContext上下文、字符串动词、字符串url、字符串文件路径) 位于System.Web.Script.Services.ScriptHandlerFactory.GetHandler(HttpContext上下文、字符串请求类型、字符串url、字符串pa