BUG: A user who is not an administrator in the VS Developers group cannot create an ASP.NET Web Application in Visual Studio .NET (833896)



The information in this article applies to:

  • Microsoft Visual Studio .NET (2003), Professional Edition
  • Microsoft Visual Studio .NET (2003), Enterprise Architect Edition
  • Microsoft Visual Studio .NET (2003), Enterprise Developer Edition
  • Microsoft Visual Studio .NET (2003), Academic Edition
  • Microsoft Visual Studio .NET (2002), Professional Edition
  • Microsoft Visual Studio .NET (2002), Enterprise Architect Edition
  • Microsoft Visual Studio .NET (2002), Enterprise Developer Edition
  • Microsoft Visual Studio .NET (2002), Academic Edition
  • Microsoft ASP.NET (included with the .NET Framework 1.1)
  • Microsoft ASP.NET (included with the .NET Framework) 1.0

SYMPTOMS

As a user who does not have administrative credentials in the VS Developers group, you may not be able to create a Microsoft ASP.NET Web application by using Microsoft FrontPage Extensions mode in Microsoft Visual Studio .NET. When you try to do so, you are prompted for a user name and a password.

WORKAROUND

To work around this bug, use one of the following methods:
  • Use a user name that has administrative credentials when you create the Web application.
  • Use the file share access method to create a Web application. To set the file share access method for the Web application, follow these steps:
    1. Start Visual Studio .NET.
    2. On the Tools menu, click Options.
    3. In the Options dialog box, click the Projects folder, and then click Web Settings.
    4. Under Preferred access method, click File share, and then click OK.

STATUS

Microsoft has confirmed that this is a bug in the Microsoft products that are listed in the "Applies to" section of this article.

MORE INFORMATION

Steps to reproduce the behavior

  1. Create a new user account. To do this, follow these steps:
    1. In Control Panel, double-click Administrative Tools, and then double-click Computer Management.
    2. Expand System Tools, and then expand Local Users and Groups.
    3. Right-click Users, and then click New User.
    4. In the User name box, type Developer1 as the user name for the new user.
    5. In the Password box, type the password for this account, and then type the password for this account in the Confirm Password box.
    6. Click Create, and then click Close.
  2. Add the Developer1 user account to the VS Developers group. To do this, follow these steps:
    1. In Control Panel, double-click Administrative Tools, and then double-click Computer Management.
    2. Expand System Tools, expand Local Users and Groups, and then expand Groups.
    3. Double-click VS Developers.
    4. In the VS Developers dialog box, click Add to add the Developer1 user to the VS Developers group.
    5. In the Select Users or Groups dialog box, type ServerName\ Developer1 in the Enter the object names to select box, and then click OK two times.
  3. To use the nonadministrator account, use one of the following methods:
    • Log off the current user account, log on to the computer as Developer1, and then start Visual Studio. NET.
    • Use the Runas.exe tool. To do this, type RUNAS /user:Domain\Developer1 devenv at the Microsoft Visual Studio .NET Command Prompt.
  4. Use FrontPage Extensions mode to create a Web application. To do this, follow these steps:
    1. On the Tools menu, click Options.
    2. In the Options dialog box, click the Projects folder, and then click Web Settings.
    3. Under Preferred access method, click FrontPage Extensions, and then click OK.
  5. Try to create an ASP.NET Web application. To do this, follow these steps:
    1. Start Visual Studio .NET.
    2. On the File menu, point to New, and then click Project. The New Project dialog box appears.
    3. Under Project Types, click Visual C# or Visual Basic Projects, and then under Templates, click ASP.NET Web Application.
    4. In the Location box, type the URL of the Web application.
    5. Click OK to create the Web application.
    Notice that you are prompted for the user name and the password that are described in the "Symptoms" section of this article.

Modification Type:MinorLast Reviewed:3/7/2006
Keywords:kbvs2005swept kbvs2005doesnotapply kbvs2002sp1sweep kbpending kbide kbUser kbweb kbbug KB833896 kbAudDeveloper