General information
Category:
COM/DCOM and OLE Automation
Title:
VFP Single Thread com servers (exe) fail in iis7/ASP.NET
Hi,
Some of my asp.net web forms host VFP9 com servers, both multithreaded dll's and single threaded exe's. They have done so since IIS5.0 I recently upgrqaded to Vista Business. All of my web forms that host single threaded exe vfp com servers are throwing the same error. The web forms hosting the multithreaded DLL's are *not* throwing errors. My VFP COM SERVER DLL's and EXE's all reside in the same directory. Network Service user has full control of the directory.
The error thrown is: UnauthorizedAccessException.
The error page advises that ASP.NET is not authorized to gain access to the requested resource, which is my EXE com server. The error page further adives me to grant the Network Service user permission to the resource, which I have already done.
I placed my com servers (both dll's and exe's) in a the directory c:\webcom. I gave Network Service full control of c:\webcom. ASP.NET has no problem accessing my vfp multithreaded DLL's. The single threaded EXE's however cause the error to be thrown when my web forms attempt to access.
Is this an IIS7/ ASP.NET additional permission issue that I am missing. Can someone advise me as to how to set up my c:\webcom and/or the vfp single threaded EXE com servers to funciton properly in IIS7/ASP.NET.
Thank you
Neil
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only