简体   繁体   中英

How to solve compilation target framework 4.5 error?

I want to deploy my ASP.Net site on IIS on my own server. I already deployed one site, that is currently in Active , that active site working on version 2

IIS image

You can see DefaultAppPool that is my old website, that version is 2. My new website called Matejer Report

when I do deploy on IIS of my local machine, it's working fine. But when I try to deploy on my server it's showing the following error

Error message

So, Do you I need to install .Net Framework 4.5? ,

If, yes How to install on windows server 2008 R2?.

I already downloaded the file www.microsoft.com/en-in/download/confirmation.aspx?id=42642. Is it correct link?

After I install it, Will it affect the old webisite (DefaultAppPool) which is running on version 2.0?

Go to here msdn

and go to Download page for 4.5 web installer and select your language and click on Red download button.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM