Global.asa

Results 1 to 2 of 2

Thread: Global.asa

  1. #1
    Charlie Bullit Guest

    Default Global.asa

    I can&#039t get this global.asa-thing right...<BR><BR> My global.asa looks like this:<BR> &#060;SCRIPT LANGUAGE=VBScript RUNAT=Server&#062;<BR> Sub Application_OnStart<BR> Application("db") = "driver={Microsoft Access Driver (*.mdb)};dbq=c:datadb.mdb"<BR> End Sub<BR> &#060;/SCRIPT&#062;<BR><BR> And my page code looks like this:<BR> Set Connection = Server.CreateObject("ADODB.Connection")<BR> Connection.Open Application("db")<BR><BR> If I connect to the db like this:<BR> Connection.Open "driver={Microsoft Access Driver (*.mdb)};dbq=c:datadb.mdb"<BR> then it works?

  2. #2
    G>Narasimha Rao Guest

    Default RE: Global.asa

    Plcae the global.asa in the root directory.<BR>Example: wwwroot is root directory for default web

Posting Permissions

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