Help, I am receiving the same build error.
Error 1 Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. \\10.250.239.184\C$\Inetpub\eCard\cs\howto_capture_save_button_click_event.aspx 37
I loaded the 2.0 SDK on my development server (2003), I used the Microsoft .NET Framework 2.0 Configuration tool to adjust the security settings and I am still getting the build error. I am able to view the sample code cs/default.aspx but only from the server not through VS 2005 on my desk top. When I try to add the control to my toolbox I also get the error?