Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 659407
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T23:02:27+00:00 2026-05-13T23:02:27+00:00

I am deploying my first ASP MVC project. The project runs just fine, I

  • 0

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.

There has been a suggestion that on Win7, you launch VS2008 as an Admin. While this does appear to work, I find it hard to believe that this is the “way” you do it.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T23:02:28+00:00Added an answer on May 13, 2026 at 11:02 pm

    If it is a permission problem, you should be able to solve it by adding permissions for your regular user account to the c:\inetpub\wwwroot directory.

    I’m not on a Windows 7 system to get the exact steps, but it goes something like:

    1. Right click on the wwwroot directory, select Properties
    2. Select the security tab from the properties dialog
    3. Click the advanced button
    4. in the Permissions tab, add yourself (or the Users group) and set the privledges for full control.
    5. Make sure to check the boxes so that the permissions are applied recursively to the directory
    6. Click OK

    I am assuming that security isn’t an issue for you at this point because this is on your local system. It is less secure to allow other than admin users to mess with your website root. If you are going to expose this to the Internet, you should make sure the directory is locked down for everyone but admins.

    An alternate approach would be to publish to some other directory, then try to copy the files into c:\Inetpub\wwwroot. If you use the file explorer to do the copy, it should prompt you to elevate your permissions to Administrator and will then copy the files.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This is my first time deploying a project so please bear with me. I
First thing I would like to say is, i know deploying ror applications in
When deploying a web project written in ASP.Net, what happens to user sessions? Do
We are deploying web parts to SharePoint 2007 and would like to include logging
I have an ASP.NET MVC 3 application using an Entity Framework (4.3.1) Code First
After deploying an ASP.Net application to a new server, the first user to hit
I will be deploying my first WCF service in the next few days on
I have an ASP.NET MVC 4 project which is to be deployed to Azure
I'm fairly new to deploying desktop applications, so this is the first time I'm
I am deploying my first rails app using passenger and capistrano. every thing is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.