removing VsWebSite.Interop Assembly from Web.Config

Posted on 2007-10-17
Last Modified: 2013-11-07
I've started to notice that the following assembly keeps getting added to my web.config
    <add assembly="VsWebSite.Interop, Version=, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
however, if I upload to my host with this file it breaks with the error
    Could not load file or assembly 'VsWebSite.Interop, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
If I remove the "add assembly" line the site still works fine.

My Question is:
What can I do to either stop Visual studio adding the assembly or automate it's removal before uploading?

I use a Web Development Project to complie and trim my site before uploading is there something I could add to this?
Question by:McExp
    LVL 26

    Accepted Solution

    i think this gets added with ajax toolkit .. but I have also noticed that once you remove it, it does not get added again .. are you sure that its adding itself again to the web.config?
    LVL 26

    Expert Comment


    A short while ago we made available the 10618 release of the AJAX Control Toolkit. This release addresses a handful of user-impacting issues introduced by changes in the recent 10606 release and identified by the user community in the support forum and online issue tracker
    Dependencies: Removed explicit reference to VsWebSite.Interop.dll and stdole.dll. They will not be automatically included in the web configuration files by Visual Studio.
    LVL 16

    Author Comment

    This is odd, I thought I had already tried removing the line. am now on 10920 and all is fine.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
    A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
    Hi everyone! This is Experts Exchange customer support.  This quick video will show you how to change your primary email address.  If you have any questions, then please Write a Comment below!
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    7 Experts available now in Live!

    Get 1:1 Help Now