Hello, I am reading Beginning ASP.NET 3.5 in C# 2008 and I ran into a problem.
I am trying to get the source code to work in visual studio 2010. When I "F5"
any given page I recieve 1 warning and 1 error.
Warning 1 C:\Web\Beginning ASP.NET 3.5\Chapter07\StateManagement\CrossPage1.aspx: ASP.NET runtime error: Section or group name 'scriptResourceHandler' is already defined. Updates to this may only occur at the configuration level where it is defined. (C:\Web\Beginning ASP.NET 3.5\chapter07\statemanagement\web.config line 14) C:\Web\Beginning ASP.NET 3.5\Chapter07\StateManagement\CrossPage1.aspx 1 1 C:\Web\Beginning ASP.NET 3.5\
Error 2 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. C:\Web\Beginning ASP.NET 3.5\Chapter03\Web.config 46
I downloaded the books source code and opened VS 2010 > Open Web Site > choose where the source code was located and tried to run the sample page and it wont let me
View Complete Post