Quantcast
Channel: Unrecognized attribute 'targetFramework'
Viewing all articles
Browse latest Browse all 11

Unrecognized attribute 'targetFramework'

$
0
0

Hello.
I installed VS2010 and NET 4.0 framework and created a simple project.  When I uploaded to my server (where I also installed the 4.0 framework), I get this error:


    Unrecognized attribute 'targetFramework'


It's coming from this section in the web.config which was auto-generated by VS2010 when I created the project:

<div style="BACKGROUND-COLOR: white; COLOR: black" mce_style="BACKGROUND-COLOR: white; COLOR: black">
<compilationdebug="true"targetFramework="4.0"><assemblies></assemblies></compilation>
</div>

I've checked and ensure that the application pool for my website on the server is set to "4.0 Integrated".

Any feedback on how to get past this error would be appreciated.  It's all I can do to keep from running back to VS2008 and NET 3.5.

Thank you!


Viewing all articles
Browse latest Browse all 11

Latest Images

Trending Articles





Latest Images