asp.net 2.0 的部署问题:
在本机运行正常的系统
部署到了服务器上
但运行时报如下错误 :
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: The file '/Default.aspx.cs' does not exist.
Source Error:
Line 1: <%@ Page Language="C#" enableViewStateMac="false" enableEventValidation="false" viewStateEncryptionMode ="Never" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
这个错误我真是蒙了,以前没有部署过asp.net2.0。
还有,如果我建一个 App_Code 文件,运行时报的错误变了类似:
The directory '/App_Code/' is not allowed...........
有人遇见过么?