A few VS 2005 SP1 Links and Information Nuggets

In  you were out the second half of December, you might have missed some of the VS 2005 Service Pack 1 posts that I've previously made:

Below are a few more recent links and blurbs of information about VS 2005 SP1 that you might also find useful:

1) Details on some of the specific bug-fixes and changes for web app support in VS 2005 SP1

The VS servicing team is putting together a page that you'll be able to visit to obtain a more complete list of changes/fixes within VS 2005 SP1 as a whole.  Until then, you can check out this blog post: Visual Studio 2005 SP1 Released - details about changes for web tools.  This summarizes a lot of the changes specifically made in VS 2005 SP1 by the VS Web Tools team that builds the designer and project system that targets ASP.NET.

2) How to determine if you have VS 2005 SP1 Installed

A few people have asked me how they can tell if VS 2005 SP1 installed successfully.  Two ways you can quickly check if VS 2005 SP1 is installed:

a) Select the "Help->About Visual Studio 2005" menu item within the IDE and check to make sure that SP1 is listed as one of the installed products:

b) Select the "File->New Project" menu item within the IDE and check to make sure that the VS 2005 Web Application Project model option (which is now built-in with SP1) is installed and works:

Heath Stewart also has a good post on how to programmatically detect if VS 2005 SP1 is installed (by checking a registry entry) if you want a more programmatic way to detect if it is installed.

Important: VS 2005 SP1 needs to be installed for each instance of Visual Studio that is installed on your machine - so if you have Visual Web Developer Express, Visual Basic Express and Visual Studio Professional installed it will need to install SP1 three times (once for each instance).  If you cancel out of the install part-way through you might find that SP1 installed for some of the instances but not for all of them.  Using the above steps will enable you to check to make sure that the instance of Visual Studio that you are using had it applied successfully.  If not, then re-run the SP1 setup to install it on the remaining VS instances on your machine.

3) What happens when you install VS 2005 SP1?

A lot of people have asked "what is it doing that takes so long to install VS 2005 SP1?" 

Heath Stewart from the VS Setup team has put together an awesome post that details the steps that occur during the VS 2005 SP1 Install Experience.  It also details a number of ways to improve the performance of the install (as well as why these steps improves the performance).  I'd definitely recommend reviewing this if you want to understand exactly what is going on during the install experience.

4) Improve Performance and Disk Space when installing VS 2005 SP1

One very important setup performance tip is to make sure you disable anti-virus software before launching the VS 2005 SP1 install.  Because anti-virus software typically scans all files before they are read, and the VS 2005 SP1 patch is both large *and* read multiple times, having anti-virus software enabled can significantly impact your setup performance.  Turn this off before running install, and then re-enable it once it is complete.

For further tips to improve SP1 install performance read Heath's detailed SP1 install post here.  In particular, look for his suggestions on disabling the SAFER check, as well as with how to use the /quiet flag.  Both of these should improve setup performance of VS 2005 SP1 significantly.

5) How to work around a "Error 1718. filename.msp was rejected by digital signature policy" error message when installing on Windows Server 2003

Several people commented on my first SP1 blog post about running into an error message when installing VS 2005 SP1 on Windows Server 2003 about a "digital signature policy" failing to be validated.

This KB Article describes how to work around this problem. 

6) Slipstreaming the VS 2005 SP1 Patch onto a VS 2005 Setup (to avoid having to install it again on a new machine)

Heath has another great post here on how you can automatically slip-stream the SP1 patch into your own modified VS 2005 setup program so that you can create an already patched VS 2005 Install for yourself (or better yet for your team).  This avoids you in the future having to install VS 2005 and then run the SP1 patch when doing a clean install on another machine.

Future VS 2005 downloads from MSDN will have SP1 automatically applied.  Until then you can use this article if you want to learn how to create your own slipstreamed setup in the meantime.

Hope this helps,

Scott

P.S. Where possible, please post SP1 install questions on Heath's blog posts above - since he is the real expert of how the VS 2005 SP1 install process works.  I'm also still on vacation still this week (posting from a hotel room right now), and so will be slow to respond to blog comments and questions (so his blog might be faster to get a response).

Published Monday, January 1, 2007 8:24 PM by ScottGu

Comments

# re: A few VS 2005 SP1 Links and Information Nuggets

Tuesday, January 2, 2007 9:56 AM by ScottGu

Hi PCM,

I haven't heard of that problem before.  Can you send me an email on it?  I can then loop you in with some folks who can help.

Thanks,

Scott

# re: A few VS 2005 SP1 Links and Information Nuggets

Tuesday, January 2, 2007 3:45 PM by ScottGu

Hi Andrew,

The number of fixes in SP1 is less than 2200 - although I believe more than 1000 (I'm not 100% sure of the number anymore - the 2200 I'm quoted on was actually incorrect).

The list in that KB above is only a partial list and doesn't contain everything.  As I mentioned in the blog post above, we are working on trying to consolodate the lists in one place that people can then more easily refer to.  The holidays made progress on this slow - but I know people are working on it now and it should show up later this month.

Thanks,

Scott

# re: A few VS 2005 SP1 Links and Information Nuggets

Tuesday, January 2, 2007 3:58 PM by ScottGu

Hi Zack,

Good question - I'm not sure if the specific publish wizard is callable from MSBuild (if you send me email on this topic, though, I can loop you in with folks on my team who can confirm).

Note that the Web Application Project publish wizard itself doesn't do any compilation work - instead it just uses FTP to publish the files to the target server.  One option you might want to look at are these pre-built MSBuild tasks I linked to here: http://weblogs.asp.net/scottgu/archive/2006/04/03/Great-Free-MSBuild-Tasks-Available-for-Download.aspx

They include FTP tasks that you can integrate within MSBuild and could probably accomplish the same thing as the publish wizard.

Hope this helps,

Scott

# re: A few VS 2005 SP1 Links and Information Nuggets

Saturday, January 6, 2007 6:31 PM by ScottGu

Hi TomK,

Can you send me an email with more details about the problem you are having?  I can then loop you in with someone to help.

Thanks,

Scott

# re: A few VS 2005 SP1 Links and Information Nuggets

Wednesday, January 10, 2007 1:40 AM by ScottGu

Hi Kevin,

I don't actually know about the ReportBuilder, but if you send me email about it I can loop in someone from the reports team to comment.

Thanks,

Scott

# Installed SP1 but Web Application Project template missing

Friday, January 12, 2007 6:50 AM by Kevin Kenny

Hi Scott,

I ran the installer but don't see the Web Application Project template.

Help -> About confirms that SP1 is installed. In fact I installed it a second time just to be sure, but still no Web Application Project.

I did used to have the beta installed but did uninstall before the applying SP1.

Any ideas anyone?

Cheers

Kevin

# re: A few VS 2005 SP1 Links and Information Nuggets

Sunday, January 14, 2007 4:59 PM by ScottGu

Hi Mark,

I haven't heard of issues like this before, so would definiely like to understand what is going on.

Can you send me email with more details and I'll get someone to help investigate.

Thanks,

Scott

# re: A few VS 2005 SP1 Links and Information Nuggets

Sunday, January 14, 2007 5:00 PM by ScottGu

Hi Kevin,

Does File->New Web Site work for you?

I'm wondering if you have unchecked the "Visual Web Developer" checkbox in setup - which would cause the web project support not to be installed.

Can you go into VS setup and make sure this is selected?  If that doesn't work, can you send me email and I'd be happy to have someone help further.

Thanks,

Scott

# re: A few VS 2005 SP1 Links and Information Nuggets

Friday, January 19, 2007 9:02 PM by ScottGu

Hi Adam,

Can you send me an email with details of this?  I'll then loop you in with someone who can help investigate further and figure out what is going wrong.

Thanks,

Scott

# re: A few VS 2005 SP1 Links and Information Nuggets

Thursday, January 25, 2007 10:35 AM by ScottGu

Hi Anon,

Can you send me an email (my contact details are on the "about" link at the top of this blog) about the CPU spike you are seeing?  I can then loop some folks in to figure out what is going on.

Thanks,

Scott

# Takes forever to load controls in Designer view

Thursday, January 25, 2007 1:05 PM by Jason

I'm having the same problem that Mark and Anon are having.  Since I've installed VS 2005 SP1, when I load a page in Design view, VS chugs through all the controls on the page, taking like 10 minutes per control.  I left it sitting for a few hours and it did eventually open the page.

Have you received any more feedback on why this might be occuring?

Thanks,

Jason

# re: A few VS 2005 SP1 Links and Information Nuggets

Thursday, January 25, 2007 2:39 PM by ScottGu

Hi Jason,

Can you send me an email on this issue?  I will then loop someone in to help.

I believe Mark and Anon ended up running into an issue where they were double referencing two different versions of the same assembly - which was why it was taking forever to load.

Send me mail though (scottgu@microsoft.com), and we'll get it figured out.

Thanks,

Scott

# re: Takes forever to load controls in Designer view

Thursday, January 25, 2007 3:43 PM by Dave Franke

Same problems as the others.   I was working fine until today.  I had to de-install / re-install a copy of the Infragistics controls.  When I reopened the project after the install I started receiving the problem when I switch to Designer view.  Now whenever I try to go to Designer my machine basically locks up for a half hour and I get the message "Creating control xxxxxx" at the bottom of the screen.  It then looops through all the controls on the screen before I can finally get control of the PC.

# re: A few VS 2005 SP1 Links and Information Nuggets

Thursday, January 25, 2007 5:19 PM by ScottGu

Hi Dave,

Can you send me mail (scottgu@microsoft.com) about this and we'll figure out what is going on.

Thanks,

Scott

# Resizing a Panel control with an embedded TreeView control generates an error message

Thursday, February 1, 2007 6:49 PM by EricK

I believe the following problem started after I installed SP1.  Unfortunately, I can't guarantee that I followed the steps below prior to my SP1 installation.  (I'm looking for a co-worker with a pre-SP1 installation in order to generate an additional data point.)

Execute the following steps to recreate (or not) the problem I'm having:

-Start Visual Studio 2005 SP1.

-Select File | New | Project on the menu bar.

-Opt to create a C#, ASP.NET Web Application.

-Make sure you're in Design view (for the Default.aspx page).

-Drag a Panel control (a Standard control) onto the page.

-Drag a TreeView control (a Navigation control) onto the page, and into the panel control.

-Add at least one node to the TreeView control.

-Resize the Panel control by dragging one of its edges.

>> On my system, the TreeView control changes to an error box containing the following text:

"Error parsing control: Object reference not set to an instance of an object."

-Next switch to Source view.

-Finally, switch right back to Design view.

>> On my system, the TreeView control is rendered correctly again.

Any ideas?

Thanks, Eric

# re: A few VS 2005 SP1 Links and Information Nuggets

Sunday, February 4, 2007 6:12 PM by ScottGu

Hi Sheng,

I suspect the problem is that you don't have SP1 installed.  Either that, or perhaps you don't have the Visual Web Developer checkbox selected when you run VS setup?

Can you try installing SP1 again?

Thanks,

Scott

# re: A few VS 2005 SP1 Links and Information Nuggets

Sunday, February 4, 2007 6:26 PM by ScottGu

Hi Gianni,

Can you send me an email about the unit test performance issue you are seeing?  I will then loop someone in from that team to help investigate and figure out what is going wrong.

Thanks,

Scott

# VS 2005 in Vista has only Project Templates

Friday, February 9, 2007 12:25 PM by Paolo Pigantelli

I have a dual boot system XP/Vista (both final relaeses, fully patched).  VS 2005 works fine in XP with SP1 installed, but in the Vista partition, where I installed VS and SP1 and the Beta patch for VS for Vista, when I open, all I get in the Recent Projects template are:

Open Project or Creae Project.  I do not have the various choices of Open Web site, or Ajax Enabled website (i installed that too), etc...

If I click on Create Project->Visual Basic (or Visual C#) -> I have only templates (Visual Studio Installed Templates) ASP.Net Web Application and ASP.Net Web Service Application, and then in My Templates, I have Search Online Templates...

So, I seem to be missing a few templates.  Any idea on Thanks is happening?  

I am running VS in Run As Administrator mode (the little icon is next to the menu entry in the Start menu.)

# VS 2005 in Vista missing many templates

Friday, February 9, 2007 1:19 PM by Paolo Pignatelli

I have a dual boot system XP/Vista (both final releases, fully patched).  VS 2005 works fine in XP with SP1 installed, but in the Vista partition, where I installed VS and SP1 and the Beta patch for VS for Vista, when I open VS 2005, all I get in the Recent Projects template are:

Open Project or Create Project.  I do not have the various choices of Open Web site, or Ajax Enabled website (I installed ASP.NET Ajax 1 too), etc...

If I click on Create Project->Visual Basic (or Visual C#) -> I have only templates (Visual Studio Installed Templates) ASP.Net Web Application and ASP.Net Web Service Application, and then in My Templates, I have only the icon for Search Online Templates...

So, I seem to be missing a few templates.  Any idea on what is happening?  (VS seems not to be installing templates in

I am running VS in Run As Administrator mode (the little icon is next to the menu entry in the Start menu.)

# re: A few VS 2005 SP1 Links and Information Nuggets

Saturday, February 10, 2007 11:39 AM by ScottGu

Hi Paolo,

Can you send me an email with more details on this?  I will then loop someone in from the team to help.

Thanks,

Scott

# re: A few VS 2005 SP1 Links and Information Nuggets

Tuesday, February 13, 2007 1:26 AM by ScottGu

Hi Chris,

Can you send me an email with more details on this?  I will then loop someone in from the team to help.

Thanks,

Scott

# re: A few VS 2005 SP1 Links and Information Nuggets

Tuesday, February 27, 2007 2:18 AM by ScottGu

Hi Brent,

Can you go to add/remove programs and run the VS setup?  If you go to the customize link within VS setup it should give you a list of options about what is/isn't installed in VS.

In that list there should be a node for "Visual Web Developer".  You want to make sure that is checked.

If this doesn't work, please send me an email and I can have someone help you with it.

Thanks,

Scott

# re: A few VS 2005 SP1 Links and Information Nuggets

Saturday, March 3, 2007 9:14 PM by ScottGu

Hi Russ,

I haven't heard of that issue before.  Can you send me email (scottgu@microsoft.com) with the details of it?  I will then loop someone in on my team to help investigate.

Thanks,

Scott

# re: A few VS 2005 SP1 Links and Information Nuggets

Thursday, March 8, 2007 1:47 PM by ScottGu

Hi Ben,

Unfortunately I haven't heard any update on the ETA for an already-applied SP1 version of VS.  I'll push some more for this though.

Thanks,

Scott

# re: A few VS 2005 SP1 Links and Information Nuggets

Friday, March 16, 2007 2:27 AM by ScottGu

Hi Rajesh,

Can you send me an email with more details about the problem you are having?  I can then have someone on the team help you with this.

Thanks,

Scott