Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

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


View products that this article applies to.

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.

↑ Back to the top


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.

↑ Back to the top


Status

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

↑ Back to the top


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.

↑ Back to the top


References

For more information, visit the following Microsoft Developer Network (MSDN) Web sites:

↑ Back to the top


Keywords: kbvs2005swept, kbvs2005doesnotapply, kbvs2002sp1sweep, kbpending, kbide, kbuser, kbweb, kbbug, KB833896

↑ Back to the top

Article Info
Article ID : 833896
Revision : 12
Created on : 4/29/2007
Published on : 4/29/2007
Exists online : False
Views : 512