Server.CreateObject Access Error

Error: -2147024891
Description: 006~ASP 0178~Server.CreateObject Access Error~The call to Server.CreateObject failed while checking permissions. Access is denied to this object.
Source: Server object

Found this on MSDN online:
http://support.microsoft.com/support/kb/articles/Q278/0/13.ASP

I'm not sure how to go about changing the permissions on my machine (and not sure if that will work).  Win 2000 pro, IIS 5, ASP code referencing a VB6 (SP5) dll that is running, not compiled.

Please help.
ovationAsked:
Who is Participating?
 
NetminderCommented:
Per recommendation, points refunded and question closed.

Netminder
CS Moderator
0
 
rkot2000Commented:
this mts object or activex exe ?
0
 
ovationAuthor Commented:
ActiveX, I'm assuming.  I did not write it.
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

 
rkot2000Commented:
i need more info.
you may need to change mts security or dcomconfig or add rights to IUSR_machine_name and IWAM_machine_name

is this production or development?
0
 
ovationAuthor Commented:
Right, my question is how do I add rights?

This code works on another machine, I'm just trying to get it setup to run on mine so I can debug.

Going into production this weekend.
0
 
rkot2000Commented:
user rights?
start - programs - admin tools - user manger
p.s you must have admin to rights.
0
 
ovationAuthor Commented:
I have admin rights, but start-programs-admin tools does not have user manager.  I can go to computer manager and see local users and groups.  Adding IUSR_machine_name to the admin group (which I would think would have sufficient permissions) doesn't work.

How do I change permissions on the VB runtime dll.  
0
 
rkot2000Commented:
is this win2000.
try to add IWAM_, IUSR_ TO ADMIN AND REBOOT PC
0
 
vinnyd79Commented:
go to the Msvbvm60.dll in your system directory and right click on it.Select properties,then security and set the permissions there.
0
 
vinnyd79Commented:
It should be in your C:\Windows\System32 directory.
0
 
rkot2000Commented:
you better use regstry to locate Msvbvm60.dll since you may have it couple different locations.
 
p.s. the explorer you need to set show all files.
I didn't have any problems with Msvbvm60.dll file. only mst dll.


giving IUSR_ admin should have the same result.


0
 
rkot2000Commented:
but since dll is loaded to the memory you need to reboop your pc
0
 
ovationAuthor Commented:
I have tried to bring up properties, but there is not a security tab.
0
 
vinnyd79Commented:
This article describes your problem,it says you need to change permissions on aspgrid.dll to allow everyone full control.
http://www.aspgrid.com/faq.html
0
 
vinnyd79Commented:
No security tab? Is the partition NTFS or Fat?
0
 
ovationAuthor Commented:
FAT.  

No aspgrid.dll on my machine or on the machine where the code works.

No security tab on the machine that works.

Changing permissions of IWAM, and IUSR to admin doesn't fix the problem.

Any other ideas?
0
 
rkot2000Commented:
what object you are trying to create?
if this a dll under mts maybe you need to open mts security. or check dcom options.
0
 
ovationAuthor Commented:
ASP call to what I believe is retrieving the login info through the dll that was written for this project.

0
 
rkot2000Commented:
in your asp you have server.createobject("object.name").
you need to use this info to locate your dll. you can search regstry for this info. after that check permissions on dll or open concole and check mts packages
0
 
hangmanCommented:
The FAT filesystem doesn't have file permissions, so you should change your filesystem to NTFS. No one would put up a website on a server running FAT as there is no security, so you need to test it in the same environment as the production server.
0
 
DanRollinsCommented:
Hi ovation,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will ask a Community Support Moderator to:

    Refund points and save as a 0-pt PAQ.

ovation, Please DO NOT accept this comment as an answer.
EXPERTS: Post a comment if you are certain that an expert deserves credit.  Explain why.
==========
DanRollins -- EE database cleanup volunteer
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.