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.
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...
Thanks
xinqiu
Web Platform and Tools
Thanks and Best Regards
Xinyang Qiu, Azure Web Platform and Tools team, Microsoft
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
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
10.0\Common7\IDE
devenv /installvstemplates
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.
Thanks and Best Regards
Xinyang Qiu, Azure Web Platform and Tools team, Microsoft
<div>xqui,</div> <div> </div> <div>Thanks for the suggestion. I tried the "devenv ..." command but got an error message "The operation could not be completed. The requested operation requires elevation ...". Do you know of alternatives to refresh corrupted
VS templates or other resources I can check. I've done some searches on MSDN but have not found any help to repair/update built in templates.</div> <div> </div> <div>alexjt</div>
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.
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!
rswetnam
Member
40 Points
150 Posts
Club Starter Kit - Exception from HRESULT: 0x80041FEB
May 01, 2010 03:45 PM|LINK
Hi:
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.
roger
xinqiu
Member
476 Points
116 Posts
Microsoft
Re: Club Starter Kit - Exception from HRESULT: 0x80041FEB
May 14, 2010 11:54 PM|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.
Thanks.
Xinqiu
Web Development Tools
Xinyang Qiu, Azure Web Platform and Tools team, Microsoft
alexjt
Member
14 Points
8 Posts
Re: Club Starter Kit - Exception from HRESULT: 0x80041FEB
Jul 04, 2010 08:30 PM|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.
alexjt
xinqiu
Member
476 Points
116 Posts
Microsoft
Re: Club Starter Kit - Exception from HRESULT: 0x80041FEB
Jul 05, 2010 12:59 AM|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...
Thanks
xinqiu
Web Platform and Tools
Xinyang Qiu, Azure Web Platform and Tools team, Microsoft
alexjt
Member
14 Points
8 Posts
Re: Club Starter Kit - Exception from HRESULT: 0x80041FEB
Jul 09, 2010 11:12 PM|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
xinqiu
Member
476 Points
116 Posts
Microsoft
Re: Club Starter Kit - Exception from HRESULT: 0x80041FEB
Jul 11, 2010 03:32 PM|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 10.0\Common7\IDE
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.
Xinyang Qiu, Azure Web Platform and Tools team, Microsoft
alexjt
Member
14 Points
8 Posts
Re: Club Starter Kit - Exception from HRESULT: 0x80041FEB
Jul 12, 2010 04:58 AM|LINK
alexjt
Member
14 Points
8 Posts
Re: Club Starter Kit - Exception from HRESULT: 0x80041FEB
Jul 12, 2010 05:14 AM|LINK
xqui,
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.
alexjt
alexjt
Member
14 Points
8 Posts
Re: Club Starter Kit - Exception from HRESULT: 0x80041FEB
Jul 12, 2010 04:18 PM|LINK
xqui,
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!
alexjt
xinqiu
Member
476 Points
116 Posts
Microsoft
Re: Club Starter Kit - Exception from HRESULT: 0x80041FEB
Jul 13, 2010 01:38 AM|LINK
I forgot to mention that you need to run the devenv command from an elevated command prompt. could you please try again?
Xinyang Qiu, Azure Web Platform and Tools team, Microsoft