Gotcha: Fixing Error with VS 2005 SP1 Beta and older Web Application Project Templates

Two weeks ago we released the VS 2005 SP1 Beta.  You can download it for free by visiting and registering on the Microsoft Connect Site

This release contains several hundred fixes for customer reported bugs with VS 2005.  It also includes built-in support for the VS 2005 Web Application Project, which we previously released earlier this year as a standalone download (SP1 adds a few additional features to it, fixes a few bug, and has some additional performance tunings for it).  Before installing VS 2005 SP1 (both the Beta and final release), you'll need to uninstall any previous installs of the VS 2005 Web Application Project standalone download that you have on your machine. 

One bug that we've seen some developers run into is an issue where - if they have installed an older build of the VS 2005 Web Application Project on their machine before - they get the below error dialog message when they try to add new items to a Web Application project immediately after installing the new SP1 Beta Support for it:

Error: this template attempted to load an untrusted component 'Microsoft.VisualStudio.Web.Application, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. For more information on this problem and how to enable this template, please see documentation on Customizing Project Templates.

This is caused by a bug with the SP1 Beta setup.  You can fix this with the SP1 Beta by closing VS 2005, and then open up the "Visual Studio 2005 Command Prompt" (there is an icon for it in your Start Menu->Visual Studio 2005->Visual Studio Tools folder), and run this command from within it:

devenv.exe /InstallVSTemplates

This will correctly re-configure the add item templates and make everything work fine. 

Hope this helps,

Scott

P.S. The setup issue will be fixed for the final SP1 release - so the steps above are only needed with the Beta. 

Published Sunday, October 08, 2006 9:52 PM by ScottGu

Comments

# .Sitecore » Good news about Web Application model and namespaces

PingBack from http://sitecore.alexiasoft.nl/2006/10/09/good-news-about-web-application-model-and-namespaces/

# re: Gotcha: Fixing Error with VS 2005 SP1 Beta and older Web Application Project Templates

Monday, October 09, 2006 3:30 AM by Plip

Scott,

Is everything okay with the Web deployment Projects or do those need uninstalling too?

Cheers,

Phil.

# re: Gotcha: Fixing Error with VS 2005 SP1 Beta and older Web Application Project Templates

Monday, October 09, 2006 4:16 AM by Steve
Hi Scott. Do you know when SP1 will be released? Do you know if any of the fixes are to do with saving CSS files that causes VS to crash? Thanks Steve

# re: Gotcha: Fixing Error with VS 2005 SP1 Beta and older Web Application Project Templates

Monday, October 09, 2006 7:18 AM by Mike
Cool! I had no idea what the status for SP1 was, but if it's beta now, it can't be long before the final right? I have some question though: * Is there a release date that we can hear from you? * If not, is there a way to get notified of the release? Also, I see on the feedback pages that display of nested masterpages is not fixed. Bummer! And I also conclude from the feedback pages that Cassini still can't start a WebSite from the root. That were two things that I was really hoping to see fixed. SP2 perhaps? ;-)

# re: Gotcha: Fixing Error with VS 2005 SP1 Beta and older Web Application Project Templates

Monday, October 09, 2006 7:47 AM by Jonas
Is there a realease date on the final SP1? Thanks! /Jonas

# re: Gotcha: Fixing Error with VS 2005 SP1 Beta and older Web Application Project Templates

Monday, October 09, 2006 9:04 AM by ScottGu

Hi Phil,

You shouldn't have any problems with Web Deployment Packages.  The reason you need to uninstall the Web Application Project option is because we use the same package ID with the SP1 bits and separate download (since you obviously don't want to have to change your project files).

Hope this helps,

Scott

# re: Gotcha: Fixing Error with VS 2005 SP1 Beta and older Web Application Project Templates

Monday, October 09, 2006 9:11 AM by ScottGu

Hi Jonas/Mike/Scott,

We don't have a final SP1 date published - since right now we are waiting to see what issues people find with the Beta.

SP betas differ from regular release betas in that we don't check-in "beta code" to SPs.  Instead, we only check in product fixes - and those need to be thoroughly tested.  So the stability of an SP beta is typically extremely high (since it is simply a roll-up of a lot of a lot of fixes).

Steve -- can you describe (or send me mail) on the CSS issue you mention above with the final release of VS 2005?  We can then check to make sure that is fixed.

Mike -- nested master pages is a pretty big feature, and we typically don't add features to SPs (since the goal is for them to be very stable releases as opposed to have feature creep).  That is why it isn't in the SP.  I will check on whether the root option for Cassini is available for web-site projects now (I thought it was).  I do know that it is available for web application projects.

Hope this helps,

Scott

# re: Gotcha: Fixing Error with VS 2005 SP1 Beta and older Web Application Project Templates

Tuesday, October 10, 2006 1:10 AM by vikram
Great to know we are on our way to sp1(release) for vs2005

# re: Gotcha: Fixing Error with VS 2005 SP1 Beta and older Web Application Project Templates

Tuesday, October 10, 2006 6:45 AM by Majid Shahabfar
Dear Scott, VS 2005 Web Application Projects don't automatically support generating a strongly-typed Profile class proxy. Is this problem solved in this Service Pack?

# re: Gotcha: Fixing Error with VS 2005 SP1 Beta and older Web Application Project Templates

Tuesday, October 10, 2006 10:13 AM by David
Hi Scott, Question, why is there so much drill down within VS Studio and it's structure.

# re: Gotcha: Fixing Error with VS 2005 SP1 Beta and older Web Application Project Templates

Tuesday, October 10, 2006 10:54 AM by ScottGu

Hi David,

VS is pretty flexible and pluggable, which is why there are several levels of structures within the item/project template system.

The core VS actually doesn't know anything special about C# or VB - they use the same plug-in mechanisms for projects that other languages use as well.

Hope this helps,

Scott

# re: Gotcha: Fixing Error with VS 2005 SP1 Beta and older Web Application Project Templates

Tuesday, October 10, 2006 10:56 AM by ScottGu

Hi Majid,

The Profile object still needs to be generated separately.  The good news is that there is a free add-in that will manage this for you: http://www.gotdotnet.com/workspaces/workspace.aspx?id=406eefba-2dd9-4d80-a48c-b4f135df4127

Hope this helps,

Scott

# re: Gotcha: Fixing Error with VS 2005 SP1 Beta and older Web Application Project Templates

Tuesday, October 10, 2006 1:09 PM by Jonas
Hi Scott, what Majid asked, and I also want to know now that he mentioned it is if that problem will be fixed in the SP1. Best regards Jonas

# Link Listing - October 10, 2006

Tuesday, October 10, 2006 11:40 PM by Christopher Steen
My Favorite Little Function - FixUrl [Via: Stephen Wright ] Generate Google Earth KML using ASP.net...

# re: Gotcha: Fixing Error with VS 2005 SP1 Beta and older Web Application Project Templates

Wednesday, October 11, 2006 2:33 AM by Chris.N
Hi Scott, does SP1 apply to VWD Express Edition as well (I hope so!!!!). Thanks.

# re: Gotcha: Fixing Error with VS 2005 SP1 Beta and older Web Application Project Templates

Wednesday, October 11, 2006 9:48 AM by TheJeffer
Sniff, sniff. I feel so special. The almighty Scott Guthrie posted my workaround to his blog. https://connect.microsoft.com/VisualStudio/feedback/Workaround.aspx?FeedbackID=212673 Now if y'all can just find some way to speed up the zillion hour install of SP1, we'll be golden. Oh, and 10 MILLION thanks for fixing the "Properties window does not save position on dual monitors" bug. That one had been driving me nuts for ages now. Good work!

# re: Gotcha: Fixing Error with VS 2005 SP1 Beta and older Web Application Project Templates

Wednesday, October 11, 2006 10:32 AM by Eirik
Hi Scott. I've been using the beta for 1 week now, and it seems very stable. However there is one thing I really hope will be imporved in the final version, and that is the speed of the ftp client. It is terrible slow. Uploading 5MB of files with the integrated ftp client can take up to 5-10 minutes. Using a third party ftp client this will take less than a minute... do you know if this is something the Visual Studio team is working on improving?

# re: Gotcha: Fixing Error with VS 2005 SP1 Beta and older Web Application Project Templates

Wednesday, October 11, 2006 5:26 PM by Phil Morris
Erik: Instead of using a traditional FTP client, try Web!Up (http://www.dotnetwebtools.com/aspx/Web!Up.aspx). It is based on .NET remoting and uses a server based agent that makes publishing updates very simple and very fast.

# re: Gotcha: Fixing Error with VS 2005 SP1 Beta and older Web Application Project Templates

Thursday, October 12, 2006 2:25 AM by Eirik
Phil: Thank you for the tip. I'll check it out

# re: Gotcha: Fixing Error with VS 2005 SP1 Beta and older Web Application Project Templates

Thursday, October 12, 2006 8:11 AM by Eirik
Hi. I discovered som bugs in the beta. These are not new to the beta though. They always been there in VS2005: 1. Html files are created as ansi files. Should be UTF8. 2. Design view is buggy. The property manager wont update when selecting controls. 3. Can't double click on a word to select it in design view, if word is in a table cell Will this be fixed in final release?

# re: Gotcha: Fixing Error with VS 2005 SP1 Beta and older Web Application Project Templates

Thursday, October 12, 2006 1:48 PM by ScottGu

Hi Eirik,

If you can send me email detailing these issues I will loop folks in on the thread to comment on them.

Thanks,

Scott

# The C# Teams Needs Input on VS 2005 SP1 Beta!

Thursday, October 12, 2006 3:06 PM by Charlie Calvert's Community Blog

The C# Team needs your help! The Visual Studio 2005 SP1 Beta needs more testers doing more testing. We

# re: Gotcha: Fixing Error with VS 2005 SP1 Beta and older Web Application Project Templates

Thursday, October 12, 2006 4:22 PM by Steven
Something that may be worth looking into but installing the SP with Sophos antivirus causes a computer to become completely unresponsive for an extended period of time. I've never had this with any other install.

# re: Gotcha: Fixing Error with VS 2005 SP1 Beta and older Web Application Project Templates

Thursday, October 12, 2006 4:22 PM by Denny Ferrassoli
I've been having an issue where my debugger stalls and fails to re-enable the "play" button on the toolbar (this is beta SP1). The debug menu is not affected.

# re: Gotcha: Fixing Error with VS 2005 SP1 Beta and older Web Application Project Templates

Thursday, October 12, 2006 4:45 PM by ScottGu

Hi Denny,

If you click the "stop" button for debugging, does the play button get re-enabled?

Thanks,

Scott

# re: Gotcha: Fixing Error with VS 2005 SP1 Beta and older Web Application Project Templates

Thursday, October 12, 2006 8:19 PM by Gerry
Hi Scott. Will the LINQ May 2006 CTP still install and work on VS2005 SP1 beta. If so do we need to uninstall/reinstall ?

# re: Gotcha: Fixing Error with VS 2005 SP1 Beta and older Web Application Project Templates

Friday, October 13, 2006 7:58 AM by James Shaw
I couldnt get SP1 :( I got a page saying it was unavailable or I didnt have permissions. It quoted 17ea8f49-dbb2-4227-b368-cea3270aaaa4. I'll try again tomorrow!

# re: Gotcha: Fixing Error with VS 2005 SP1 Beta and older Web Application Project Templates

Saturday, October 14, 2006 10:46 AM by ScottGu

Hi James,

Let me know if you still have problems and I'd be happy to loop you in with a few folks to help.

Thanks,

Scott

# Community Convergence VII

Sunday, October 15, 2006 7:05 PM by Charlie Calvert's Community Blog

The team needs your help debugging the new Visual Studio 2005 Service Pack 1 Beta . I've written about

# re: Gotcha: Fixing Error with VS 2005 SP1 Beta and older Web Application Project Templates

Monday, October 16, 2006 7:36 PM by Wayne
First time checking out your blog...pretty cool stuff.

# re: Gotcha: Fixing Error with VS 2005 SP1 Beta and older Web Application Project Templates

Thursday, October 19, 2006 11:40 PM by JP
Wow, what is going on in this install? I think I could have installed VS 2005 twice in the time it takes this thing to run.

# re: Gotcha: Fixing Error with VS 2005 SP1 Beta and older Web Application Project Templates

Thursday, October 19, 2006 11:47 PM by ScottGu

Hi JP,

The service pack basically updates pretty much every file created by VS -- so it unfortunately does take awhile to update.

Sorry about that,

Scott

# Visual Studio 2005: Web Application Project Template e SP1 Beta

Friday, October 20, 2006 3:13 AM by Alessandro Sorcinelli

Microsoft ha rilasciato da poco un template che aggiunge a Visual Studio 2005 una nuova tipologia di...

# Community Convergence VIII

Monday, October 23, 2006 2:12 AM by Charlie Calvert's Community Blog

Welcome to the eighth installment of Community Convergence . This week let's focus on two C# Wikis available

# re: Gotcha: Fixing Error with VS 2005 SP1 Beta and older Web Application Project Templates

Thursday, October 26, 2006 12:04 AM by Paul Groke
Hi Scott, sometimes the debugger has strange delays. Often it stops on a breakpoint, correctly displays the "yellow arrow", but then it takes some time (maybe about 1-3 seconds) until the "play"/"stop" and "step" buttons are enabled. Other times when I run the exact same program with the exact same input and the same BP is hit there is absolutels no noticable delay. Same effect when I hit "stop" to stop debugging - sometimes it takes a few seconds until the "play" and "pause" button are enabled again. It's really not anything that would keep me from usgin the product, it's just strange. And maybe related to what Denny reported?

# re: Gotcha: Fixing Error with VS 2005 SP1 Beta and older Web Application Project Templates

Saturday, October 28, 2006 1:28 PM by ScottGu

Hi Paul,

Can you send me an email that summarizes these issues you are seeing with the debugger?  I can then loop you in with some folks here who can help investigate and figure out what is going on.

Thanks,

Scott

# re: Gotcha: Fixing Error with VS 2005 SP1 Beta and older Web Application Project Templates

Saturday, November 04, 2006 6:36 PM by Paul Groke
Hi Scott, I would send you an email, however I can't find your address anywhere :) Maybe I didn't look in the right places. But I've found out one way to reproduce the problem - kind of. Just put a BP in the middle of some program (doesn't need to be a big program, a "hello word" console app does it), then press STOP while execution is paused on that BP, and keep moving the mouse in circles (or hit the control key repeatedly or keep moving the caret with the cursor keys). As long as you do this the START button and the configuration dropdown lists will not be re-enabled. So if you're a little nervous and keep moving the mouse around while you wait until you can start you program over again, you can wait for a long time :) Might be some kind of timer that's reset while the user is working so that the various checks/updates that are performed when it expires don't delay the user while (s)he's actively working. As I said before, no big deal for me, once I know it behaves like that I can live with it.

# Community Convergence X

Tuesday, November 07, 2006 11:26 AM by Charlie Calvert's Community Blog

Welcome to the tenth Community Convergence release. If you are reading this on the front page of the

# re: Gotcha: Fixing Error with VS 2005 SP1 Beta and older Web Application Project Templates

Thursday, November 16, 2006 9:33 PM by Mark Hildreth

Hi Scott,

Now that the beta testing is complete for VS 2005 SP1, do you have a time frame for the release date?

# re: Gotcha: Fixing Error with VS 2005 SP1 Beta and older Web Application Project Templates

Friday, November 17, 2006 10:40 AM by ScottGu

Hi Mark,

The VS team is just finishing up SP1 now.  It shouldn't be too much longer now.

Sorry for the delay,

Scott

# re: Gotcha: Fixing Error with VS 2005 SP1 Beta and older Web Application Project Templates

Tuesday, November 21, 2006 10:45 AM by Judy Calla

Hi Scott,

Where can I find the list of fixes included in VS 2005 SP1?  I had some problems converting a web app from 2003 to 2005 and I want to see if they are on the list.

Thank you,

Judy

# re: Gotcha: Fixing Error with VS 2005 SP1 Beta and older Web Application Project Templates

Tuesday, November 21, 2006 11:00 AM by ScottGu

Hi Judy,

I believe the servicing team is putting together a comprehensive list of the fixes now that they will be posting shortly.

If you could send me details about the specific issue you were running into via email, I can check to see if it is on the list and/or have someone help you.

Thanks,

Scott

# re: Gotcha: Fixing Error with VS 2005 SP1 Beta and older Web Application Project Templates

Wednesday, December 06, 2006 12:06 PM by Rob Ainscough

I'm very concerned that the IDE designer issues have not been resolved with Web App Projects.

Specifically:

1.  Controls being "unselectable" when clicking on them (when page is based on a Master page) -- and NO, I'm not talking about the controls actually on the Master.

2.  60 second debug context switch issue

3.  the default to negative coordinate settings when changing control layout property so the control is moved out of view and not visible (have to manually change the coordinates)

4.  Horrible multi-control selection performance -- I mean just miserably slow even on a very fast system (two processors, 4GB RAM, 10K rpm drives)

5.  Mouse bug -- need to move the mouse to get web app to display (they build but don't display unit I move the mouse).

A detailed bug fix list and an approximate release date would be VERY helpful.  And is soon 1 week, 1 month, 1 quarter, 1 year?

Thanks, Rob.

# re: Gotcha: Fixing Error with VS 2005 SP1 Beta and older Web Application Project Templates

Friday, December 08, 2006 12:30 AM by ScottGu

Hi Rob,

Can you send me email (scottgu@microsoft.com) with more details about the errors you are seeing?  I can then loop someone in from the team to help figure out why you are seeing what you are seeing.

Thanks,

Scott

# re: Gotcha: Fixing Error with VS 2005 SP1 Beta and older Web Application Project Templates

Friday, December 08, 2006 3:51 PM by Vitaly

Christmas is nearly upon, but still no SP1, despite all the promises...

# re: Gotcha: Fixing Error with VS 2005 SP1 Beta and older Web Application Project Templates

Sunday, December 10, 2006 11:31 PM by ScottGu

Hi Vitaly,

SP1 is just being finished up now and should be out very shortly.

Hope this helps,

Scott

# re: Gotcha: Fixing Error with VS 2005 SP1 Beta and older Web Application Project Templates

Wednesday, December 13, 2006 9:13 PM by Kevin C

Regarding the "60 second debug context switch issue"

Google the exception type and is easy to find fix for this...you just tell the debugger to not break on this type of error and the problem disappears.

# re: Gotcha: Fixing Error with VS 2005 SP1 Beta and older Web Application Project Templates

Friday, December 15, 2006 5:15 AM by Andrew Jones

How do I install SP1 on top of SP1 Beta?

Do I have to uninstall VS first?

# re: Gotcha: Fixing Error with VS 2005 SP1 Beta and older Web Application Project Templates

Wednesday, December 20, 2006 2:07 PM by Jonas Bush

Scott, I'm running into the issue described here:

http://forums.asp.net/thread/1503000.aspx

I did a clean install of VS2005 Team Developer, then installed SP1, but my existing WAP projects won't load. Any thoughts?

Thanks!

Jonas Bush

# re: Gotcha: Fixing Error with VS 2005 SP1 Beta and older Web Application Project Templates

Wednesday, January 03, 2007 4:11 PM by Ted Jardine

Interestingly enough, I have a successful SP1 install, but still encountered the above error whenever attempting to add a new item to my WAP. Attempted the above fix running devenv.exe/InstallVSTemplates, resulting in an "out of date templates" error. Checked the Application log and was advised to run devenv /installvstemplates; ran that and now all good to go!

Ted

# PLR Articles - Monthly Private Label Articles

Saturday, March 22, 2008 9:31 PM by PLR Articles - Monthly Private Label Articles

I have used plr articles successfully and it has given a boost on my traffic counts

# Internet Business Training Program

Tuesday, May 13, 2008 10:58 PM by Internet Business Training Program

when twentysomething millionaires rode their scooters through the corridors of short- lived startups and companies with little or no real revenues were commanding obscene...