Previous Next

Thread: Error creating object in global.asa On_ApplicationStart

Last post 06-13-2007 7:46 PM by tomkmvp. 3 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (4 items)

Sort Posts:

  • 06-13-2007, 3:39 PM

    Error creating object in global.asa On_ApplicationStart

    Hello.

    I have one problem wich might be caused by another problem not DIRECTLY related to IIS.

    I have a DLL (foxpro) that i already registered in my server using regsrv32. BUT when i go to Component Services i can't find IIS In-Process .... where i used to add the registered in windows2000 (I am currently working on 2003). That's my first problem. Now, assuming that in this new version of windows 2003 is not necessary that IIS In-Process registration, i register only my dll using regsrv32...

    When i run my application (Classic ASP) i get the following error 

    error '80004005'

    /LM/W3SVC/1/Root/falcon/global.asa, line 4

     This is the global.asa file

    <SCRIPT LANGUAGE="VBScript" RUNAT="Server">

    Sub Application_OnStart
      Set Rater = CreateObject("falcon.cmpratcnv") 
      Set Application("Rater") = Rater
    End Sub

    Sub Session_OnStart()
     Session("Timeout") = 60
    End Sub

    Sub Application_OnEnd
      set rater=nothing
    End Sub
    </SCRIPT>

     Thank you.

  • 06-13-2007, 4:16 PM In reply to

    • tomkmvp
    • Top 10 Contributor
    • Joined on 03-20-2003, 6:27 AM
    • Lawrenceville, NJ
    • Posts 3,809
    • IIS MVPs

    Re: Error creating object in global.asa On_ApplicationStart

    '80004005' usually indicates a permissions problem to the dll. Check out http://www.aspfaq.com/ ...

     

  • 06-13-2007, 5:22 PM In reply to

    Re: Error creating object in global.asa On_ApplicationStart

    Ok, this is the real scenario. I failed mention some details.

    I have my asp app in Server A. My foxpro database (not visual foxpro..., yes, the old one foxpro) is in SERVER B.

    I have a DLL that contains all the methods that i need in my app and access the database. I register the DLL in Server A.

    Now, if i copy the database to local (Server A) then it works. If I try to read from my DLL the database in SERVER B i get this error.

    I am sure is a matter of permission but i can't figure out how to make it work.

    Any suggestions?

  • 06-13-2007, 7:46 PM In reply to

    • tomkmvp
    • Top 10 Contributor
    • Joined on 03-20-2003, 6:27 AM
    • Lawrenceville, NJ
    • Posts 3,809
    • IIS MVPs

    Re: Error creating object in global.asa On_ApplicationStart

    The FAQ site I referred you to has info regarding using a file based database on another server ... it's a permissions issue.

Page 1 of 1 (4 items)
Page view counter