Solved

Server.CreateObject Access Error

Posted on 2001-09-12
21
819 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
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 

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
 
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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

766 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