PRB: Cannot Update The File - No Authentication Methods Enabled

ID: Q192150


The information in this article applies to:
  • Microsoft Visual InterDev, version 6.0


SYMPTOMS

When saving a file, Visual InterDev responds with the following message dialog box:


   Cannot update the file '<path and filename>'. The web server does not
   appear to have any authentication methods enabled. The server has asked
   for user authentication but did not send a WWW-Authenticate header. 
-or-

   Cannot update the file '<path and filesname>'. An HTTP error occurred.
   The server could not complete your request. Contact your Internet
   service provider  or Web server administrator to make sure that the
   server has the FrontPage Server Extensions installed, and that the Web
   application exists on that server. 


CAUSE

If Allow Anonymous Access is the only authentication method checked for the virtual directory containing the project, Internet Information Server will not send a WWW-Authenticate header to the client. The WWW-Authenticate header tells the client what types of authentication the server will accept. When saving a file to the Web server in Visual InterDev, authentication is required.


RESOLUTION

Enable one or more authentication methods on the virtual directory containing the project. Here's how:

  1. Open the Internet Service Manager.


  2. Right-click the virtual directory containing the project.


  3. Click on the Directory Security tab.


  4. Click the Edit... button in Anonymous Access and Authentication Control.


  5. Check the box next to Basic Authentication and/or Windows NT Challenge/Response.


  6. Click OK to close the Authentication Methods box.


  7. Click OK to close the directory's Properties box.



STATUS

This behavior is by design.


MORE INFORMATION

Steps to Reproduce Behavior

  1. Open the Internet Service Manager.


  2. Right-click the virtual directory containing the project.


  3. Click on the Directory Security tab.


  4. Click the Edit button in Anonymous Access and Authentication Control.


  5. Clear all the authentication methods except Allow Anonymous Access.


  6. Click OK to close the Authentication Methods box.


  7. Click OK to close the directory's Properties box.


  8. Attempt to save changes to a file in the project using Visual InterDev.


Additional query words:

Keywords : kbExtension kbFrontPage kbide kbSecurity kbServer kbVisID600 kbGrpASP
Version : WINDOWS:6.0
Platform : WINDOWS
Issue type : kbprb


Last Reviewed: July 10, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.