mishmash8888 0 Newbie Poster

Hi

I hit the wall with ASP.NET2 letarally immediately..

I just installed VS2005 and created the first Web Site project. It wouldn't compile with two almost idential errors showing in the Error List:

Error 1 C:\Documents and Settings\Misha\My Documents\Visual Studio 2005\WebSites\WebSite1\Default.aspx: ASP.NET runtime error: Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. 1 1 C:\...\WebSite1\

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

I suspect this is a fairly easy problem once you know you way around the improved .NET2 security model.

I would really appreciate your help in this one. Many thanks in advance!