Solved

IIS7 configuration error with Framework 4.0

Posted on 2011-02-22
4
942 Views
Last Modified: 2012-05-11
Hi,
Our webserver, Windows 2008 Web SP2, has Microsoft .NET Framework 3.5, 4 Client Profile and 4 Extended installed.

All our websites with 3.5 framework works fine but not a new one with framework 4.0

On https://secure.joboffice.se/Service2011.asmx you see the error "Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive."

Please help
Rgds Cynkan
0
Comment
Question by:cynkan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 5

Accepted Solution

by:
WebDOT earned 500 total points
ID: 34952559
have you configured an application pool to use .NET 4, and assigned the apps in question to use that app pool?

3.5 and 4 can't use the same app pool.
0
 

Author Closing Comment

by:cynkan
ID: 34952580
Ahh, totally forgot.
Now works fine ;)

Many thanks
0
 
LVL 29

Expert Comment

by:Paul Jackson
ID: 34952664
Have you associated the application with .net 4.0 in IIS ?

Have a look at the steps towards the bottom of the link :

http://msdn.microsoft.com/en-us/library/dd483478%28VS.100%29.aspx
0
 

Author Comment

by:cynkan
ID: 34953137
Ohh yes, we builds in VS2010, fw4 but not so often for the web ;)
Thanks for the link.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Here are the symptoms: You start receiving calls from users that one of your legacy web apps isn't coming up, so you log into your IIS 5 server to check it out.  When you pull up the services, you notice that the WWW Publishing service isn't runn…
Debug Tools to analyse IIS process: This article focus on taking memory dumps from IIS to determine which code is taking more time and to analyse which calls hangs/causes more CPU usage. To take dumps,download the following. Install1: To st…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
Suggested Courses

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question