Solved

IIS7 configuration error with Framework 4.0

Posted on 2011-02-22
4
939 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
  • 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Today I came across an interesting issue that had me pulling my hair out.  I was troubleshooting a new internal web site which uses integrated security instead of anonymous.  When browsing the site from my laptop, I was able to access it with no iss…
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

777 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