Results 1 to 3 of 3

Thread: Can't create objects

  1. #1
    Rasmus Østergård Guest

    Can't create objects

    I've installed the MSSQL7 that comes with office2000, and now i want to access the database with ASP.
    I'm using ASPdb.free and i have installed the programs + moved the dll-files the then system32-dir + restarted.
    When i run this scipt:
    <%
    Set MyDb=Server.CreateObject(&#34;AspDB.Free&#34
    MyDb.dbQuickProps=&#34;1;Pubs;*;grid;4,auto,lightg rey&#34;
    Mydb.dbDSN = &#34;DSN=Test_DSN;UID=sa;PWD=;&#34;
    MyDb.dbDBType = &#34;SQL&#34;
    MyDb.aspdbFree
    %>

    i get the following error:

    Error Type:
    Server object, ASP 0177 (0x800401F3)
    Server.CreateObject Failed
    Invalid ProgID. For additional information specific to this message please visit the Microsoft Online Support site located at: http://www.microsoft.com/contentredirect.asp.
    /aspdb/test9.asp, line 6

    When i try to run pureasp, i get:

    Error Type:
    Microsoft OLE DB Provider for ODBC Drivers (0x80040E4D)
    [Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user &#39;RAOS-HOMENTIUSR_RAOS-HOMENT&#39;.
    /aspdb/pureasp.asp, line 31

    I&#39;ve made a System DSN and tried both NT-verification + SQL-verification (using the &#34;sa&#34; account).

    ---
    Help !


  2. #2
    Mark Guest

    Can't create objects (reply)

    Rasmus,
    It sounds like you forgot to &#34;REGISTER the DLL&#34;.
    Register the dll using REGSVR32 (DOS) or MTS (Microsoft Transaction Server).
    See detailed instructions at:
    http://www.aspdb.com/docs/aspdb.htm#Installation_Details
    That should do it.
    Mark.


    ------------
    Rasmus Østergård at 12/13/99 4:55:48 PM

    I&#39;ve installed the MSSQL7 that comes with office2000, and now i want to access the database with ASP.
    I&#39;m using ASPdb.free and i have installed the programs + moved the dll-files the then system32-dir + restarted.
    When i run this scipt:
    <%
    Set MyDb=Server.CreateObject(&#34;AspDB.Free&#34
    MyDb.dbQuickProps=&#34;1;Pubs;*;grid;4,auto,lightg rey&#34;
    Mydb.dbDSN = &#34;DSN=Test_DSN;UID=sa;PWD=;&#34;
    MyDb.dbDBType = &#34;SQL&#34;
    MyDb.aspdbFree
    %>

    i get the following error:

    Error Type:
    Server object, ASP 0177 (0x800401F3)
    Server.CreateObject Failed
    Invalid ProgID. For additional information specific to this message please visit the Microsoft Online Support site located at: http://www.microsoft.com/contentredirect.asp.
    /aspdb/test9.asp, line 6

    When i try to run pureasp, i get:

    Error Type:
    Microsoft OLE DB Provider for ODBC Drivers (0x80040E4D)
    [Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user &#39;RAOS-HOMENTIUSR_RAOS-HOMENT&#39;.
    /aspdb/pureasp.asp, line 31

    I&#39;ve made a System DSN and tried both NT-verification + SQL-verification (using the &#34;sa&#34; account).

    ---
    Help !


  3. #3
    Rasmus Østergård Guest

    Can't create objects (reply)

    Thanks for the very fast reply Mark !!!!

    And more importenly: thanks for solving my problem.

    Rasmus


    ------------
    Mark at 12/13/99 5:12:18 PM

    Rasmus,
    It sounds like you forgot to &#34;REGISTER the DLL&#34;.
    Register the dll using REGSVR32 (DOS) or MTS (Microsoft Transaction Server).
    See detailed instructions at:
    http://www.aspdb.com/docs/aspdb.htm#Installation_Details
    That should do it.
    Mark.


    ------------
    Rasmus Østergård at 12/13/99 4:55:48 PM

    I&#39;ve installed the MSSQL7 that comes with office2000, and now i want to access the database with ASP.
    I&#39;m using ASPdb.free and i have installed the programs + moved the dll-files the then system32-dir + restarted.
    When i run this scipt:
    <%
    Set MyDb=Server.CreateObject(&#34;AspDB.Free&#34
    MyDb.dbQuickProps=&#34;1;Pubs;*;grid;4,auto,lightg rey&#34;
    Mydb.dbDSN = &#34;DSN=Test_DSN;UID=sa;PWD=;&#34;
    MyDb.dbDBType = &#34;SQL&#34;
    MyDb.aspdbFree
    %>

    i get the following error:

    Error Type:
    Server object, ASP 0177 (0x800401F3)
    Server.CreateObject Failed
    Invalid ProgID. For additional information specific to this message please visit the Microsoft Online Support site located at: http://www.microsoft.com/contentredirect.asp.
    /aspdb/test9.asp, line 6

    When i try to run pureasp, i get:

    Error Type:
    Microsoft OLE DB Provider for ODBC Drivers (0x80040E4D)
    [Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user &#39;RAOS-HOMENTIUSR_RAOS-HOMENT&#39;.
    /aspdb/pureasp.asp, line 31

    I&#39;ve made a System DSN and tried both NT-verification + SQL-verification (using the &#34;sa&#34; account).

    ---
    Help !


Posting Permissions

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