Last post Aug 29, 2010 05:26 AM by ketan_al
Aug 28, 2010 11:42 PM|ilovegrolsc|LINK
I'm wondering if anyone knows how or knows of a tutorial somewhere that shows exactly how to deploy a mvc2 application on IIS 7.5.
For simplicity i tried to deploy a default mvc2 application made in visual studio 2010. I clicked create new project and selected mvc2 application. Then i went straight to publish, selected web deploy and wrote for
Service URL: http://localhost
Site/Application: Default Web Site/MyApp
and ticked the checkbox 'mark as iis application on destination'.
It published sucessuly and then upon opening IIS 7.5 i found it there under the default site. I clicked on MyApp and selected browse. But, this simply takes me to a page that lists the contents of the application as if i were looking at an ftp page.
Please help, i have searched quite a bit and not found any clear explanation of how to deploy MVC2 to a local IIS 7.5. Thanks for your help.
I installed the asp.net features for IIS. Then when clicking publish in visual studio i selected deploy to web and entered a path. That created a virtual directory for the application in IIS 7. http://localhost service/url
When browsing that however i just see a list of what files are in the application as if it were an ftp server. Then i tried right clicking on that virtual directory and selecting convert to application. Then when trying to browse i just get this error:
Default Web Site/MyApp site/application
Aug 29, 2010 05:26 AM|ketan_al|LINK
Please refer following
hope this helps