Microsoft KB Archive/833896

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

Article ID: 833896

Article Last Modified on 4/29/2007

-

APPLIES TO


 * Microsoft Visual Studio .NET 2003 Professional Edition
 * Microsoft Visual Studio .NET 2003 Enterprise Architect
 * Microsoft Visual Studio .NET 2003 Enterprise Developer
 * Microsoft Visual Studio .NET 2003 Academic Edition
 * Microsoft Visual Studio .NET 2002 Professional Edition
 * Microsoft Visual Studio .NET 2002 Enterprise Architect
 * Microsoft Visual Studio .NET 2002 Enterprise Developer
 * Microsoft Visual Studio .NET 2002 Academic Edition
 * Microsoft ASP.NET 1.1
 * Microsoft ASP.NET 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:
 * Start Visual Studio .NET.
 * On the Tools menu, click Options.
 * In the Options dialog box, click the Projects folder, and then click Web Settings.
 * 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 &quot;Applies to&quot; section of this article.



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

Notice that you are prompted for the user name and the password that are described in the &quot;Symptoms&quot; section of this article.</li></ol>

<div class="references_section">