Error message in Access 2002 after you install the URLScan utility: "Failure to Write to an Internet Handle" (311068)



The information in this article applies to:

  • Microsoft Access 2002

This article was previously published under Q311068
Advanced: Requires expert coding, interoperability, and multiuser skills.

This article applies only to a Microsoft Access database (.mdb).

SYMPTOMS

After you install the Microsoft URLScan utility or the IIS Lockdown Tool on the Microsoft Internet Information Services (IIS) server that is hosting the Microsoft Jet Internet Synchronizer, you receive the following error message when you try to synchronize via HTTP or FTP:
Failure to write to an internet handle. Try the operation again.

CAUSE

The URLScan utility has been installed with a configuration that does not permit certain processes that are required for HTTP or FTP synchronization.

NOTE: The URLScan utility is included with the IIS Lockdown Tool.

RESOLUTION

Adjust the URLScan configuration settings on the IIS server to permit the processes that are required for synchronization. To reconfigure the URLScan configuration settings that are specified in the urlscan.ini file on the IIS Server, follow these steps:
  1. Open the urlscan.ini file in a text editor such as Notepad. By default, the urlscan.ini file is installed in the following folder:
    • On Microsoft Windows NT and Microsoft Windows 2000:

      c:\WINNT\system32\inetsrv\urlscan\urlscan.ini

    • On Microsoft Windows XP:

      c:\windows\system32\inetsrv\urlscan\urlscan.ini

  2. Change the following sections of the urlscan.ini file as indicated:
    • If the UseAllowVerbs section is equal to 1, add the following entries to the [AllowVerbs] section if they are not already listed:
      • DELETE
      • PUT

    • If the UseAllowVerbs section is equal to 0, remove the following entries from the [DenyVerbs] section or comment them out by putting a semicolon in front of each entry (for example, ;DELETE):
      • DELETE
      • PUT

    • If the UseAllowExtensions section is equal to 1, add the following entry to the [AllowExtensions] section if it is not already listed:
      • .exe
    • If the UseAllowExtensions section is equal to 0, remove the following entry from the [DenyExtensions] section or comment it out by putting a semicolon in front of the entry (for example, ;.exe):
      • .exe
  3. Save the urlscan.ini file.
  4. Restart IIS.
After you complete these steps, you may still receive other errors when you try to perform HTTP or FTP synchronization. Depending on the template that you chose during the installation of the IIS Lockdown Tool, the IIS virtual directory (typically Scripts ) that contains the Synchronizer program (Mstrai40.exe) may have been disabled. You may have to reconfigure the IIS virtual directory or Replication Manager (or both) to fully re-enable synchronization via HTTP or FTP.

STATUS

When you use the URLScan utility, this is the expected behavior.

REFERENCES

For more information about Jet 4.0 replication, click the following article number to view the article in the Microsoft Knowledge Base:

190766 Jet 4.0 replication white papers available in MSDN Online Library



For more information about how to configure the URLScan Tool, click the following article number to view the article in the Microsoft Knowledge Base:

326444 How to configure the URLScan Tool


Modification Type:MinorLast Reviewed:5/24/2006
Keywords:kbprb KB311068