I have my ColdFusion 6.1 and my Web server services logged in with a non-system account. I have my cfusionmx, webroot, webserver, and winnt folders all set up to allow access to this user. I have been working fine for a month now, but I just noticed that I cannot access COM objects. The error I get is:

An exception occurred when instantiating a Com object.  
The cause of this exception was that: AutomationException: 0x80070005 - General access denied error.  

I isolated the problematic line of code to be the following
PALSlogin = CreateObject("COM", "AuthPals.clsAuthPals");

When I log the CFMX service in with the local system account, it works. I used filemon and regmon to look for access denied errors, but the programs did not report any. However, filemon did report a different pattern for each case:

Successful COM access:
...
Query dll.
Close dll
...

Unsuccessful COM access:
...
Query dll
Lots of access to \winnt\system32\stdole2.tlb
Close dll
Failed access to CFMX COM object error handler files
...

So, does anyone have any pointers on where I need to look for the solution? Does the jintegra COM code log in as the same user that the CFMX service logs in as? Did some Windows patch cause this problem? Do I need to enable DCOM access on the computer?

Any help would be appreciated.

Thank you,
Mike Chabot
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to