How do I deploy my ASP MVC project to my Win7 system?

Posted by MedicineMan on Stack Overflow See other posts from Stack Overflow or by MedicineMan
Published on 2010-03-09T06:02:39Z Indexed on 2010/03/09 6:06 UTC
Read the original article Hit count: 316

Hi, I am deploying my first ASP MVC project. The project runs just fine, I would like to take the next step and run this outside of my visual studio environment on my local IIS. I am running Windows7, Visual Studio 2008, and I have created a basic ASP MVC project.

On my solution, I find the project I would like to deploy. I right click and select Publish. I have backed up C:\inetpub\wwwroot\ and would like to deploy there. I accept all defaults, and click the "Publish" button. The Output Build window shows 1 project failed.

Basically is says that it is unable to add any of the binaries to the site, copy files, create new directories... Access is denied.

When I do click "Publish" at work, I don't get these errors. What do I have to do here to publish the website to make the website available to the rest of my home network? Also wwwroot appears to be readonly, but telling the folder to not be read only doesn't seem to help, it still appears to be readonly even after I've unselected this property in the property dialog.

© Stack Overflow or respective owner

Related posts about asp.net-mvc

Related posts about web-development