PDA

Click to See Complete Forum and Search --> : Server.CreateObject failed while checking permissions


scotiaceilidh
Dec 4th, 2000, 05:14 PM
Hi!,
This is my first posting... Ok, I am trying to create a Word.Application object on my ASP Page. However, I get this error;

Error Type:
Server object, ASP 0178 (0x80070005)
The call to Server.CreateObject failed while checking permissions. Access is denied to this object.

I have been through MS Support, and gone to the server, and set it to have Microsoft word Launch as the Interactive User. Then I went into DCOMCNFG.exe and added IUSR_<Machine_Name>, and Interactive accounts to the Registry Value Permissions Dialog box for both the Access and Launch Permissions. But Still an Error. I then set the Sever for access and launch permissions for everyone, and still this error does not go away. I have exhusted my knowlege and MSN has no more information. Anyone?

hydr0p0nix
Jan 12th, 2001, 08:15 PM
I've noticed that if you put the World.Application object on a web that is password protected using NT authentication (right click on your website in IIS and set a user and pass for your site, it doesn't matter what)
If you enter your administrator username and password in the user/pass dialog box that your webpage presents you, you shouldn't have a problem creating the object.
This is what I've been doing to debug, but when it comes time for me to put my world.application up on the web --- I can't be giving out my admin user and pass =p
just like you I went into dcomcnfg with not a clue as to what it did just like microsoft's KB article explained:
http://support.microsoft.com/support/kb/articles/Q198/4/32.ASP

This is very cryptic, the summary says that this is 'by design'
So, why would this be by design?? ***??
If this is by design, than how would you make a world.application type object without having to go through that hassle (by design) and with ALL the books written about VB and COM and ASP there HAS to be an answer to this.
If someone had simply taken the time to put a link on that KB article to a source to explain how NOT to encounter this problem, it would have made our lives easier...
Well, I'm done venting
Have you found an answer to this?? and if so, what'd you do??
Thanks for your time
-Brad

hydr0p0nix
Jan 15th, 2001, 11:05 AM
go here
http://support.microsoft.com/support/kb/articles/Q255/5/02.ASP

that will direct you to the page you need to go to..
Apparently, the way DCOM works in win 2k, you need to add a dcom entry for VB6 into the registry so that you can assign users permissions to use objects.. booyooww
Hope this helps