Ask a Question related to ASP, Design and Development.
-
George Hester #1
LCID Problem.
This has just started. I don't recal installing any updates or security fixes lately. But I am getting a script debugger notification just appearing on the desktop from dllhost. What this is is the executable responsible for the scripting in my web site namely here:
<!--#include virtual="/includes/setlcid.inc" -->
<%
SetLCID
%>
This is in the default.asp page. I can stop the scripting error by just commenting out the SerLCID. But I'd prefer not to do that. I'd prefer to come up with a fix. Here's the error as reported to me by the debugger:
SessionID: 006~ASP 0219~Invalid LCID~The specified LCID is not available.
I have included the inc file as an attachment.
I don't understand. This inc file has been operating just fine for the last 6 months. But now it seems to have died. Anyone have any idea what may be causing this? Thanks.
--
George Hester
__________________________________
George Hester Guest
-
How to set LCID permanently in MX?
Working usually in vb/asp I'd like to force the script language header to include the LCID as per this as most of my work involves dates. ... -
Session.Lcid question
Hi all, I've recently installed a calendar that I downloaded but I'm having a bit of a problem with the date settings. I thought setting the LCID... -
Session.Lcid
Trying to locate the list of valid lcid's on MS's site and googled. Ive toiled long and hard, but alas I cannot locate the information. (previous... -
Session.LCID problem
Hi all, I recently downloaded a calendar that i am trying out for a client. It works fine when i test it on my machine..however when i test it on... -
Session.LCID does not work
I live in Brazil and i am trying to set my application to work with american date format. The problem is, even when i set the LCID property at... -
George Hester #2
Re: LCID Problem.
strPos = InStr(1, strAcceptLanguage, ",")
If strPos > 0 Then
strAcceptLanguage = Left(strAcceptLanguage, strPos - 1)
End If
response.write strAcceptLanguage
What do you see? en-us
To this:
Response.Write strLCID
Response.End
What do you see? en-us1033
This was happening when someone connected to my default.asp page. My browser was not running. The script debugger was fireing up debugging dllhosts. And the error I gave in my first post is the error the debugger gave me. Sound to me like a language from a browser was set so that I didn't have them covered?
--
George Hester
__________________________________
"Aaron Bertrand - MVP" <aaron@TRASHaspfaq.com> wrote in message news:eh8lq6eVDHA.572@TK2MSFTNGP11.phx.gbl...> Try this:
> strAcceptLanguage = Request.ServerVariables("HTTP_ACCEPT_LANGUAGE")
>
> strPos = InStr(1, strAcceptLanguage, ",")
> If strPos > 0 Then
> strAcceptLanguage = Left(strAcceptLanguage, strPos - 1)
> End If
>
> response.write strAcceptLanguage
>
> What do you see?
>
> Then, change this:
>
> Session.LCID = strLCID
>
> To this:
>
> Response.Write strLCID
> Response.End
>
> What do you see?
>
> Sounds like something changed in your browser, not the server.
>
>
>
>
> "George Hester" <hesterloli@hotmail.com> wrote in message
> news:#xfRIXbVDHA.1480@tk2msftngp13.phx.gbl...
> This has just started. I don't recal installing any updates or security
> fixes lately. But I am getting a script debugger notification just
> appearing on the desktop from dllhost. What this is is the executable
> responsible for the scripting in my web site namely here:
>
> <!--#include virtual="/includes/setlcid.inc" -->
> <%
> SetLCID
> %>
>
> This is in the default.asp page. I can stop the scripting error by just
> commenting out the SerLCID. But I'd prefer not to do that. I'd prefer to
> come up with a fix. Here's the error as reported to me by the debugger:
>
> SessionID: 006~ASP 0219~Invalid LCID~The specified LCID is not available.
>
> I have included the inc file as an attachment.
>
> I don't understand. This inc file has been operating just fine for the last
> 6 months. But now it seems to have died. Anyone have any idea what may be
> causing this? Thanks.
>
>
> --
> George Hester
> __________________________________
>
>George Hester Guest



Reply With Quote

