Error: Unrecognized attribute 'targetFramework'. I am using visual studio 2010, IIS 6.1 and OS is window 7, when I create web service using visual studio 2010 and run I am getting this error, after couple of research I found that this error causing because of web service created for .NET Framework 4.0 but IIS is pointing it to .NET Framework 2.0. You can do the following steps to point your application into .NET framework 4.0 1) Open IIS (type inetmgr on Run window) 2) Go to "Application Pool" 3) Select application folder and double click 4) On the "Edit Application Pool" popup change .NET Framework 2 to 4. 5) Restart IIS |
Tuesday, July 13, 2010
Error: Unrecognized attribute 'targetFramework'. (Window 7)
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment