I have an MVC application and I can’t get it to work with IIS 7. Debugging in VS2010 works fine, but when I publish a site on my local IIS7, I see only blank pages.
Here is what I did:
In the project, right-click and select Publish. In the Web publishing window, I set the following settings:
- Publishing Method: Web Deployment
- Service url: localhost
- Site / application: default Web Sit \ Africa
- both,
Mark as IIS application on destination and Leave extra files on destination (do not delete are Leave extra files on destination (do not delete .
In IIS, my application runs under an application pool with support for .net 4.0, and the managed pipeline is configured for integration.
I don’t get any errors during publication, but when I go to my site, I see only blank pages. Nothing happens.
What's wrong?
EDIT:
When I go to http: // localhost / Africa / , I see a blank page. When I go to http: // localhost / Africa / Views / Home / , I get 500 errors.
How can i solve this?
source share