Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cannot Create DCOM Object in both ASP and VB

Status
Not open for further replies.

irislauyk

Programmer
Nov 26, 2001
5
HK
Dear Expert,

Here is my situation.

there is some VB Components build and register in the Window NT 4.0 Server which has been tested and run fine.
However, we want to call them through another web server which runs Window 2000.

I have create the client install program through MTS Export function and run it in the Window 2000
A test asp is created like this

dim loObj
set loObj = Server.CreateObject("TestCOM.CModule")

if not loObj.SomeMethod() then
Msgbox "Error"
end if

however, when calling the ASP the following error appear.
Error: 006~ASP 0178~Server.CreateObject Access Error~The call to Server.CreateObject failed while checking permissions. Access is denied to this object.

I try to create a test vb program with similar code, similar error appear when going through the CreateObject. Runtime Error '424' "Object required"

The following are my questions:

1. is this a security access right problem ?

2. which user account is the Window 2000 used to ask for permission from Window NT,
in the ASP? the anonymous account is the IIS setup ?
how about in the VB test program? the logged on user ?

3. i try to set the anonymous account of the website to Domain Administrator and I have already use the dcomcnfg.exe in the Window NT to grant access permission and launch permission to the Domain Administrator and EVERYONE, but no difference at all.

4. when I change the Authentication level of the MTS Package to None (Window NT) instead of Package, both the asp and the vb test program can run successfully, therefore the client proxy should be installed correct.

Any advice are welcome. Thanks

Iris
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top