Click here to Skip to main content
11,433,352 members (60,322 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: ASP.NET
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'
Posted 6-Mar-11 19:48pm
Edited 6-Mar-11 20:38pm
v2

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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+[^]
  Permalink  
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



Advertise | Privacy | Mobile
Web03 | 2.8.150428.2 | Last Updated 19 Jan 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100