Link to home
Start Free TrialLog in
Avatar of WhiteFoxDen_net
WhiteFoxDen_net

asked on

ASP page getting permission denighed when access ActiveX DLL

I created an a ActiveX dll using VB6, and am trying to access the dll from ASP, and getting the following error:

Server object, ASP 0178 (0x80070005)
The call to Server.CreateObject failed while checking permissions. Access is denied to this object.
/test/index.asp, line 4

Here is the code for Index.asp
<%
dim strTest, dblTest1, dblTest2
dim ASPC
set ASPC = server.CreateObject("ASPConv.Conv")

strTest = Request.Cookies("strTest")
if strTest<>"" then
      Response.Buffer = false
      dblTest1 = strTest + 1
      Response.Write dblTest1 & "<BR>"
      dblTest2 = ASPC.StrToDbl(strTest)
      Response.Write dblTest2 & "<BR>"
else
      Response.Cookies("strTest") = 6
      Response.Redirect("http://whitefoxden.net/test/index.asp")
end if
%>

I have set the windows permissions for the DLL file to include iusr, iwam, and Everyone all set to Full Control.  I have also made sure the sites exicute permissions is set to Scripts and Exicutables.

I am running on Windows 2000 Server with IIS6

The class configuration for the ActiveX DLL is:
DataBindingBehavior: 0-vbNone
DataSourceBehavior: 0-vbNone
Instancing: 6-GlobalMultiUse
MTSTransactionMode: 0-NotAnMTSObject
Persistable: 0-NotPersistable
ASKER CERTIFIED SOLUTION
Avatar of jitganguly
jitganguly

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial