Application Variable's Problem

Results 1 to 3 of 3

Thread: Application Variable's Problem

  1. #1
    Join Date
    Dec 1969

    Default Application Variable's Problem

    I have a peculiar problem i have no clue how to solve. If any of you guys could help me out on this, would be great.<BR><BR>On my web server, when i try to access any asp page, the application variables defined in the global.asa file are somehow not initialised and show a NULL value.<BR><BR>The error i get is something like this<BR><BR>Error Type:<BR>Microsoft VBScript runtime (0x800A01A8)<BR>Object required: &#039;[undefined]&#039;<BR><BR>I have defined the application variables and initialised them in the global.asa file, but fail to understand why i cant access it in the other ASP files of the website.<BR><BR>Please Help.

  2. #2
    James W Guest

    Default RE: Application Variable's Problem

    Sounds like the .asa isn&#039;t being executed. A simple test would be to add a response.write "Hello world!" to your global.asa. If the message doesn&#039;t show on the default page, your .asa is not being executed.

  3. #3
    Owen Gigg Guest

    Default RE: Application Variable's Problem

    The only things I can think of are:<BR><BR>1) The global.asa file is not supported (This can be the case with some (usually free) web space) ie brinkster)<BR><BR>2) You haven&#039;t defined the Application level variables within either the OnStart procedures for Session / Application.<BR><BR>3) Your global.asa isn&#039;t in the root folder of your web directory structure.<BR><BR>4) The global.asa maybe new and hasn&#039;t yet been identified.<BR><BR>Chances are, you&#039;ve checked this out already and it&#039;s something more fundamental in which case I&#039;m afraid I can&#039;t help.<BR>Let me know - (or e-mail the global.asa file)

Posting Permissions

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