BC30456: 'InitializeCulture' is not a member of ASP... 


This article describes several possible fixes for ASP.NET errors you are receiving in the similar format of "BC30456: 'InitializeCulture' is not a member of ASP..."

Error Message: "BC30456: 'InitializeCulture' is not a member of ASP"

Possible solutions:

If you use Visual studio to publish your site, during the publishing stage on framework 2.0 uncheck the "Allow this precompiled site to be updatable".

Ensure ASP.Net is installed correctly and extensions are allowed. Run the following command in Command Prompt to ensure 2.0 is installed into IIS:

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis -i

 

Make sure page directives at the top of aspx files are correct and ‘inherits’ is pointing to your class correctly.

Declare culture in your web.config, example:

<globalization uiCulture="en" culture="en-NZ" />

OR

<globalization uiCulture="auto" culture="auto" />

 

Change debug="true" to "false" in web.config

Help us Improve