Click here to Skip to main content
16,020,822 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello My Question is

How to Upload localhost website through IIS.

But it shows Errors which are as follows:

Server Error in '/' Application
Configuration Error

Description:An error occurred during the processing of a configuration file required to service this request.Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message:Unrecognized attribute 'targetFramework' .Note that attribute names are case-sensitive..

Source Error:
<configuration>
<system.web>
<compilation debug="true" targetframework="4.0">
<assemblies>
<add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A">
Posted
Comments
ZurdoDev 10-Apr-13 12:06pm    
Sounds like you don't have ASP.Net installed.
David C# Hobbyist. 10-Apr-13 18:56pm    
Have You setup an application pool?

1 solution

Make sure the web application in IIS is using 4.0 (or higher) framework.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900