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
set ASPC = server.CreateObject("ASPCo
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>"
) = 6
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: