SP1 causing "Adding reference to System.Web.dll ..."

Last post 02-23-2009 3:19 PM by Nomasnimis. 42 replies.

Sort Posts:

  • SP1 causing "Adding reference to System.Web.dll ..."

    12-21-2006, 1:00 PM
    • Member
      point Member
    • gridge
    • Member since 12-07-2006, 8:18 PM
    • Posts 2
    After installing SP1, whenever I attempt to open a file, click on Design view or do just about anything, I have to wait for the "Adding reference to System.Web.dll ..." to complete.  This takes several minutes each time, greatly reducing productivity.  Saving a file and re-opening it has the same results, so no reference was actually added.
  • Re: SP1 causing "Adding reference to System.Web.dll ..."

    12-22-2006, 1:03 AM
    Do you have Beta of Ajax/Atlas installed?
    Thanks

    ------------------------------------------------------------

    This posting is provided "AS IS" with no warranties, and confers no rights.
  • Re: SP1 causing "Adding reference to System.Web.dll ..."

    12-22-2006, 1:42 PM
    • Member
      point Member
    • gridge
    • Member since 12-07-2006, 8:18 PM
    • Posts 2
    This problem resolved itself after 3-4 hours.  I guess the reference was being added to every page in the application.
  • Re: SP1 causing "Adding reference to System.Web.dll ..."

    12-29-2006, 11:09 AM
    • Member
      292 point Member
    • joshlrogers
    • Member since 12-01-2005, 6:32 PM
    • Nashville, TN
    • Posts 68
    I am getting the same error and I have the AJAX RC installed.  I have manually added the reference to System.Web but this did nothing.  I would prefer not to have to wait 3-4 hours and the IDE be completely unusable.  Could someone please explain why this is happening and what I need to do?
  • Re: SP1 causing "Adding reference to System.Web.dll ..."

    12-29-2006, 12:51 PM

    http://blogs.msdn.com/mikhailarkhipov/archive/2006/12/25/repairing-visual-web-developer-intellisense-issues.aspx

    Try this:

    Cause: change of Microsoft Ajax namespace from atlas to asp. Visual studio uses reflection to inspect Web site references such as ASP.NET framework, assemblies in bin, etc and generates XML schemas that drive intellisense. Generated schemas are cached and change in the namespace when assembly name stays the same may confuse intellisense schema generator. This may happen when you uninstall Atlas Beta 1 is and install recent Release Candidate.

    Solution: Close VS, delete everything in

    C:\Documents and Settings\USER\Application Data\Microsoft\VWDExpress\8.0\ReflectedSchemas

    C:\Documents and Settings\USER\Application Data\Microsoft\Visual Studio\8.0\ReflectedSchemas

    then restart VS or VWD.

    Let me know if this helps.

    Thanks

    ------------------------------------------------------------

    This posting is provided "AS IS" with no warranties, and confers no rights.
  • Re: SP1 causing "Adding reference to System.Web.dll ..."

    12-29-2006, 1:27 PM
    • Member
      292 point Member
    • joshlrogers
    • Member since 12-01-2005, 6:32 PM
    • Nashville, TN
    • Posts 68

    Thank you so much for your prompt reply....Unfortunately this did not solve my problem.....

     

    I actually have changed the prefix to be atlas instead of asp because of the earlier intellisense issue.  Now this has never happened to me until just today when I installed the RC but with the Beta's I did not have this issue.  Is there something I need to change in my web.config possibly?

     

    Thank you again...
     

  • Re: SP1 causing "Adding reference to System.Web.dll ..."

    12-29-2006, 2:15 PM
    • Member
      292 point Member
    • joshlrogers
    • Member since 12-01-2005, 6:32 PM
    • Nashville, TN
    • Posts 68
    I have fixed the issue it seems....I had to go through and remove all references to Ajax and restart visual studio then reload the references....that seems to have fixed the issue for now.....
  • Re: SP1 causing "Adding reference to System.Web.dll ..."

    01-08-2007, 4:43 AM
    • Member
      6 point Member
    • nuclearfusion
    • Member since 01-08-2007, 9:37 AM
    • Posts 3
    Just to add my 2 pence worth for other people stumbling upon this thread looking for a solution, I had the same problem after installing SP1 and uninstalling AJAX RC1. The editor was freezing when trying to load my project with a messge of "adding reference to System.Web.Dll' in the status bar. My problem was trying to open a project that still contained a reference to the web.extensions assembly. Remove the reference from the web.config file outside of the IDE and restart VS and the problem was fixed. Hope that helps somebody.
  • Re: SP1 causing "Adding reference to System.Web.dll ..."

    03-14-2007, 3:17 PM
    • Contributor
      3,377 point Contributor
    • mychucky
    • Member since 03-20-2006, 9:01 PM
    • Posts 2,530
    Thank you so much! I was having this exact problem after updating my AJAX. I followed both of your suggestion and it helped me.
  • Re: SP1 causing "Adding reference to System.Web.dll ..."

    03-15-2007, 12:22 PM
    • Member
      19 point Member
    • itsdanny
    • Member since 07-01-2005, 10:03 AM
    • UK
    • Posts 17

    Oh Lord, i've been installing sp1 for hours now, (i've aged, my kids have left home and my dog has passed away). Is this an issue for everyone, are there any other issues that people have noticed? In my experience ajax and vs2005 seem have have a large amount of difficulties with integration. I like the way VS is going but it's a long an painful process...!

     Dan

    DYOR
  • Re: SP1 causing "Adding reference to System.Web.dll ..."

    03-15-2007, 12:29 PM
    • Contributor
      3,377 point Contributor
    • mychucky
    • Member since 03-20-2006, 9:01 PM
    • Posts 2,530
    Yes. I felt that way too. Everytime I do an AJAX update or other installation, there is always a hurdle that I have to go through....it always brings me back to this forum to get it working.
  • Re: SP1 causing "Adding reference to System.Web.dll ..."

    03-15-2007, 6:05 PM

    I have a problem with SP1 causing the "Adding reference to 'System.Web.dll' ..." but I don't have AJAX or atlas installed.

    I do have Visual Studio 2005 Web Application Projects installed, and that seems to be the cause of the problem.

    In the knowledge base article here http://support.microsoft.com/default.aspx?scid=928957 it states this:

    Uninstallation of Visual Studio 2005 Web Application Projects required:

    Follow these steps to install Visual Studio 2005 SP1 if you have Visual Studio 2005 Web Application Projects installed:

    1. Uninstall the Visual Studio 2005 Web Application Projects (http://msdn2.microsoft.com/en-us/asp.net/aa336618.aspx) add-in.
    2. Install Visual Studio 2005 SP1.

    I am not able to uninstall either Visual Studio 2005 Web Application Projects or SP1 at this time because my supervisor has the installation disk and is on vacation :( 

     

  • Re: SP1 causing "Adding reference to System.Web.dll ..."

    03-17-2007, 8:44 PM
    • Contributor
      4,773 point Contributor
    • yaip
    • Member since 10-27-2003, 2:29 PM
    • Los Angeles, CA
    • Posts 1,145

    I am having the exact same problem.

    I have SP1 as well as AJAX. I had ATLAS and upgraded it to AJAX. I deleted all the files in ReflectedSchemas as suggested. I also checked my web.config for web.extensions. None exist. I still have this problem. In my IDE, every time I switch fro designer to source view (or back), it gives me this message and it takes a long time.

     What do I do?
     

    Thanks
    I love computers because: MY WISH IS THEIR COMMAND :)

    <Website>
    <Gadget>
  • Re: SP1 causing "Adding reference to System.Web.dll ..."

    03-20-2007, 4:36 AM
    • Member
      4 point Member
    • rjohannesson
    • Member since 03-20-2007, 8:32 AM
    • Sweden
    • Posts 7

    Hi

    I also have this problem. It might have started when we copied the folder/project from a server to another and back Tongue Tied. We have Ajax and SP1.

    Yaip: Did you find anything?

     

  • Re: SP1 causing "Adding reference to System.Web.dll ..."

    03-20-2007, 6:10 AM
    • Member
      4 point Member
    • rjohannesson
    • Member since 03-20-2007, 8:32 AM
    • Sweden
    • Posts 7

    (No edit post?)

    I have:
    - Deleted the files under Documents and Settings.. Microsoft.. Visual studio..
    - Removed the rows with "web" in <assemblies> section of web.config
    - Updated MySql Connector to 1.09 on my pc as we did on the server

    It works :) Oh, a restart of the Pc as well.

     

Page 1 of 3 (43 items) 1 2 3 Next >