i have mvc application , can't working on iis 7. debugging in vs2010 works fine, when publish website local iis7, see nothing blank pages.
here have done:
on project, right click , click publish. in publish web window set these settings:
- publish method: web deploy
- service url: localhost
- site/application: default web sit\africa
- both,
mark iis application on destination
,leave files on destination (do not delete
checked.
in iis, application runs under application pool supports .net 4.0 , managed pipeline set integrated.
i don't error while publishing, when navigate site see blank pages. nothing happens.
what goes wrong?
edit:
when navigate http://localhost/africa/ see blank page. when navigate http://localhost/africa/views/home/ 500 error.
how can solve this?
i ran in same exact problem, took quite bit of digging solve.
i found solution on page: getting asp.mvc2/vs2010 application work in iis 7.5
yeah, know old thread sake of saving else's time i'm adding this. make sure have http errors, http redirection, , static content enabled in iis.
Comments
Post a Comment