Parser Error Message: Unrecognized attribute 'targetFramework'. Note that attribute n

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • chibbie23
    New Member
    • Mar 2010
    • 44

    Parser Error Message: Unrecognized attribute 'targetFramework'. Note that attribute n

    After configuring my website in the iis manager, i select the default document of the website, which is home.aspx, when i tested it on my browser, it pops this error:

    Parser Error Message: Unrecognized attribute 'targetFramewor k'. Note that attribute names are case-sensitive.

    I made sure to it that my website which was made in vs2010, uses .net framework 4.0 and the apppool in the iis is .net framework 4.0 classic.

    I also made sure that the .net framework is correctly installed in my machine.

    Any suggestions how to fix this? thanks
  • PsychoCoder
    Recognized Expert Contributor
    • Jul 2010
    • 465

    #2
    Take a look at this it should lead you down the path to solving your issue

    Comment

    • chibbie23
      New Member
      • Mar 2010
      • 44

      #3
      Hi PsychoCoder,

      Forgot to include i am using IIS7 on my Windows7 pc. But the fix is the same though. I opened the basic settings for my app pool which is asp.net v4.0 classic, and surprised to see that the .Net Framework version is set to 2.0, made that 4.0 and everything went fine.

      Thanks

      Comment

      • PsychoCoder
        Recognized Expert Contributor
        • Jul 2010
        • 465

        #4
        Glad I could help with your issues.

        Comment

        Working...