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 6039317
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T06:21:02+00:00 2026-05-23T06:21:02+00:00

While uploading my current project to our staging server I noticed that the Web.config

  • 0

While uploading my current project to our staging server I noticed that the Web.config file of my Asp.net MVC framework contains some references to assemblies called

  • Hostadapters.AspNetAdapter
  • QualityTools.Common
  • QualityTools.ExecutionCommon
  • QualityTools.Resource

I have not added the entries myself, but guessing from their names, I suspect these have been added by the “Add Unit Tests” Wizard.

The problem is, with these assemblies being referenced, the project does not run on my staging server, because it can’t find the relevant DLLs. Their paths are hard-coded into the
Web.config:

<httpModules>
  <add name="HostAdapter" type="Microsoft.VisualStudio.TestTools.HostAdapter.Web.HttpModule, Microsoft.VisualStudio.QualityTools.HostAdapters.ASPNETAdapter, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
</httpModules>

  <dependentAssembly>
    <assemblyIdentity name="Microsoft.VisualStudio.QualityTools.HostAdapters.ASPNETAdapter" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
    <codeBase version="10.0.0.0" href="file:///C:/Program%20Files%20(x86)/Microsoft%20Visual%20Studio%2010.0/Common7/IDE/PrivateAssemblies/Microsoft.VisualStudio.QualityTools.HostAdapters.ASPNETAdapter.DLL" />
  </dependentAssembly>

Am I correct in thinking that these assemblies are Unit-Testing-Related?

When I tried to remove some of these entries, the server responded with an error 403 “Access Denied: Forbidden.” What might be the meaning of this, and how can I avoid it?

I could simply upload the referenced DLL files somewhere onto the server, but that seems counter-intuitive. Do I have other options?

Edit: I have read the suggestion to split configuration into separate parts. It is a good suggestion, but it doesn’t help me with my immediate problem of how the heck do I get any configuration working on the server?

  • 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-23T06:21:02+00:00Added an answer on May 23, 2026 at 6:21 am

    I would have separate web.config files for staging and live regardless.

    There are frequently many settings which need changing for development purposes, e.g. Cache lengths, security settings, urls etc.

    From my experience, using the same config is a recipe for disaster – it takes 1 developer to change the settings to get something working locally, and then check the updated file in, and you end up with a broken staging server (or possibly live)!

    If you use a build then it is simple to substitute web.config with web.live.config or web.staging.config during the build process.

    Your problem then goes away.

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

Sidebar

Related Questions

I am currently develope something using asp.net MVC, im still quite not experience with
I am writing code for uploading a file from a client to my server
recently i came across strange problem while uploading files to my new server. I
I'm getting IndexOutOfBoundsException while uploading a zip file. What could be the reason? How
is it necessary to mention content-type in http header while uploading the file. i
While in the final throws of upgrading MS-SQL Server 2005 Express Edition to MS-SQL
I have small application that is uploading pictures to another website via webservice. My
anyone know how to add background while uploading data ?, currently performanceprogressbar just shown
While uploading images with the char å, ä or ö everthing gets messed up.
I use VS2008 at home and love it, while approaching work about upgrading 2005

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.