Click here to Skip to main content
12,401,984 members (58,064 online)
Rate this:
 
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 18:48pm
Updated 6-Mar-11 19: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)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web01 | 2.8.160721.1 | Last Updated 19 Jan 2013
Copyright © CodeProject, 1999-2016
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