Windows Server 2012上的IIS 8发出奇怪的错误

时间:2013-12-14 14:42:13

标签: c# iis iis-8

我正在将我的一些代码从azure移动到我的本地服务器,但是在浏览网站时它给了我一些错误的错误。

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 'dtu._02267.LameDuck.LameDuckService'.

Source Error: 


Line 1:  <%@ WebService Language="C#" CodeBehind="LameDuckService.asmx.cs" Class="dtu._02267.LameDuck.LameDuckService" %>

http://dtu.02267.sogaard.us/LameDuck/LameDuckService.asmx

default.aspx文件也会出错 http://dtu.02267.sogaard.us/LameDuck/

它与托管在azure上的代码相同,并且在那里工作正常: http://sogaardlameduck.azurewebsites.net/LameDuckService.asmx http://sogaardlameduck.azurewebsites.net/

奇怪的是我的本地服务器服务器也托管了一个MVC网站,它工作正常: http://redcloud.sogaard.us/

更新: enter image description here enter image description here

0 个答案:

没有答案