Menu

Search

InstantASP Support

Help & Support


"InitializeCulture is not a member of" Exception when deploying via Visual Studio.NET


Known Issues

After deploying InstantForum.NET or InstantKB.NET using the Publish / Deploy options within Visual Studio.NEt you may receive the following exception message on certain pages...

'InitializeCulture' is not a member of 'ASP.confirmationmessage_aspx'.
Resolution

1. If you use Visual studio to publish your site, during the publishing stage on framework 2.0 uncheck the "allow this precompiled site to be updatable".

2. Declare culture in your web.config, example

<globalization uiCulture="en" culture="en-US" />

OR

<globalization uiCulture="auto" culture="auto" />

3. Change debug="true" to "false" in web.config and any pages which have it set (We recommend removing it entirely from pages and just using web.config)

Failing this you may wish to try reinstalling .NET from the command prompt...

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis -i

This will also fix any mapping/installation problems.You can also try a repair using aspnet_regiis -r

These are last resorts and hopefully the first 3 suggestions will help.  

That's It!

Implementing these suggestions should resolve this exception message. If you require further assistance please don't hesitate to open a support ticket or contact us.


Optionally provide private feedback to help us improve this article...

Thank you for your feedback!


Comments require login or registration.

Details

Product: InstantKB, InstantForum
Version: All Versions
Type: ERRMSG
Level: Novice
Article not rated yet.
Article has been viewed 13K times.
Last Modified: 6 Years Ago
Last Modified By: Ryan Healey

Options

Similar Articles


Tags