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

  • Home
  • SEARCH
  • 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 3850960
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T17:05:22+00:00 2026-05-19T17:05:22+00:00

I have installed and configured MS WebDeploy 2.0 on a (test) server so that

  • 0

I have installed and configured MS WebDeploy 2.0 on a (test) server so that WebMatrix and Visual Studio 2010 users can use this to upload their applications to our Windows 2008R2 environments.

This works well with WebMatrix but I encountered a problem deploying an application from Visual Studio 2010. If I click publish and use the WebDeploy method, Visual Studio reports an error and nothing gets published:

alt text

So I turned on Failed Request Tracing for the Web Management Service and I see this:

alt text

53 AspNetModuleDiagErrorEvent Uri /MsDeploy.axd eventData Tracing
deployment agent exception. Request ID
”. Request Timestamp: ’01/22/2011
00:18:54′. Error Details:
System.UnauthorizedAccessException:
Access to the path ‘d:\’ is denied.
at System.IO.__Error.WinIOError(Int32
errorCode, String maybeFullPath) at
System.IO.DriveInfo.get_DriveFormat()

To facilitate use of the WebDeploy feature the site’s delegated management user is granted Full Control of a site’s web folders. This is covered in this article:

Configure the Web Deploy Component on the Web Server

No other permissions are mentioned. Given the nature of the error I tried giving the site’s delegated management user Read Attribute permission on D:\ and limited it to This Folder Only and immediately Visual Studio 2010 is able to publish the application using WebDeploy.

Do I really need to assign read permissions to the root of the drive where a website is hosted to get Web Deploy 2.0 to work with Visual Studio 2010?

  • 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-19T17:05:23+00:00Added an answer on May 19, 2026 at 5:05 pm

    This is a bug with Visual Studio 2010 which defaults to using the wrong Microsoft.Web.Deployment assembly (7.1.0.0).

    To overcome this issue an edit needs to be made to VS 2010’s configuration file to force it to use 8.0.0.0:

    C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe.config

    <dependentAssembly>
      <assemblyIdentity 
         name="Microsoft.Web.Deployment" 
         publicKeyToken="31bf3856ad364e35" 
         culture="neutral"/>
      <bindingRedirect 
         oldVersion="7.1.0.0" 
         newVersion="8.0.0.0"/>
    </dependentAssembly>
    

    The xml fragment above should be added to:

    /configuration/runTime/assemblyBinding

    This was confirmed with Microsoft’s PSS group. Apparently Visual Studio 2010 SP1 will address this issue.

    Obviously you need MS WebDeploy 2.0 installed on the deployment computer. This can be obtained via the Web Platform Installer or by installing Web Matrix 1.0 RTM which incidentally does the right thing.

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

Sidebar

Related Questions

I have installed Visual Studio 2008 and patch it with SP1. However, I cannot
I have installed: Visual C# 2008 Express Visual Web Developer 2008 Express Visual Studio
I have installed and configured SharePoint 2010 to run on the same box as
I have installed Team Foundation Server 2010 (basic configuration) on a Windows Server 2003
I have installed and setup RubyCAS-Server and RubyCAS-Client on my machine. Login works perfectly
I have installed Delphi Prism and XNA Game Studio 3.0. I have managed to
I have installed/configured Elmah on my personal SharePoint dev environment and everything works great
I have installed and configured tomcat+solr on my personal linux machine and windows as
I have installed and configured NetBeans 6.7 for c++ according to the official manual:
I have installed and configured User Profile module, which allows me to add fields

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.