我的aspx 文件在本机能够正常地调试运行
一旦发布到 服务器 就出现 上面的错误Server Error in '/' Application.
--------------------------------------------------------------------------------Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. Compiler Error Message: BC30456: 'Culture' is not a member of 'ASP.personalattendanceview_aspx'.Source Error: Line 1: <%@ page language="VB" autoeventwireup="false" inherits="PersonalAttendanceView, App_Web_m7ynyk4b" culture="zh-CN" %>
Line 2:
Line 3: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Source File: H:\SoftWare\web\WanzlLocal\PersonalAttendanceView.aspx Line: 1
请问如何解决这个问题??
一旦发布到 服务器 就出现 上面的错误Server Error in '/' Application.
--------------------------------------------------------------------------------Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. Compiler Error Message: BC30456: 'Culture' is not a member of 'ASP.personalattendanceview_aspx'.Source Error: Line 1: <%@ page language="VB" autoeventwireup="false" inherits="PersonalAttendanceView, App_Web_m7ynyk4b" culture="zh-CN" %>
Line 2:
Line 3: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Source File: H:\SoftWare\web\WanzlLocal\PersonalAttendanceView.aspx Line: 1
请问如何解决这个问题??
数据是整个目录复制过去的。我的服务器是 win 2003 .
看到一些资料说
'Culture' 是一个新的属性。我检查了 服务器的Asp.net 的版本 和 本地一样不知道什么原因!