PRB: Visual InterDev Fails to Deploy Projects to Remote Server with Posting Acceptor 2.0 (238566)



The information in this article applies to:

  • Microsoft Visual InterDev 6.0, when used with:
    • the operating system: Microsoft Windows NT
    • the operating system: Microsoft Windows 2000

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.

STATUS

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

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.

REFERENCES

For additional information on the Visual InterDev Deployment feature, click the article numbers below to view the articles in the Microsoft Knowledge Base:

246757 HOWTO: Use Copy Web to Deploy a Web Application

219050 HOWTO: Deploy Web Applications with Visual InterDev 6.0

For additional information on InterDev deployment resources, click the link below to view the article in the online Microsoft Developer Network (MSDN):

Modification Type:MajorLast Reviewed:5/29/2003
Keywords:kbDeployment kberrmsg kbprb KB238566