Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Problem with the DLL

Hello,

I am creating VB DLL files which I am calling from ASP
files. It worked first time when called from ASP
files. But then I have made some modifications in the
DLL file & I have recompiled it & now when I am trying
to access the component from the ASP file it is giving
me the following error:

Server object error 'ASP 0178 : 80070005'

Server.CreateObject Access Error

/App/test.asp, line 9

The call to Server.CreateObject failed while checking
permissions. Access is denied to this object.

I am facing this problem only when I am executing my
ASP scripts on Windows 2000 server, it is working
perfectly on Windows NT 4.0. Also if I call the DLL
from a VB EXE project it is working fine.

Can anybody tell me what could be the problem?

Thanks in advance
Hitesh


Comments

  • Tim ThackerTim Thacker Member Posts: 20
    : Hello,
    :
    : I am creating VB DLL files which I am calling from ASP
    : files. It worked first time when called from ASP
    : files. But then I have made some modifications in the
    : DLL file & I have recompiled it & now when I am trying
    : to access the component from the ASP file it is giving
    : me the following error:
    :
    : Server object error 'ASP 0178 : 80070005'
    :
    : Server.CreateObject Access Error
    :
    : /App/test.asp, line 9
    :
    : The call to Server.CreateObject failed while checking
    : permissions. Access is denied to this object.
    :
    : I am facing this problem only when I am executing my
    : ASP scripts on Windows 2000 server, it is working
    : perfectly on Windows NT 4.0. Also if I call the DLL
    : from a VB EXE project it is working fine.
    :
    : Can anybody tell me what could be the problem?
    :
    : Thanks in advance
    : Hitesh
    :
    :
    :

    The error says "access error" do you have the correct permissions setup? Are you running from Component Services as the Interactive User (the current user) or using a system account? Also check that when you recomplied it that you re-installed it into Component Services. If that's not it, bring the source code into the VB IDE and put a break point somewhere in the class_initialize method. Start the DLL with F5. Then write a VBScript (you should be able to rip your code from the ASP page just change from Server.Createobject to CreateObject) then execute the vbs file. It will execute until your break point in the code. Then walk through and make sure nothing is a miss. Hope this helps.


    Tim Thacker

Sign In or Register to comment.