locked
Deploying .NET 4.5 web project into IIS6 RRS feed

  • Question

  • User1182587605 posted

    Hi

    I am trying to host a .NET 4.5 project into IIS6 and having an error "<compilation targetFramework=4.5>" Configuration error. Steps I have followed are:

    1. Publish the application
    2. copy the published files in server
    3. create a new web site in IIS 6.0 by pointing the physical file path to copied file path
    4. go to website properties and select default page 
    5. convert website's ASP.NET version to 4.0.3.319
    6. Then browse the application

     This resulted in <compilation targetFramework=4.5> configuration error. please help me by directing how to rectify this and get the project running

    Saturday, January 21, 2017 3:00 PM

All replies

  • User1169094377 posted

    You need to install framework 4.5, and also need to check its compatibility with IIS 6

    Saturday, January 21, 2017 5:27 PM
  • User1182587605 posted

    Thanks mohtshm, 

    .NET 4 is already there in the machine. That is how I did the step 5 above.

    Thanks,

    Deepak 

    Saturday, January 21, 2017 6:13 PM
  • User1169094377 posted

    Actually What I meant was that framework 4.5 is not compatible with IIS 6. And framework 4.0 is not 4.5. You need to upgrade to IIS 7.x for that.


    Plz check this as well

    http://stackoverflow.com/questions/12824695/how-can-you-get-a-net-4-5-website-to-run-on-iis6

    Saturday, January 21, 2017 9:02 PM