Last post Jul 13, 2010 05:21 AM by alexjt
May 01, 2010 04:45 PM|rswetnam|LINK
I downloaded and ran the Club Starter Kit with my new installation of Visual Studio 10. I went to create a new Web Application - selected the Club Starter Kit in Templates (C#) and got the following very informative error:
Exception from HRESULT: 0x80041FEB
Any help figuring this out and getting started would be greatly appreciated.
May 15, 2010 12:54 AM|xinqiu|LINK
Thanks. I found this a VS2010 bug that I've logged to our internal database.
2 workaround proposed:
1. Change the installed template file by:
a. find the template: e.g. C:\Users\UserName\Documents\Visual Studio 2010\Templates\ProjectTemplates\Visual Web Developer\CSharp\club_rtm_v1_cs.zip
b. Extract the file ProjectName.webproj from the zip file
c. Edit this file, remove the 1 null byte from it to make it totally empty
d. Update this file for the zip file (e.g. in windows 7, you can just drag/drop the new file to the zip folder
2. Create the website in VS2008, then open it using VS2010.
Apologies for our bug. Hope the workaround works for you.
Web Development Tools
Jul 04, 2010 09:30 PM|alexjt|LINK
I got the same error box when I tried to: Add New Item / MVC 2 View Master Page / Add. Any ideas/suggestions?
I appreciate your help.
Jul 05, 2010 01:59 AM|xinqiu|LINK
Hi, alexjt, I can't repro your problem using default MVC 4.0 web project in VS2010. Could you give me a repro from start that shows your problem? Only if I can repro it, I can log the bug to our database...
Web Platform and Tools
Jul 10, 2010 12:12 AM|alexjt|LINK
Thanks, xinqiu, for your prompt response. Here are steps that repro the
problem for me. First, I'm using VS2010 C# and create a new MVC2
application. I then try to create a new master page by: right clicking on
Views/Shared folder in Solution Explorer then Add/NewItem then MVC2 View
Master Page / Add. At that point I get the Exception error dialog box
I hope this helps. -alexjt
Jul 11, 2010 04:32 PM|xinqiu|LINK
Alexjt, I still can't repro it on my machine. I think you might get a corrputed item template somehow. Try the following to see if it works for you:
1. First, close Visual Studio.
2. Open a new ‘Visual Studio 2010 Command Prompt’. Once there type the following command at the prompt, press enter and wait… This should reset the project and item templates and their cache directorys in C:\Program Files (x86)\Microsoft Visual Studio
3. It should take a few minutes, though no GUI indicates the process. Wait until devenv process disappears in the windows task viewer.
Hope this solves your problem.
Jul 12, 2010 05:58 AM|alexjt|LINK
Jul 12, 2010 06:14 AM|alexjt|LINK
I've done some more digging on this and found two additional templated that don't work: MVC2 View User Control and MVC2 View Content Page. I also tried MVC2 View Page and that works.
Jul 12, 2010 05:18 PM|alexjt|LINK
I appreciate the time and attention you've given to my problem. At this point I think it's out of scope of this thread so I'm going to take it up with MSDN support. Thanks again!
Jul 13, 2010 02:38 AM|xinqiu|LINK
I forgot to mention that you need to run the devenv command from an elevated command prompt. could you please try again?
Jul 13, 2010 05:21 AM|alexjt|LINK
That worked, thanks a million! (I entered the devenv ... command on the Visual Studio command prompt under Visual Studio Tools. The add View Master Page and View Content Page functions now work correctly.) I can now proceed with my MVC2 studies.
Again, I appreciate your time, patience, and helpfulness!