本人在添加web服务时,在点击"本地计算机上的web服务"-"servic“时出现以下错误:“/”应用程序中的服务器错误。
--------------------------------------------------------------------------------分析器错误
说明: 在分析向此请求提供服务所需资源时出错。请检查下列特定分析错误详细信息并适当地修改源文件。 分析器错误信息: 未能创建类型“Service”。源错误:
行 1: <%@ WebService Language="C#" CodeBehind="/App_Code/Service.cs" Class="Service" %>
源文件: /MyWebService/Service.asmx 行: 1
--------------------------------------------------------------------------------
版本信息: Microsoft .NET Framework 版本:2.0.50727.832; ASP.NET 版本:2.0.50727.832 位于辞URL上的web服务【S】
下载“http://localhost/MyWebService/Service.asmx”时出错。请求失败,错误信息为:
--
<html>
<head>
<title>分析器错误</title>
<style>
body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;}
p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -
--------------------------------------------------------------------------------分析器错误
说明: 在分析向此请求提供服务所需资源时出错。请检查下列特定分析错误详细信息并适当地修改源文件。 分析器错误信息: 未能创建类型“Service”。源错误:
行 1: <%@ WebService Language="C#" CodeBehind="/App_Code/Service.cs" Class="Service" %>
源文件: /MyWebService/Service.asmx 行: 1
--------------------------------------------------------------------------------
版本信息: Microsoft .NET Framework 版本:2.0.50727.832; ASP.NET 版本:2.0.50727.832 位于辞URL上的web服务【S】
下载“http://localhost/MyWebService/Service.asmx”时出错。请求失败,错误信息为:
--
<html>
<head>
<title>分析器错误</title>
<style>
body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;}
p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货