Solved

Server.CreateObject Access Error

Posted on 2001-09-12
21
805 Views
Last Modified: 2012-06-27
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.
0
Comment
Question by:ovation
  • 8
  • 6
  • 4
  • +3
21 Comments
 
LVL 5

Expert Comment

by:rkot2000
ID: 6476890
this mts object or activex exe ?
0
 

Author Comment

by:ovation
ID: 6476920
ActiveX, I'm assuming.  I did not write it.
0
 
LVL 5

Expert Comment

by:rkot2000
ID: 6476935
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
 

Author Comment

by:ovation
ID: 6476961
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
 
LVL 5

Expert Comment

by:rkot2000
ID: 6476988
user rights?
start - programs - admin tools - user manger
p.s you must have admin to rights.
0
 

Author Comment

by:ovation
ID: 6477028
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
 
LVL 5

Expert Comment

by:rkot2000
ID: 6477048
is this win2000.
try to add IWAM_, IUSR_ TO ADMIN AND REBOOT PC
0
 
LVL 28

Expert Comment

by:vinnyd79
ID: 6477125
go to the Msvbvm60.dll in your system directory and right click on it.Select properties,then security and set the permissions there.
0
 
LVL 28

Expert Comment

by:vinnyd79
ID: 6477129
It should be in your C:\Windows\System32 directory.
0
 
LVL 5

Expert Comment

by:rkot2000
ID: 6477169
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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 5

Expert Comment

by:rkot2000
ID: 6477172
but since dll is loaded to the memory you need to reboop your pc
0
 

Author Comment

by:ovation
ID: 6477259
I have tried to bring up properties, but there is not a security tab.
0
 
LVL 28

Expert Comment

by:vinnyd79
ID: 6477310
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
 
LVL 28

Expert Comment

by:vinnyd79
ID: 6477329
No security tab? Is the partition NTFS or Fat?
0
 

Author Comment

by:ovation
ID: 6477341
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
 
LVL 5

Expert Comment

by:rkot2000
ID: 6477423
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
 

Author Comment

by:ovation
ID: 6477441
ASP call to what I believe is retrieving the login info through the dll that was written for this project.

0
 
LVL 5

Expert Comment

by:rkot2000
ID: 6477480
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
 
LVL 2

Expert Comment

by:hangman
ID: 6478375
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
 
LVL 49

Expert Comment

by:DanRollins
ID: 7208327
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
 
LVL 5

Accepted Solution

by:
Netminder earned 0 total points
ID: 7241138
Per recommendation, points refunded and question closed.

Netminder
CS Moderator
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

943 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

4 Experts available now in Live!

Get 1:1 Help Now