Asp.Net Version error after deploying to IIS 7

时间:2015-09-14 15:23:35

标签: asp.net iis-7 localhost

I have developed my Application in asp.net 4.0 and I want to run it on localhost.

So I deployed my project in IIS but after deploying when I went to change Application pool from 2.0 to 4.0 I didn't find version 4.0 in application pool.

So I went to following path to check that Asp.net 4.0 version available or not. C:\WINDOWS\Microsoft.NET\Framework\

But I didn't find version 4.0, Only version 2.0 Available.

I have done following things to run my application on localhost

  1. Installed Windows 7
  2. Installed IIS (with full features)
  3. Deployed successfully my project to IIS

What I am missing here ?

Please help guys....

1 个答案:

答案 0 :(得分:1)

I would suggest starting at installing .NET 4.0.

https://www.microsoft.com/en-us/download/details.aspx?id=17851

Let us know if that helps.