Problems running Beginning ASP.NET 2.0 examples
I recently bought the Beginning ASP.NET 2.0 book but there are problems when I try to run the Chapter 3 examples. I get :
1.File ~/site.master not found
2.could not find mainContent in the current master page or pages
3.Element 'news' is not a known element. This can occur if there is a compilation error in the Web site.
4.C:\BegASPNET2\Chapters\Begin\Chapter03\WroxUnite d\Default.aspx: ASP.NET runtime error: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.
5. It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.
I am not using IIS. I run the MS Visual Studio 2005 Professional.
Any help will be very much appreciated.
Thanks
Yannis
|