Web Connection
Manual COM Server Configuration
Gravatar is a globally recognized avatar based on your email address. Manual COM Server Configuration
  Rod
  All
  Apr 27, 2015 @ 09:24am
Hi All,
I'm running my WWC VFP app successfully on a VPS using File Server configuration, and now I'm working though converting to a Com Server using the Manual COM Server Configuration documentation.
I'm in Windows 2008 Server R2, IIS7.
I do not have VFP installed on this server.
I think I'm almost there, but seem to have a permissions issue.
Here's what I'm getting when I execute a web request.

Unable to load servers
Server1: myapp.myappServer: CoCreateInstance failed with err code 80070005: Access is denied.

Any advice appreciated!

Thanks,
Rod

Gravatar is a globally recognized avatar based on your email address. Re: Manual COM Server Configuration
  Rick Strahl
  Rod
  Apr 27, 2015 @ 09:39am
How is the DCOM configured on the server?

By default the COM server inherits the permissions of the calling process which is the IIS ApplicationPool. Personally I prefer to do all my permissions management on the application pool and let the COM server inherit. Just make sure you use an Admin account (or SYSTEM) on the App pool and things are likely to start working.

Otherwise we need more info.

+++ Rick ---



Hi All,
I'm running my WWC VFP app successfully on a VPS using File Server configuration, and now I'm working though converting to a Com Server using the Manual COM Server Configuration documentation.
I'm in Windows 2008 Server R2, IIS7.
I do not have VFP installed on this server.
I think I'm almost there, but seem to have a permissions issue.
Here's what I'm getting when I execute a web request.

Unable to load servers
Server1: myapp.myappServer: CoCreateInstance failed with err code 80070005: Access is denied.

Any advice appreciated!

Thanks,
Rod




Rick Strahl
West Wind Technologies

Making waves on the Web
from Maui

Gravatar is a globally recognized avatar based on your email address. Re: Manual COM Server Configuration
  Rod
  Rick Strahl
  Apr 27, 2015 @ 10:19am
That worked!
Thanks, Rick.



How is the DCOM configured on the server?

By default the COM server inherits the permissions of the calling process which is the IIS ApplicationPool. Personally I prefer to do all my permissions management on the application pool and let the COM server inherit. Just make sure you use an Admin account (or SYSTEM) on the App pool and things are likely to start working.

Otherwise we need more info.

+++ Rick ---



Hi All,
I'm running my WWC VFP app successfully on a VPS using File Server configuration, and now I'm working though converting to a Com Server using the Manual COM Server Configuration documentation.
I'm in Windows 2008 Server R2, IIS7.
I do not have VFP installed on this server.
I think I'm almost there, but seem to have a permissions issue.
Here's what I'm getting when I execute a web request.

Unable to load servers
Server1: myapp.myappServer: CoCreateInstance failed with err code 80070005: Access is denied.

Any advice appreciated!

Thanks,
Rod




© 1996-2024