Microsoft KB Archive/238566

= PRB: Visual InterDev Fails to Deploy Projects to Remote Server with Posting Acceptor 2.0 =

Article ID: 238566

Article Last Modified on 5/29/2003

-

APPLIES TO

 Microsoft Visual InterDev 6.0 Standard Edition, when used with:  Microsoft Windows NT 4.0

 Microsoft Windows 2000 Standard Edition 

-



This article was previously published under Q238566



SYMPTOMS
The Microsoft Visual Interdev 6.0 Deploy function fails with an unknown error and a message that it failed to deploy a file.

This particular solution only applies where the target (or remote) server is using the NTFS file system, has Posting Acceptor 2.0 installed, and does not have FrontPage Server Extensions installed.

When deploying a Web project using Visual InterDev 6.0 to a Web site that has only Posting Acceptor 2.0, the following error messages may occur:

Failed to deploy a file (C:\TEMP\_ScriptLibrary\ADOUTILS.ASP) Unknown server error

-or-

Failed to deploy a file (C:\TEMP\_ScriptLibrary\ADOUTILS.ASP) The Web server returned the following error: Unknown error was encountered.

These errors may appear in the Task List window in Visual InterDev.

NOTE: The actual file referenced in the error messages may be different from the one mentioned earlier in this article.



CAUSE
The user deploying the project may not have appropriate NTFS permissions such as Write permissions on the TEMP directory (by default, C:\Temp) of the target (or remote) Web server. By default, the Everyone group has Full Control permissions to the TEMP directory.



RESOLUTION
Use Windows NT Explorer to give the user at least Write permissions on the TEMP directory of the target (or remote) Web server where the user is trying to deploy the Web project. By default, the TEMP directory has the Everyone group with Change permissions.

Setting directory permissions must be done on the target (or remote) Web server. To set the TEMP directory permissions, go to the target (or remote) Web server and follow these steps:
 * 1) Using Windows NT Explorer, browse to the TEMP directory on the target (or remote) Web server.
 * 2) Right-click the TEMP folder and select Properties.
 * 3) In the Temp Properties dialog box, click the Security tab and click the Permissions button.
 * 4) Click the Add button and then add the user using the domain\username account. Make sure the user has at least Write permissions.
 * 5) Click the Apply button and then OK button for changes to take effect.

<div class="status_section">

STATUS
This behavior is by design in the Windows NT operating system and its file system (NTFS).

<div class="moreinformation_section">

MORE INFORMATION
Posting Acceptor uses the TEMP directory to store files before placing them to the appropriate target as specified in the "Deployment target" in Visual InterDev.

Also, note that your TEMP directory may be different than C:\Temp depending on your system configurations.

<div class="references_section">