Ask a Question related to ASP, Design and Development.

  1. #1

    Default 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

  2. Similar Questions and Discussions

    1. 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. ...
    2. 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...
    3. 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...
    4. 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...
    5. 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...
  3. #2

    Default 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

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139