Adding a virtual directory IIS 7.5 Windows 7 Ultimate x64

Posted by Dave on Server Fault See other posts from Server Fault or by Dave
Published on 2009-09-30T17:07:44Z Indexed on 2010/03/22 17:01 UTC
Read the original article Hit count: 389

Trying to get my IIS 7.5 playing nice with VS 2008 on Windows 7 Ultimate 64-bit. I'm getting this error:

System.Security.SecurityException: Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.

This happens when accessing a virtual directory outside C:\inetpub\wwwroot. I'd like to be able to create virtual directories outside the root if I can. I've added the NETWORK SERVICE to the folder hosting the virtual directory, still no luck. This folder is on my C: drive, not a share.

TIA

© Server Fault or respective owner

Related posts about windows-7

Related posts about iis7.5