我正在尝试在服务器上设置一些.NET托管服务器,以吸引某人,但是我对.NET不太熟悉,并且当该网站上载时,正在发生的错误不会在其当前托管服务器上发生。该站点已编译,因此其大部分只是DLL文件和aspx文件,错误消息如下。有什么想法需要做什么才能使它起作用?
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: 'InitializeCulture' is not a member of 'ASP.index_aspx'.
Source Error:
Line 1: <%@ page language="VB" masterpagefile="~/mst_mathsBuddy.master" autoeventwireup="false" inherits="index, App_Web_nl--pcdh" %>
Line 2:
Line 3: <%@ Register Src="Controls/Competition.ascx" TagName="Competition" TagPrefix="uc3" %>
Run Code Online (Sandbox Code Playgroud)
编辑:
该应用程序在IIS6和ASP.NET 2.0.5727版本上运行,该版本与currnet托管相同。
Page.InitializeCulture()仅在ASP.NET 2.0和更高版本中受支持。
托管服务提供商似乎仍在使用.NET 1.1运行时来为其网站提供服务,或者您未在IIS中为Web应用程序配置正确的运行时版本。
编辑:显然有人在那里遇到了相同的问题,并通过禁用Allow this precompiled site to be updatable其网站的发布选项中的功能来解决了该问题。
| 归档时间: |
|
| 查看次数: |
20168 次 |
| 最近记录: |