Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP Single Thread com servers (exe) fail in iis7/ASP.NET
Message
From
12/03/2008 15:32:37
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
VFP Single Thread com servers (exe) fail in iis7/ASP.NET
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Miscellaneous
Thread ID:
01301495
Message ID:
01301495
Views:
87
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
Map
View

Click here to load this message in the networking platform