.NET Assemblies found in Web.config

Posted on 2011-05-01
Last Modified: 2012-05-11
I've busted this question into three parts.  This is part three.  

Over the last few months, I've dragged and dropped some chart controls and some other ASP standard and data controls onto some web forms in my project.   Subsequently, some assembly references have appeared in my project Web.config file.  

- Figure 1 shows the project's current assembly references in Web.config.  
- Figure 2 shows the project's current assembly references in the manifest.  
- Figure 3 shows the project's assembly references in Web.config that I've been able to include.  If I include assembly references 2, 3, 4, or 5 shown in figure 1, most (if not all) of my web forms on the production server break.
- One more piece if interesting information: If I delete all assembly references from Web.config on the development server, I can still build the project successfully.

Is the best protocol to leave the assembly references in the development copy of Web.config and to delete them all from the production copy of Web.config.  Or, should I try to include them  in the production copy of Web.config.  If I include them, what steps do I need to take to keep the production website from breaking?
Question by:jdana
    LVL 15

    Assisted Solution

    by:Praveen Venu
    Seems like this is because those assemblies are not registered to GAC on your production server. Is is possible to install those third part packages on the production server?
    LVL 96

    Accepted Solution

    Your deployment to the production server should include the referenced assemblies.  You won't need to install them in the GAC, unless that is what you want to do.  What we do is to create a bin folder on the server, and copy all DLLs to that folder on the production server.

    Author Closing Comment


    Featured Post

    Highfive Gives IT Their Time Back

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    Suggested Solutions

    IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
    It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
    Need more eyes on your posted question? Go ahead and follow the quick steps in this video to learn how to Request Attention to your question. *Log into your Experts Exchange account *Find the question you want to Request Attention for *Go to the e…
    In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…

    731 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

    19 Experts available now in Live!

    Get 1:1 Help Now