Solved

Server.CreateObject Access Error

Posted on 2001-09-12
21
832 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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

Ready to get started with anonymous questions?

It's easy! Check out this step-by-step guide for asking an anonymous question on Experts Exchange.

Question has a verified solution.

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

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…
Suggested Courses
Course of the Month5 days, 19 hours left to enroll

626 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