Installing Microsoft .NET Framework 4

Posted on 2012-09-14
Last Modified: 2012-09-14
Installing Microsoft .NET Framework 4
I have a developer that is trying to run a process in IIS that needs .NET Framwork, I have this NET Framwork  on a Windows 2008 Server  but he is still having issues
the error messages he is getting is
{Line 6:  <configuration>
Line 7:    <system.web>
Line 8:      <compilation targetFramework="4.0"/>
Line 9:      <customErrors mode="Off"/>
Line 10:     <pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID"/>

Source File: C:\inetpub\wwwroot\HR-Stuff\web.config    Line: 8
Version Information: Microsoft .NET Framework Version:2.0.50727.4223; ASP.NET Version:2.0.50727.4223

Not sure why he would still get this error message because I just installed .NET Framework 4

Question by:ahmad1467
    LVL 9

    Accepted Solution

    Check the .net apppool that it is using in IIS, it may be pointing to the wrong version.
    LVL 58

    Expert Comment

    Try removing
    <pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID"/>
    LVL 9

    Expert Comment

    You need to change the appPool to .net4, here's where to do it.

    Author Closing Comment

    Exactly what it was

    Featured Post

    Highfive Gives IT Their Time Back

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
    Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
    This Micro Tutorial will show you how to maximize your wireless card to its maximum capability. This will be demonstrated using Intel(R) Centrino(R) Wireless-N 2230 wireless card on Windows 8 operating system.
    The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

    745 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

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now