[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 955
  • Last Modified:

IIS7 configuration error with Framework 4.0

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
cynkan
Asked:
cynkan
  • 2
1 Solution
 
WebDOTCommented:
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
 
cynkanAuthor Commented:
Ahh, totally forgot.
Now works fine ;)

Many thanks
0
 
Paul JacksonSoftware EngineerCommented:
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
 
cynkanAuthor Commented:
Ohh yes, we builds in VS2010, fw4 but not so often for the web ;)
Thanks for the link.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now