Welcome to MSDN Blogs Sign in | Join | Help

Visual Web Developer Team Blog

Your official information source from the Visual Web Developer team.

News

  • These postings are provided "AS IS" with no warranties, and confer no rights. Use of included code samples are subject to the terms specified Terms of Use
Orcas Beta2 Gotcha: No ASP.NET controls in toolbox, no ASP.NET intellisense/validation on pages

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)".

 

KB110806 

KB925272
KB925369
KB925492
KB927888
KB928208
KB928870

KB929300
KB929916

KB930264
KB931338
KB932394
KB932471
KB932816
KB934529
KB934839
KB935315
KB936707
KB939783

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.

 

Thanks,

 

-- Bash

 

Posted: Friday, August 03, 2007 2:00 AM by WebDevTools

Comments

Glyn Simpson said:

Hi

well, I tried this - it took a few hours, but made no difference. I am sure I got rid of all of the updates, including all of the KB articles you referenced, but I still have no toolbox or intellisense.

Just checked through my installed updates, and none of the above are there.

In terms of Visual Studio stuff already installed, I uninstalled everything related to previous development environments and the above KBs before reboot, apart from AJAX 1.0

So, a few hours of no luck here

# August 4, 2007 4:40 AM

Rocky Moore said:

Do you think maybe it has to do with VS settings in the registry that does not get removed when you uninstall?  I know when I installed mine, there were a few settings messed up such as line number enabled in my code windows.  Probably be a good time to try reseting the VS environment (I do not remember what the command line option for that was at the moment).

# August 4, 2007 8:53 AM

WebDevTools said:

Glyn,

The command line option is devenv /resetsettings.  You can give that a try, however I believe that you may still have a setup issue on your configuration.  Can you email me at bash-at-microsoft.com and I'll put you in touch with our setup team.

Thanks,

-- Bash

# August 4, 2007 9:28 AM

Glyn Simpson said:

Hi

i tried the reset option, but that didn't help. Email is winging its way over in a few minutes.

Glyn

# August 4, 2007 11:53 AM

ScottGu's Blog said:

It has been a little over a week since we released Beta 2 of VS 2008 and .NET 3.5 . So far the feedback

# August 4, 2007 3:10 PM

BusinessRx Reading List said:

It has been a little over a week since we released Beta 2 of VS 2008 and .NET 3.5 . So far the feedback

# August 4, 2007 3:30 PM

ASP.NET said:

It has been a little over a week since we released Beta 2 of VS 2008 and .NET 3.5 . So far the feedback

# August 4, 2007 3:51 PM

Paul said:

Followed these steps as well, but didn't seem to fix the problem. Am running VS 2005 on Vista. None of the hotfixes above are installed.

# August 5, 2007 11:00 PM

Paul said:

Just to clarify, I'm running both VS 2005 and VS 2008 Beta 2 on Vista. Not receiving any toolbox items except for HTML when I create a new web site.

# August 5, 2007 11:20 PM

Jon Davis said:

Do we perhaps need to also run aspnet_regiis -i from the 3.5 directory?

If so, would that suffice over reinstalling all of Visual Studio after uninstalling those hotfixes? On Beta 2's release, I lost a whole day uninstalling Orcas Beta 1, reinstalling Visual Studio 2005, reinstalling VS2005 SP1, and then installing Beta 2. I'm not going through that again.

# August 6, 2007 4:31 PM

Joycode@Ab110.com said:

【原文地址】 Fixes for Common VS 2008 and .NET 3.5 Beta2 Issues 【原文发表日期】 Saturday, August 04, 2007 12:10 PM

# August 6, 2007 11:52 PM

Aaron Stebner's WebLog said:

Description of this issue Since Visual Studio 2008 beta 2 and the .NET Framework 3.5 beta 2 were released,

# August 7, 2007 12:48 AM

Paul said:

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.

# August 7, 2007 7:39 AM

Calvin said:

This issue also occurs under Longhorn Beta 3.

# August 7, 2007 10:41 AM

Ryan Morgan said:

I also reinstalled and had the same problem. Can i do anything to help with this?

# August 7, 2007 11:49 AM

Aaron Ruckman's Web Log said:

Description of this issue Since Visual Studio 2008 beta 2 and the .NET Framework 3.5 beta 2 were released,

# August 7, 2007 12:52 PM

Ryan Morgan said:

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.

# August 7, 2007 2:20 PM

Ryan Morgan said:

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.

# August 7, 2007 3:20 PM

Jon Davis said:

"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.

# August 7, 2007 7:27 PM

Jon Davis said:

Re my just-posted comment, .. duh. The blog post said that netfx3.5 was not fully installed due to hotfixes...

# August 7, 2007 7:29 PM

Jon Davis said:

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 ....

# August 7, 2007 7:44 PM

Jon Davis said:

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.

# August 7, 2007 8:10 PM

Chris said:

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.

# August 8, 2007 12:25 AM

Paul said:

Just confirmed that in our office, every machine is behaving the same way - both XP and Vista.

# August 8, 2007 3:19 PM

Jon Davis said:

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.

# August 9, 2007 1:27 PM

cyrilCS said:

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 ?

# August 9, 2007 3:19 PM

WebDevTools said:

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.

-- Omar

Group Program Manager

Visual Web Developer Team

# August 9, 2007 6:18 PM

zhangyonghong said:

I Have already installed Windows Server 2008 Beta3 with IIS7.After installed Visual Studio Orcas,there is not asp.net controls in toolbox too.

# August 12, 2007 11:58 PM

WebDevTools said:

Hello Zhangyonghong,

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.

--Omar

Group Program Manager

Visual Web Developer Team

# August 13, 2007 1:14 PM

przemkovv said:

Hello,

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.

# August 14, 2007 5:32 PM

Paul said:

Fixed it! (at least on my machine.)

Looks like SQL Server 2005 (fully patched/update) was conflicting with it somehow. While SQL Server 2005 is running locally on my machine, I get the missing toolbox behavior. Stopping all SQL Server services fixes the issue.

Only problem is, I can't run SQL Server 2005 and VS 2008 at the same time! :(

# August 15, 2007 12:09 PM

Glyn Simpson said:

I'll be interested if anyone has got a simple solution to the System.Web.dll versioning. I'm still on 1318, can't get it up to 1378.

Good support by the team though, however I suspect you must be working on some other way of solving this - no contact for a week means it must be difficult... !!!

# August 15, 2007 4:08 PM

przemkovv said:

I has SQL Express 2005 and your solution doesn't work ;)

Additionaly when I open a website project and show up toolbox I'll get message "Package Load Failure". This package is "Microsoft.VisualStudio.Modeling.DslDesigner.DslDefinitionModelPackage, Microsoft.VisualStudio.Modeling.Sdk.DslDesigner". This bug was submited on VS feedback page, but they couldn't reconstruct this error so it's not solved.

# August 15, 2007 7:03 PM

Darrel Schreyer said:

I also did the whole uninstall and reinstall.

At first everyhting worked fine. I did some stuff for a couple of days.

Then this morning I started a new project and the toolbox was gone. I did the "devenv /resetsettings" but that did not help either.

# August 18, 2007 8:06 AM

Darrel Schreyer said:

Well, the toolbox came back this morning. I worked for about 2 hours. As I was about to run the project I noticed lots of red underscores - and the toolbox was gone again.

The project still runs though.

# August 20, 2007 8:53 AM

Elan's Aggregated Blogs said:

It has been a little over a week since we released Beta 2 of VS 2008 and .NET 3.5 . So far the feedback

# August 23, 2007 4:44 PM

JohnGalt said:

Ditto here. It's completely screwed here too. I've uninstalled all of the patches and no go.

If it requires the sp1 of .net 2.0 and .net 3.0 that's a no go because of a massive bug in System.Data that causes all of the events for changes to the datasources to not work right thus breaking pretty much every .NET application that works with a database.

Brutal bug.

# August 25, 2007 5:26 PM

guitarpark said:

i use web server 2008 june ctp,there is not asp.net controls in toolbox adn no intellisense. and no update for web server 2008

# August 26, 2007 12:24 AM

James Hancock said:

I have an idea:

If someone was to post the version that is the right file, then we could just drop it into our GACs and volia, problem solved...

# August 26, 2007 7:44 PM

przemkovv said:

I tried do that, but I had problems with linked libraries (and a lot of exceptions). So copying a newer version of file is not the solve. We should replace all files from .NET2.0, but it is not easy.

# August 28, 2007 5:00 PM

James Hancock said:

Ok. so the solution is to reinstall the msu files that are in the msu directory/dotnetframework on the orcas install.

This installs the sps for .net 2 and .net 3. This always fixes the problem.

However! It only works in Vista as far as  Ican tell, and then you get the busted System.Data issues that will make almost all Winforms apps that do data acces not work right....

I hope there is a CTP coming soon with this fixed...

# August 28, 2007 7:44 PM

walleryu said:

When I use the Win2003 environment,it has toolbars.

When I changed the windows server 2008 beta 3,there  is not asp.net controls in toolbox and no intellisense.

# August 29, 2007 1:33 AM

Manso said:

Any news on this? Seems like the suggested workaround didn't work due to some conflict with SQL Server. Can someone post a workaround that works?

Thanks

# September 5, 2007 5:47 AM

leoxu said:

070917终于知道原因了。

确实跟微软的补丁有关。

我参考了这篇文章 删除某些补丁,并卸载重装了一次VS2008BETA2,现在

# September 16, 2007 7:53 PM

Glyn Simpson said:

Well, I fixed it. It wasn't exactly the way I wanted to, but a upgrade installation of Vista did the trick as it restored the DLL version to one which could be upgraded.

In the end, it took just a small amount of time. I hope when the next version comes out, I don't have to do it again....

# September 20, 2007 4:42 PM

Gabriel Flores said:

I'm experiencing the same problem. Has anyone gotten this fixed by following the instructions above?

I'm on Vista 32-bit using VS2005, Visual C# 2008 beta 2, Visual Web Developer beta 2 and Sql server standard.

# October 5, 2007 12:40 AM

Straylight said:

Has anyone found a fix for this that works on Windows XP Pro, VS 2008 Beta2?  I have .NET 1.1, 2.0, 3.0 and 3.5 all installed correctly as far as I can tell.  I see a system.web in the GAC for 1.1.5000.0, 1.1.3300.0 and 2.0.0.0 but not 3.* (is there one).

# October 18, 2007 11:04 AM
New Comments to this post are disabled
Page view tracker