Hi,
I just set up a new machine. Win 2K pro SP4.I put VStudio on it and all the current SP's etc.. etc.
I register my dll (Written in VB6) and all works fine with the page code below. When I unregister the DLL and unlaod it, restart IIS, I can tell its gone (unloaded) since I get an invalid prog ID when I rerun the ASP page.
I bring up VB6 and run the code for the DLL to debug or test new code the run the very same ASP page and I get the error - Server object, ASP 0178 (0x80070005) (shown in its entirety below). I've cut everything out of the page except for the lines needed to test the page.
I've been doing the same thing for over a year with no problems. I know its a permission issue. The problem is I cant figure out where. I am using a UDL file to SQLServer and have checked its permissions. I know there good since it works when I used the registered DLL.
I've checked the Dll's permissions, MDAC's Dll's. I've used Filemon to look for it.etc.. I've given everybody read write execute in permission and the IUSER accounts. I've gone itno DCOMcnfg and checked the permissions for VbASP Debugging.
Can anyone suggest andother place to check?
Thanks
Dan
I just set up a new machine. Win 2K pro SP4.I put VStudio on it and all the current SP's etc.. etc.
I register my dll (Written in VB6) and all works fine with the page code below. When I unregister the DLL and unlaod it, restart IIS, I can tell its gone (unloaded) since I get an invalid prog ID when I rerun the ASP page.
I bring up VB6 and run the code for the DLL to debug or test new code the run the very same ASP page and I get the error - Server object, ASP 0178 (0x80070005) (shown in its entirety below). I've cut everything out of the page except for the lines needed to test the page.
I've been doing the same thing for over a year with no problems. I know its a permission issue. The problem is I cant figure out where. I am using a UDL file to SQLServer and have checked its permissions. I know there good since it works when I used the registered DLL.
I've checked the Dll's permissions, MDAC's Dll's. I've used Filemon to look for it.etc.. I've given everybody read write execute in permission and the IUSER accounts. I've gone itno DCOMcnfg and checked the permissions for VbASP Debugging.
Can anyone suggest andother place to check?
Thanks
Dan
Code:
<%@ Language=VBScript %>
<% Option Explicit
dim obj
dim ret
set obj = server.CreateObject("Medatrax.CUser") 'this is line 8
ret = obj.Login (Request("location"), Request("name"))
Response.Write ret
Set obj=nothing
%>
Code:
Server object, ASP 0178 (0x80070005)
The call to Server.CreateObject failed while checking permissions. Access is denied to this object.
/Medatrax_Local/[URL unfurl="true"]wwwroot/1test.asp,[/URL] line 8