"InitializeCulture" is not a member

I am trying to configure .NET hosting on the server as a service for someone, but I am not very familiar with .NET, and when the site is loaded, an error occurs that does not occur with their current hosting. The site is compiled in such a way that basically it is only DLL files and aspx files, the error message below. Any ideas what needs to be done to make this work?

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" %>

EDIT:

The application runs on IIS6 and ASP.NET version 2.0.5727, which is identical to currnet hosting.

+3
source share
9 answers

Page.InitializeCulture () is supported only in ASP.NET 2.0 and later.

, - - .NET 1.1 - - IIS.

: -, - , Allow this precompiled site to be updatable -.

+3

, , dll , - HTML- , . - , , , .., .

+3

, . "" . .

+2

, , , .ASPX, .

. , / ASPX ASPX.vb . (, , aspx Inherits ).

, - , :

System.Web.HttpCompileException BC30456: '' InitializeCulture '' .....

.

+2

: , . ( , / ). -, , .

+1

, .vb , . .aspx.

0

, aspx vb, , , .

0

.

, , , .

, , .

0
source

It is in the interest of others who follow this thread and are not familiar with Visual Studio ...

Feature allow the precompiled site to be up updatableEnabled: Website -> Start Options ... -> MSBuild Options

This did not solve my problem; I am posting it here because it took me a long time to find it.

0
source

Source: https://habr.com/ru/post/1780661/


All Articles