I am trying to deploy two ASP.NET
Application onto IIS 7
. The first application I copied and pasted under wwwRooT
folder and set Application Pool as Asp.NET 4.0 Integrated
. For the second one, I created one virtual directory and set the Application Pool the same as the first application.
The first one works well, but the second one got exception:
The value for the 'compilerVersion' attribute in the provider options must be 'v4.0' or later if you are compiling for version 4.0 or later of the .NET Framework. To compile this Web application for version 3.5 or earlier of the .NET Framework, remove the 'targetFramework' attribute from the element of the Web.config file.