Hi Jan,
It is true that a Windows App may work trying to Modify data on a file based database such as FoxPro, Access, Excel, etc and fails when using the same code from within an
ASP or ASP.NET application. The reason is that in Windows App there is no permissions required to file resources, however in ASP or ASP.NET everything has go through
IIS and the account used must have the proper permissions.
It looks like the ASPNET account used on the Windows 2003 computer doesn't have Write/Modify permissions on the folder where the FoxPro table resides. To verify that it
is a permissions issue, use the Windows Explorer and check the Properties of the folder then click on the Security tab. There you should see all the accounts permitted and
their level of access. Just add the EveryOne group and try your application. If it works, then it is a lack of write permissions on that folder. You may then remove that group
and just add the ASPNET and give it "full control". If your IIS is configured to use another account then add that account as I indicated above.
I hope this helps!
Thanks,
Hussein Abuthuraya
Microsoft Developer Support
This posting is provided "AS IS" with no warranties, and confers no rights.
Are you secure? For information about the Microsoft Strategic Technology Protection Program and to order your FREE Security Tool Kit, please visit
http://www.microsoft.com/security.