Microsoft KB Archive/311068

= Error message in Access 2002 after you install the URLScan utility: &quot;Failure to Write to an Internet Handle&quot; =

Article ID: 311068

Article Last Modified on 2/2/2007

-

APPLIES TO


 * Microsoft Access 2002 Standard Edition

-



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:  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

  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</li> PUT</li></ul>

</li> 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</li> PUT</li></ul>

</li> If the UseAllowExtensions section is equal to 1, add the following entry to the [AllowExtensions] section if it is not already listed:  .exe</li></ul> </li> 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</li></ul> </li></ul> </li> Save the urlscan.ini file.</li> Restart IIS.</li></ol>

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.

<div class="status_section">

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

<div class="references_section">