Solved

Server.CreateObject Access Error

Posted on 2001-09-12
21
801 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
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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 utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

758 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

21 Experts available now in Live!

Get 1:1 Help Now