Results 1 to 5 of 5

Thread: Using VB Objects with ASP, HELP!!!!

  1. #1

    Thread Starter
    Member
    Join Date
    Mar 2000
    Posts
    44

    Angry

    Hello,
    I tryed to connect a VB object that i created , here is the asp code:

    <%
    Set Darren = Server.CreateObject("DarrenStore.Store")
    Response.Write typename(Darren.propConn)
    set Darren=Nothing

    %>

    I got error msg for this libe:
    Set Darren = Server.CreateObject("DarrenStore.Store")


    the error msg:
    Error Type:
    Server object, ASP 0178 (0x80070005)
    The call to Server.CreateObject failed while checking permissions. Access is denied to this object.

    What? , Any idea why is it or what to do?
    any info will hwlp. its really important for me.

    Thanks!!
    Namo.



  2. #2

  3. #3

    Thread Starter
    Member
    Join Date
    Mar 2000
    Posts
    44

    Grrr

    I want there (thannks for the link) i did all the things but it still not working (it wasnt the problem) , i had this problrm when i tryed to debug my object BEFORE i compile it to DLL (i did it from ActiveX dll project) , i dont know how to overcome this problem , so i tryed to COMPILE it to dll , so it worked BUT i haf other problem:

    Error Type:
    Microsoft OLE DB Provider for ODBC Drivers (0x80040E4D)
    [Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user 'RAZ1\IUSR_RAZ1'.


    Any idea? i dont know what to do. and i really wanna start doing some Biz with ASP & VB .

    any idea?


    Thanks man.

  4. #4
    Guru Clunietp's Avatar
    Join Date
    Oct 1999
    Location
    USA
    Posts
    1,844
    It appears as though you are using integrated security to try and connect to SQL server. (the IUSR_MachineName is the account that the web server uses)

    Use a standard SQL server name/password instead

  5. #5
    New Member
    Join Date
    May 2000
    Posts
    1

    I have problem to

    Hi!
    Trying to run a com object on a win2000 pro.
    I got it working on a win98 but on my win2000 i just get the permission error when i just press run in vb. If i build a dll an register it it works fine. I have tested the microsoft link ans set the permission as shown but still i get the error, anyone got a clue?

    /bjorn

Posting Permissions

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



Click Here to Expand Forum to Full Width