IIS Hangs When Querying a FoxPro Database w/ ASP or IDC/HTXLast reviewed: October 29, 1997Article ID: Q174790 |
The information in this article applies to:
SYMPTOMSWhen you query a FoxPro database using Active Server Pages (ASP) or the Internet Database Connector (IDC/HTX), the Internet Information Server (IIS) appears to hang, and the web browser appears not to respond to the web site. The web browsers' status bar would read as follows:
Web site found. Waiting for reply...However, the web server gives no response.
CAUSEThis behavior by the IIS server is caused by incorrect permissions being granted to the IUSR_machine-name account. The Visual FoxPro ODBC database driver will try to create *.tmp in the \Winnt\System32 directory. Because the IUSR_machine-name account does not have the Write and Delete permissions to that \Winnt\System32, the process will fail causing the IIS server to no longer respond.
RESOLUTIONThere are two possible solutions to this problem.
Option 1Grant your anonymous user (IUSR_machine-name by default) or the authenticated Windows NT user account the following permissions to the these directories: When you apply these permissions, only apply them to all existing files, unless otherwise noted. Please be aware that where the IUSR account is noted you would need to add all user accounts that will be authenticated on the IIS server.
Option 2FoxPro uses the System's TEMP and TMP environment variables to specify the location of temporary files created during FoxPro operations. By default these environment variables are defined for users and are not system wide settings. To set these environment variables for the System, do the following:
Keywords : iisodbc kberrmsg kbprb Version : 2.00 3.00 Platform : winnt Hardware : ALPHA x86 Issue type : kbprb |
================================================================================
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |