473,666 Members | 2,412 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Culture name 'en-securid' is not supported

Hello,

I'm getting the following exception.

Culture name 'en-securid' is not supported

The code is below. What is 'en-securid' and why won't my browser (IE
6) pass in 'en-us?'

thx in advance!

CultureInfo ci; // Found in System.Globaliz ation

if((Request.Use rLanguages != null) &&
(Request.UserLa nguages.Length > 0))
{
ci = new CultureInfo(Req uest.UserLangua ges[0]);
System.Threadin g.Thread.Curren tThread.Current UICulture =
ci;
}
else
{
ci =
System.Threadin g.Thread.Curren tThread.Current UICulture;
}

StringBuilder messageBuilder = new StringBuilder() ;
messageBuilder. Append("Current culture info: ");
messageBuilder. Append("<br>");
messageBuilder. AppendFormat("-) Name: {0}", ci.Name);
messageBuilder. Append("<br>");
messageBuilder. AppendFormat("-) ISO Name: {0}",
ci.ThreeLetterI SOLanguageName) ;
messageBuilder. Append("<br>");
messageBuilder. Append("-) Currency Symbol: " +
ci.NumberFormat .CurrencySymbol );
messageBuilder. Append("<br>");
messageBuilder. Append("-) Long Date Patter:" +
ci.DateTimeForm at.LongDatePatt ern);

Response.Write( messageBuilder. ToString());

Feb 8 '06 #1
1 2910
On 8 Feb 2006 09:20:37 -0800, jo****@gmail.co m wrote:

Culture name 'en-securid' is not supported

The code is below. What is 'en-securid' and why won't my browser (IE
6) pass in 'en-us?'


Do you use SoftID for remote access? I believe it puts that funky
language value in the browser - see Tools -> Internet Options ->
Languages.

--
Scott
http://www.OdeToCode.com/blogs/scott/
Feb 9 '06 #2

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

Similar topics

0
6138
by: Ajoy Kumar | last post by:
Hi, Firstly, I have created an Assembly with RlinkPMBAPIRes.dll Secondly, I have created an Assembly with TestRes.exe which is the calling application. 1. RlinkPMBAPIRes RlinkPMBAPIRes --MyResources.en-US.resx ---->obj
4
3118
by: trint | last post by:
what is the best way to make a .net (english) website viewable in other languages, cultures? Thanks, Trint
2
5055
by: Aliasgar Pocketwala | last post by:
Hi, I have an asp.net application that is using the wrong culture. I cant figure out where does it get its setting from. My web application runs as a specific user since so that I can give it some more rights. I can login to the web server using this user identity. Now I go to the regional settings and change the date format to a specific (dd-MMM-yyyy) format. Now my asp.net process is running properly with this new identity however...
3
2095
by: Ian O'Rourke | last post by:
Okay, I have a problem with the en-GB culture object My computer is set to the UK and for UK date formats, etc If I set my culture to en-GB in the web.config everything works fine with UK dates If I set my culture programmatically Sub Application_BeginRequest(ByVal sender As Object, ByVal e As EventArgs ' Fires at the beginning of each reques
3
3645
by: Shapper | last post by:
Hello, I am working on a multi-language web site. After a lot of searching and reading I was able to define a way to do this. However, I need some help to put this on. I am working on ASP.Net/VB. I have a few problems which I hope somebody can help me with: 1. How to set the en-US as the default culture of my entire web site?
9
3915
by: Edge | last post by:
hi, I am saving the user selected culture in a session variable so I can apply it back to all pages when refreshed and then load the proper .resx values. For that I am using global.asax
3
3377
by: shapper | last post by:
Hello, I am working on a multilanguage Asp.Net 2.0 web site. I need to do the following: 1. Set a default culture in Web.Config File. 2. Create a function which changes culture when pressed. Remember the choosen culture next time the visitor comes to the web site. 3. Retrieve the current culture.
12
2132
by: lucky | last post by:
hi guys, right now i'm going through System.Globalization Namespace. and i found very intersting class there called CultureInfo. i was trying to get cultureInfo on the basis of name but i didnt find the way to do it. for example, if i pass the language name "Danish","German",Russian", i'm suppose to get the cultureInfo object of the language. can anyone help me out here?
2
20186
by: marcussilfver | last post by:
I want to change the culture on a DateTimePicker The code below works somewhat. I get the date in english format when dateTimePicker1 is not expanded. When I click dateTimePicker1 in my application GUI though (and thereby expands dateTimePicker1, showing the dates of the month) at the bottommost I see todays date written in swedish format. Of course I want this to be in english format as well, but how do I do it? thanks.
6
12400
by: Yofnik | last post by:
Hello, A C# desktop application is failing for an international customer because dates are being parsed incorrectly. I need to set the culture to "en-US" so the dates parse correctly. Is there any way to set the culture information in a property setting so the application will work for them without requiring a code change? This is possible in ASP.NET by using the <globalizationsetting in the Web.config file. Is there something similar...
0
8440
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
1
8549
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
8636
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...
0
7378
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6189
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
5661
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4192
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4358
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2765
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

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.