Where did I suddenly introduce 'InitializeCulture' that now causes a deployed site to fail using vs2005

Last post 05-21-2008 8:47 AM by YanivC. 8 replies.

Sort Posts:

  • Where did I suddenly introduce 'InitializeCulture' that now causes a deployed site to fail using vs2005

    02-14-2006, 4:03 PM
    • Loading...
    • geoffHome
    • Joined on 10-17-2003, 6:51 PM
    • Posts 286

    The message is:

    Compiler Error Message: BC30456: 'InitializeCulture' is not a member of 'ASP.default_aspx'.

    The application was working fine but now I've promised to tweak a few things for the client nothing works and I'm sure I've done nothing to refer to InitializeCulture.

    My conversion to asp.NET 2.0 has been full of such anxiety!

    Urgent help required.  Thanks.

  • Re: Where did I suddenly introduce 'InitializeCulture' that now causes a deployed site to fail using vs2005

    02-15-2006, 4:51 AM
    • Loading...
    • geoffHome
    • Joined on 10-17-2003, 6:51 PM
    • Posts 286

    This is really urgent.

    I don't need to understand the reason.  All I want to know is how to make my site work as it was a couple of days ago before I deployed a newer version.

    I have recently upgraded my .NET Framework Version 2.0 to the version on an MSDN February DVD.  Could this be the reason perhaps?

    Thanks in anticipation. 

  • Re: Where did I suddenly introduce 'InitializeCulture' that now causes a deployed site to fail using vs2005

    02-15-2006, 9:10 PM
    • Loading...
    • geoffHome
    • Joined on 10-17-2003, 6:51 PM
    • Posts 286

    Fixed it by rebuilding the whole site from the ground up and no apparent problems in deploying.

    So fixed but puzzled all the same!

  • Re: Where did I suddenly introduce 'InitializeCulture' that now causes a deployed site to fail using vs2005

    03-09-2006, 6:55 PM
    geoffHome wrote:

    Fixed it by rebuilding the whole site from the ground up and no apparent problems in deploying.

    So fixed but puzzled all the same!

     

    I found a solution.  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 this is to copy the files directly from your development environment as the aspx pages define there CodeBehind pages in their header tags.  Either method will work.  Option 1 is faster.

    I hope this helps. 

    Anthony

    TradeBug.com - Ottawa's Largest Online Classifieds, Auctions, Rock Bottom Deals, and Flea Markets.

    http://www.tradebug.com

  • Re: Where did I suddenly introduce 'InitializeCulture' that now causes a deployed site to fail using vs2005

    03-09-2006, 7:45 PM
    • Loading...
    • geoffHome
    • Joined on 10-17-2003, 6:51 PM
    • Posts 286
    Thanks so much Anthony.  I love these solutions that take a minute and not a day!
  • Re: Where did I suddenly introduce 'InitializeCulture' that now causes a deployed site to fail using vs2005

    05-31-2006, 9:41 AM
    • Loading...
    • geoffHome
    • Joined on 10-17-2003, 6:51 PM
    • Posts 286

    I think I've found the reason for the problem.

    2 Files that have Inherit = "blahblah" in the 'header' so there is some confusion about which is the real "blahblah".

    Example:

    I had a file called artist.aspx that had Inherits="artist" and I also had a master file called artist.master that also had Inherits = "artist".

     

     

  • Re: Where did I suddenly introduce 'InitializeCulture' that now causes a deployed site to fail using vs2005

    05-14-2008, 12:31 PM
    • Loading...
    • YanivC
    • Joined on 05-08-2008, 10:41 AM
    • Posts 2

    Big Smile

    Thanks man.... I was afraid I would have had to dig for hours to find this answer..... sorry you had to pull hair to save us ;)

  • Re: Where did I suddenly introduce 'InitializeCulture' that now causes a deployed site to fail using vs2005

    05-14-2008, 1:49 PM
    • Loading...
    • geoffHome
    • Joined on 10-17-2003, 6:51 PM
    • Posts 286

     Just glad I could finally give some help back.  It's been a one way flow with me usually!

  • Re: Where did I suddenly introduce 'InitializeCulture' that now causes a deployed site to fail using vs2005

    05-21-2008, 8:47 AM
    • Loading...
    • YanivC
    • Joined on 05-08-2008, 10:41 AM
    • Posts 2

    lol, i know the feeling all too well.

    Hopefully one day we can repay the favor ;)

Page 1 of 1 (9 items)