Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5976259
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T21:12:10+00:00 2026-05-22T21:12:10+00:00

I have still problem with asp.net project. In Visual studio when i start debug

  • 0

I have still problem with asp.net project. In Visual studio when i start debug it is all good and page working but, when i try it on iis7 showse this error.

SHOW ERROR:

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:

Line 18:     </connectionStrings> 
Line 19:     <system.web> 
Line 20:       <compilation debug="true" targetframework="4.0" /> 
Line 21:     </system.web> Line 22: 

Source File: C:\inetpub\wwwroot\web.config Line: 20

It seems problem with targetFramework but i do not know if i have to configure iis server or something chane in my web-config.

thx.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T21:12:10+00:00Added an answer on May 22, 2026 at 9:12 pm

    Change the .NET version on the Application pool for your website.
    It must be .NET 4.0, not the .NET 2.0
    View a List of Application Pools (IIS 7)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Visual Studio 2008 solution with an ASP.NET Web Application project. I
I have a visual studio solution with an ASP.NET 3.5 web application (WCF host)
I have a problem . When i try to run an ASP.NET page in
I have a wierd problem with threading in an ASP.NET application. For some reason,
I am currently working on an ASP.NET MVC2 project. This is the first time
I have a Database Entity Model within my ASP.Net Project There are two foreignkeyconstructs,
Im working on a web project in ASP .NET MVC 2. In this project
I have created a project with a simple RDLC report in ASP.NET which when
I have an asp.net MVC project hosting a silverlight application. I just started rebuilding
I am using an ASP.Net Web Application project. I have a user control which

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.