PDA

Click to See Complete Forum and Search --> : Using VB Objects with ASP, HELP!!!!


Namo
Jul 17th, 2000, 04:29 PM
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.

Clunietp
Jul 17th, 2000, 09:40 PM
http://support.microsoft.com/support/kb/articles/Q198/4/32.ASP

Namo
Jul 18th, 2000, 04:18 PM
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.

Clunietp
Jul 19th, 2000, 02:04 AM
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

looc
Oct 8th, 2000, 11:27 AM
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