Solved

IIS7 configuration error with Framework 4.0

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

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
can not add ASP.NET to IIS 8 73
Link SQL table to Webpage 9 69
Finding the IIS version 5 37
Migrating Web site which uses SQLEXPRESS database 51 62
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…
If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

735 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