473,804 Members | 3,526 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

'InitializeCult ure' is not a member of

RN1
I have an ASPX page with all the subs & functions. I created a code-
behind for this ASPX page & moved the entire code except for the GUI
code in the code-behind. I also added the CodeFile & Inherits
attributes to the Page directive. Now when I run the ASPX page, the
following error gets generated:

------------------------
'InitializeCult ure' is not a member of 'ASP.ets_aspx'.
------------------------

What could be causing this error & how do I overcome it?

Please note that I don't have any culture related tags or attributes
in the web.config file.

Thanks,

Ron
Oct 16 '08 #1
1 2001
RN1
On Oct 16, 12:19*pm, RN1 <r...@rediffmai l.comwrote:
I have an ASPX page with all the subs & functions. I created a code-
behind for this ASPX page & moved the entire code except for the GUI
code in the code-behind. I also added the CodeFile & Inherits
attributes to the Page directive. Now when I run the ASPX page, the
following error gets generated:

------------------------
'InitializeCult ure' is not a member of 'ASP.ets_aspx'.
------------------------

What could be causing this error & how do I overcome it?

Please note that I don't have any culture related tags or attributes
in the web.config file.

Thanks,

Ron
OK.....I resolved it. I declared

<globalizatio n uiCulture="en" culture="en-US" />

under <system.webin the web.config file.
Oct 16 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
8539
by: blackstaronline.net | last post by:
Hi, I'm using .NET V2.0 I have been using un-compiled code behind pages for my .net app using "Src" in the @Page. I randomly get an Initialized Culture error when trying to access the page. Many times I can simply refresh and the app runs fine. I have not messed with the culture setting at all. At first I thought it was the server so I switched web servers but got the same random error. It only happens maybe 10% of the time. After...
0
1412
by: Maury | last post by:
Hello, I ovverride the method InitializeCulture of a page to change programmatically a language in a site, I would like to do this after the user clicks on a button, but the button_click event raises after the InitializeCulture event so I have to click twice to view the new language... how can I fix this? Thanks! M.
1
6547
by: Mohammed Banat | last post by:
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'. This happens for every page. Please help. I have seen multiple questions from people on this same issue, but with no answers.
0
1417
by: Jon Paal | last post by:
After adding some code to codehehind for my vb aspx page, I am now getting this error: "InitializeCulture is not a member of ASP._aspx" if I move the codebehind back to inline script , then the page works. What's with this error message ?
3
7217
by: Mauricio Pires | last post by:
All my pages work just fine on development, but as soon as I publish (deploy) to a W2K Server with .Net Framework 2.0 , I always get Compiler Error Message: BC30456: 'InitializeCulture' is not a member of 'ASP.default_aspx'. This happens for every page and after I created a MasterPage. Please help. I have seen multiple questions from people on this same issue, but with no answers.
7
3977
by: Immortal Nephi | last post by:
My project grows large when I put too many member functions into one class. The header file and source code file will have approximately 50,000 lines when one class contains thousand member functions. Is it normal how C++ Compiler can compile large class without any problem? Didn't C++ Compiler have rules to limit the number of member functions? One big object has complex operations how member variables and member functions can be...
5
7352
by: =?Utf-8?B?SGVyYg==?= | last post by:
My long-running ASP application just stopped working today. I rebuilt and republished, but to no avail. The full error is: Server Error in '/NuclearDedication' Application. -------------------------------------------------------------------------------- Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details
4
14185
JustRun
by: JustRun | last post by:
Hi, I'm trying to develop a MultiLanguage web site using ASP.NET 2.0 with C# My problem is: I want to make my MasterPage support switching among languages, but when i put the "InitializeCulture()" inside the masterpage.cs, I got this erreor: MasterPage.InitializeCulture()': no suitable method found to override Note the following code works fine with xxx.aspx page, but not with MasterPage Here is my code: public override void...
7
6798
Telinstryata
by: Telinstryata | last post by:
Is there a way to read the ViewState by using Request.Form("__VIEWSTATE")? I want to read a value from the ViewState during the InitializeCulture function, but the ViewState object isn't initialized until after the Init portion of the ASP.Net Page Life Cycle. The following code always crashes once the Session times out, because the ViewState is always Nothing until after the Init portion. Public Property CurrentUICulture() As String ...
0
9588
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10589
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10340
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10327
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10085
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7625
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5663
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4302
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2999
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.