Anyway, my code returns an "Object Reference not set to an instance of an
object"
when it executes the following line of code:
Dim BrowserCulture As String = Request.UserLanguages(0)
I asked the user experiencing the problem to check his local regional
settings. He told me everything was set to English-US. (Regional and
language settings-->Languages
Anyway, my code returns an "Object Reference not set to an instance
of an object" when it executes the following line of code:
Dim BrowserCulture As String = Request.UserLanguages(0)
I asked the user experiencing the problem to check his local regional
settings. He told me everything was set to English-US. (Regional and
language settings-->Languages
Maybe the HTTP header gets lost on its way, although that really should
not happen. You can use a debugging proxy like Fiddler
(www.fiddlertool.com) to monitor the HTTP traffic and see what happens
to the Accept-Language header.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.