BC30456:'InitializeCulture'不是'ASP.default_aspx'的成员。 [英] BC30456: 'InitializeCulture' is not a member of 'ASP.default_aspx'.

查看:94
本文介绍了BC30456:'InitializeCulture'不是'ASP.default_aspx'的成员。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的所有页面在开发时工作得很好,但是一发布

(部署),我总是得到:

编译器错误消息:BC30456 :''InitializeCulture''不是

''ASP.default_aspx''

解决方案

的成员在框架2.0上的阶段取消选中允许此预编译站点可更新。一旦我取消选中它,它就会正确发布并在IIS上正常运行。经过检查,我总会收到''InitializeCulture''不是...的成员...



另一种替代方法是直接从开发环境中复制文件因为aspx页面定义了标题标签中的CodeBehind页面。这两种方法都可行。选项1更快。



http://forums.asp.net/t/955888.aspx/1?BC30456+InitializeCulture+is+not+a+member+of+ [ ^ ]

All my pages work just fine on development, but as soon as I publish
(deploy), I always get:
Compiler Error Message: BC30456: ''InitializeCulture'' is not a member of
''ASP.default_aspx''

解决方案

During the publishing stage on framework 2.0 uncheck the "allow this precompiled site to be updatable". Once I unchecked this it published correctly and functioned correctly on IIS. With it checked I would always receive ''InitializeCulture'' is not a member of ...

Another alternative to these is to copy the files directly from your development environment as the aspx pages define there CodeBehind pages in there header tags. Either method will work. Option 1 is faster.

http://forums.asp.net/t/955888.aspx/1?BC30456+InitializeCulture+is+not+a+member+of+[^]


这篇关于BC30456:'InitializeCulture'不是'ASP.default_aspx'的成员。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆