MarwaAhmad
MarwaAhmad

Reputation: 874

deploy mvc5 on iis7

After deploying an asp.net mvc 5 project on iis 7, and then click browse, i got a blank page!

Hint: I've checked http static content, http redirection, and http errors.

Any ideas? Thanks in advance.

Upvotes: 1

Views: 2000

Answers (3)

FullStackDev
FullStackDev

Reputation: 11

To fix IIS mappings for ASP.NET, run the Aspnet_regiis.exe utility. https://support.microsoft.com/en-us/kb/306005

Upvotes: 1

MarwaAhmad
MarwaAhmad

Reputation: 874

The app. run after i run this command; which installed the asp.net on iis. Then recreated a virtual directory once again for the application on the local iis: %windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe -ir

Upvotes: 1

dove
dove

Reputation: 20674

One idea: your default page is blank.

If there is an existing index.html in root it might be showing that. Can you delete all content from server and deploy again?

Upvotes: 0

Related Questions