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 (836735)



The information in this article applies to:

  • Microsoft Visual C# .NET (2003)
  • Microsoft Visual C# .NET (2002)
  • 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:
  1. 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.
  2. Administer the Web permissions for your ASP.NET Web application:
    • If you are using Windows 2000 or Windows XP, follow these steps:
      1. 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.
      2. 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.
    • If you are using Windows Server 2003, follow these steps:
      1. 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.
      2. Click Permissions. The ApplicationPath dialog box appears, where ApplicationPath 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.

STATUS

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

MORE INFORMATION

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.
  8. Under Templates, click ASP.NET Web Application, and then click OK.
  9. 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.

REFERENCES

For more information, visit the following Microsoft Web sites:

Modification Type:MajorLast Reviewed:1/19/2006
Keywords:kbweb kbbug KB836735 kbAudDeveloper