Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

OLE error code 0x80070005: Access is denied??

Status
Not open for further replies.

hanoirocks

IS-IT--Management
Oct 18, 2005
53
Hi, I tried posting this in the TS forum, but nobody seems to have an answer.

I have a Terminal Server with several applications. There are two applications that have a FoxPro back end. One day one of the apps started getting an error code "OLE error code 0x80070005: Access is denied" when trying to launch it.

This started popping up during mid afternoon. No updates were made to the server and I'm the only one with Admin rights. I've searched the web and found this error only in development forums. I'm assuming it's some rights issue that's gotten screwed up in the registry or DCOM perhaps?

The only way to get rid of this error is to give users Admin rights on the Terminal Server which is not a great option. I have this application on workstations connecting to a server mapped drive. There are no problems launching the app from a workstation. It seems it's just a problem on the Terminal Server.

I'd be grateful if anybody has any insight to this. BTW the other Foxpro app seems to work fine, but I think it's an older version

Platform: Windows 2003 Server with SP2

Thanks in advance
 
Access denied - no matter what the error - usually means someone don't have access to some resource on the machine.
According to Microsoft:
Error: OLE error code 0x80070005: Access is denied.

Possible causes: This is often due to improper client access set on the server.

Remedy: On the server machine, launch the Remote Automation Connection Manager and choose the Client Access tab. Make sure the System Security Policy is set correctly. If this does not work, try using one of the other Policy options such as Allow All Remote Creates.


-Dave Summers-
[cheers]
Even more Fox stuff at:
 
Thanks,
Problem solved and it's a weird one.

I ran process analyzer and found the app was trying to run a Wshom.ocx file that was in my personal profile on the TS under documents and settings\myprofile\windows thus the access rights problem with
domain users.

I don't know how the hell that glitch happened! I had to re-register the file in system32 and then it fixed the problem.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top