Reputation: 18859
I have an application built using .NET version 4.5
I created a site in IIS and pointed it to my application, but I'm receiving this error:
The 'targetFramework' attribute in the element of the Web.config file is used only to target version 4.0 and later of the .NET Framework (for example, ''). The 'targetFramework' attribute currently references a version that is later than the installed version of the .NET Framework. Specify a valid target version of the .NET Framework, or install the required version of the .NET Framework.
This applications works correctly if I'm running it on my local machine, but for some reason I can't get it to run with IIS.
Upvotes: 0
Views: 463
Reputation: 3183
Select the correct application pool...
http://technet.microsoft.com/en-us/library/cc731755(v=ws.10).aspx
Upvotes: 1