【发布时间】:2011-06-16 15:16:41
【问题描述】:
在我的一个解决方案中,我似乎没有 ASP.Net Web 服务应用程序项目 - 我过去一直成功地使用它们。即使现在我也可以创建另一个解决方案并添加一个这种类型的项目并运行它。但是,我目前想要添加它的解决方案不会运行它,我收到以下错误:
Server Error in '/' Application.
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Could not create type 'IntegrationService.Service1'.
Source Error:
Line 1: <%@ WebService Language="VB" CodeBehind="Service1.asmx.vb" Class="IntegrationService.Service1" %>
Source File: /Service1.asmx Line: 1
Version Information: Microsoft .NET Framework Version:2.0.50727.4952; ASP.NET Version:2.0.50727.4955
我在这里没有做任何特别的事情,有很多类似的问题,但它们都略有不同,并且似乎没有相关性,因为我没有尝试部署等。
有人知道为什么会出错吗?
【问题讨论】:
标签: .net visual-studio-2008 web-services .net-3.5