Microsoft KB Archive/836735

= BUG: You cannot administer the Web permissions for an ASP.NET Web application in the stand-alone version of Visual C# .NET or Visual C# 2005 =

Article ID: 836735

Article Last Modified on 11/27/2007

-

APPLIES TO


 * Microsoft Visual C# .NET 2003 Standard Edition
 * Microsoft Visual C# .NET 2002 Standard Edition
 * Microsoft Visual C# 2005 Express Edition

-



SYMPTOMS
In the stand-alone version of Microsoft Visual C# .NET or Microsoft Visual C# 2005, you cannot administer the Web permissions for an ASP.NET Web application.

Note This behavior occurs even if you specify FrontPage Extensions as the preferred access method to your Web server.



WORKAROUND
To work around this behavior, use the Internet Information Services administration snap-in to administer the Web permissions for your ASP.NET Web application. To do this, follow these steps:  Click Start, click Run, type inetmgr in the Open box, and then click OK.  If you are using Microsoft Windows 2000 or Microsoft Windows XP, the Internet Information Services window appears. If you are using Microsoft Windows Server 2003, the Internet Information Services (IIS) Manager window appears.  Administer the Web permissions for your ASP.NET Web application:  If you are using Windows 2000 or Windows XP, follow these steps:  In the left pane of the Internet Information Services window, locate and then right-click the virtual directory that contains your ASP.NET Web application.</li> Point to All Tasks, click Permissions Wizard, and then click Next.

You can now use the Permissions Wizard to administer the Web permissions for your ASP.NET Web application.</li></ol> </li> If you are using Windows Server 2003, follow these steps: <ol style="list-style-type: lower-alpha;"> In the left pane of the Internet Information Services (IIS) Manager window, locate and then right-click the virtual directory that contains your ASP.NET Web application.</li> Click Permissions. The   dialog box appears, where  is a placeholder for the path of your ASP.NET Web application.

You can use this dialog box to administer the Web permissions for your ASP.NET Web application.</li></ol> </li></ul> </li></ol>

<div class="status_section">

STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section of this article.

<div class="moreinformation_section">

Steps to reproduce the behavior

 * 1) Install the stand-alone version of Microsoft Visual C# .NET or Visual C# 2005.
 * 2) Start Microsoft Visual Studio .NET or Microsoft Visual Studio 2005.
 * 3) On the Tools menu, click Options.
 * 4) In the left pane of the dialog box, click the Projects folder, and then click Web Settings.
 * 5) Under Preferred access method, make sure that the FrontPage Extensions option is selected, and then click OK.
 * 6) On the File menu, point to New, and then click Project. The New Project dialog box appears.
 * 7) Under Project Types, click Visual C# Projects.

Note In Visual Studio 2005, click Visual C# under Project Types.
 * 1) Under Templates, click ASP.NET Web Application, and then click OK.
 * 2) On the Project menu, point to Web Project, and then try to click Web Permissions.

Notice that you cannot click Web Permissions because this command is unavailable.

<div class="references_section">