BC30456:'InitializeCulture'不是aspx页面的成员 [英] BC30456: 'InitializeCulture' is not a member of aspx page
本文介绍了BC30456:'InitializeCulture'不是aspx页面的成员的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
BC30456:''InitializeCulture''不是aspx页面的成员
BC30456: ''InitializeCulture'' is not a member of aspx page
推荐答案
这是什么类型的问题?请以这样的方式解释你的问题,以便任何人都能理解。
这里我只想猜测: -
Page.InitializeCulture()仅在ASP.NET 2.0及更高版本中受支持。
看起来您的托管服务提供商仍使用.NET 1.1运行时为其网站服务,或者您没有为IIS中的Web应用程序配置正确的运行时版本。
显然,这可以通过禁用允许此预编译网站在其网站的发布选项中可更新
功能。
祝你好运。
What type of question is this ? Please explain you question in such a way so that any one can understand.
Here I am just trying to guess :-
Page.InitializeCulture() is only supported in ASP.NET 2.0 and higher.
It looks like your hosting provider still uses the .NET 1.1 runtime to serve its websites, or that you didn''t configure the proper runtime version for your web application in IIS.
Apparently, This can be solved by disabling theAllow this precompiled site to be updatable
feature in the publishing options of their website.
Good luck.
你错过了覆盖关键字吗?
Have you missed override keyword?
protected override void InitializeCulture()
{
//your culture setting
base.InitializeCulture();
}
这篇关于BC30456:'InitializeCulture'不是aspx页面的成员的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文