Your official information source from the .NET Web Development and Tools group at Microsoft.
We’ve heard a few reports of cases with VS Orcas Beta2 where ASP.NET controls do not show up on the toolbox and ASP.NET tag intellisense and validation is broken in HTML source view. All of the cases reported so far have been with Vista. The root cause of this is that the Orcas Beta2 version of System.Web.Dll did not get installed correctly on the machine due to interference with some of the .NET Framework Hotfixes that were on the machine earlier.
The recommended workaround is to uninstall VS Orcas Beta2, uninstall any .NET Framework 2.0 or 3.0 Hotfix that you have installed on your machine and then reinstall VS Orcas Beta2 . All released Hotfixes of the Framework have been rolled into Orcas Beta2 so this will not regress your functionality or put your machine in a vulnerable state.
Here are the steps for you to take in order to uninstall your .NET Framework Hotfixes.
1. Go to Start -> "Control Panel" -> Under Programs "Uninstall a program"
2. Click on View Installed Updates
3. Right click on any of the following KBs that you see and select “Uninstall”. You will see these listed as "Hotfix for Microsoft Windows (KBxxxxxx)" or "Security Update for Microsoft Windows (KBxxxxxx)".
4. Reboot your computer before installing (or reinstalling) VS Orcas Beta2.
4. Reboot your computer before installing (or reinstalling) VS Orcas Beta2.
This should fix the issue for you. In case it doesn't for some reason, do let us know.
Description of this issue Since Visual Studio 2008 beta 2 and the .NET Framework 3.5 beta 2 were released,
I followed the steps in your blog and then did the devenv /resetsettings as described in scott's blog. Now i get a message that says "Could no load file or assembly 'Microsoft.Web.Authoring' or one of its dependencies. The system cannot find the file specified.
This turned out to be because i tried to use the 3.5 beta 2 framework install outside of the VS install. So, i uninstalled and reinstalled (again) and i still have the problem. I see that my system.web.dll is of the version 2.0.20727.833 but it seems like i'm helpless to do anything about that.
"Jon -- It doesn't look like the aspnet_regiis idea will work. Couldn't find a version specific to 3.5; it just kept installing 2.0."
Yeah my 3.5 directories at C:\Windows\Microsoft.NET\Framework64\v3.5 and C:\Windows\Microsoft.NET\Framework64\v3.5.20404 and C:\Windows\Microsoft.NET\Framework\v3.5 don't have much in them ...
(Here's hoping line breaks are supported in comments)
Volume in drive C has no label.
Volume Serial Number is 1463-3BC2
Directory of C:\Windows\Microsoft.NET\Framework\v3.5
08/07/2007 04:28 PM <DIR> .
08/07/2007 04:28 PM <DIR> ..
07/27/2007 01:53 PM <DIR> 1033
07/06/2007 12:09 PM 42,336 AddInProcess.exe
04/30/2007 04:20 PM 158 AddInProcess.exe.config
07/06/2007 12:09 PM 42,344 AddInProcess32.exe
04/30/2007 04:20 PM 158 AddInProcess32.exe.config
07/06/2007 12:09 PM 29,016 AddInUtil.exe
04/30/2007 04:20 PM 158 AddInUtil.exe.config
07/06/2007 12:09 PM 1,554,768 csc.exe
07/12/2006 04:25 PM 221 csc.exe.config
06/19/2007 09:37 AM 1,326 csc.rsp
02/21/2007 06:51 PM 473 default.win32manifest
08/07/2007 04:28 PM 0 dir.txt
07/27/2007 03:44 PM <DIR> en
07/06/2007 12:09 PM 811,008 Microsoft.Build.Tasks.v3.5.dll
08/28/2004 04:04 PM 2,355 Microsoft.Build.xsd
06/02/2007 09:53 AM 190,783 Microsoft.Common.targets
05/23/2007 04:09 PM 12,178 Microsoft.Common.Tasks
07/06/2007 02:20 PM 835,584 Microsoft.CompactFramework.Build.Tasks.dll
03/28/2007 03:21 PM 7,795 Microsoft.CompactFramework.Common.targets
03/07/2007 05:22 PM 1,243 Microsoft.CompactFramework.CSharp.targets
05/30/2005 10:19 PM 1,250 Microsoft.CompactFramework.VisualBasic.targets
05/09/2007 09:17 AM 9,093 Microsoft.CSharp.targets
05/09/2007 09:17 AM 9,762 Microsoft.VisualBasic.targets
07/06/2007 12:09 PM 41,984 Microsoft.VisualC.STLCLR.dll
06/01/2007 10:52 PM 43,676 Microsoft.WinFx.targets
07/27/2007 01:52 PM <DIR> MOF
07/27/2007 01:52 PM <DIR> MSBuild
07/06/2007 12:09 PM 99,672 MSBuild.exe
05/01/2007 02:05 PM 1,253 msbuild.exe.config
06/28/2004 04:40 PM 732 MSBuild.rsp
07/27/2007 01:52 PM <DIR> RedistList
07/27/2007 01:52 PM <DIR> SQL
07/06/2007 08:22 AM 288,088 SqlMetal.exe
05/30/2005 10:19 PM 2,277 SqlServer.targets
07/06/2007 12:09 PM 1,701,712 vbc.exe
09/23/2005 12:21 AM 221 vbc.exe.config
06/16/2007 07:02 AM 1,489 vbc.rsp
07/06/2007 12:09 PM 178,016 WFServicesReg.exe
07/27/2007 01:52 PM <DIR> WPF
32 File(s) 5,911,129 bytes
9 Dir(s) 98,901,872,640 bytes free
Well it sounds like we're all SOL. Everyone else here says that reinstalling VS will not fix the problem.
Re my just-posted comment, .. duh. The blog post said that netfx3.5 was not fully installed due to hotfixes...
This blog post doesn't seem to help if you're not using Windows Vista. I'm using Windows Server 2003 not all of the KB articles are listed, particularly under .NET Framework 2.0 Service Pack 1 (which may or may not be among the KB articles listed in the blog, but most definitely should have KB articles referenced in the first place; *NO UPDATES* on my computer should be without a documentation reference). I can't uninstall the thing because I get the error, "Microsoft .NET Framework 2.0 Service Pack 1 cannot be uninstalled because it will affect other applications that are installed." Where is my shotgun? I feel like blowing a hole in my computer monitor ....
omg. I wish I could cancel my comments posts.
My Win2003 environment has toolbars.
My Vista x64 environment (a virtual machine) had no toolbars in VS2008. I have removed the KB updates and restarted and will reinstall VS2008B2 without uninstalling. Crossing my fingers.
Same. Removed hotfixes then ran devenv /resetsettings. Using Team Suite edition on Windows XP
Created a new website within the same solution and the toolbox items were there. I started migrating the original website over to the newly created one to see if something in the site was causing the issue. The toolbox items remained and were functioning until I restarted VS2008 then the new site had the same problem...I could only see the HTML controls.
Just confirmed that in our office, every machine is behaving the same way - both XP and Vista.
On my Vista x64 environment, I finally got around to uninstalling all of the listed KB's that were installed, rebooted, and ran the reinstaller for VS2008 Beta 2. I still see no toolbox items on a .NET 3.5 web site solution.
I'm using Vista ultimate, I have the KB110806 and KB929300 but I can't remove them. After trying to remove, windows ask me to reboot and after that, these updates still be here.
If I try to install .net 3.5 with these updates, the installation fails and if I don't reboot after removing, the install still fail ...
How can I definitively remove these updates ?
If you try this method, and the ASP.NET Controls still don't show up in teh toolbox, one thing to check for is the version of system.web.dll that is installed on your machine. If the version number is less than 50727.1373, then the required .NET Framework 2.0 update is not intsalled properly on the machine. Please feel free to contact me directly (omark-at-microsoft-dot-com) if the above posted solution isn't working for you and we'll work to help get it fixed. Thanks.
Group Program Manager
Visual Web Developer Team
I Have already installed Windows Server 2008 Beta3 with IIS7.After installed Visual Studio Orcas,there is not asp.net controls in toolbox too.
Visual Studio 2008 Beta2 is not compatible with Windows Server 2008 Beta3. VS2008 Beta2 will work with newer versions of Windows Server 2008, such as the June CTP, or later.
I'm using Vista Bussines. I installed Orcas beta 2 and I don't have asp.net controls. I tried uninstall all hotfixes mentioned in article and reinstall netframework 2 and 3.5.
I also check the version of system.web.dll, in windir is 2.0.50727.1318, but in \wcu\dotNetFramework\dotNetFX20\aspnet.msp package is 2.0.50727.1378. It looks like the Orcas installer don't want install newer version of this library.