Skip to main content

No Visual Studio Template information found

I am facing the following issue in my Visual Studio 2008. When I try to Create new website or new project it shows following error message.

“No template information found. See the application log in Event Viewer for more details.

To open Event Viewer, click Start, Click Control Panel, double-click Administrative Tools, and then double-click Event Viewer.”

image

And then it show the new project screen without bunch of things:

image

Event log display following warning:

The global template information is out of date. Regenerate the templates by running 'devenv.exe /installvstemplates' or reinstalling the application.  Note: corrective action requires Administrator privileges.  

Things to try:

Run devenv /installvstemplates as suggested in Event Viewer.
Then Run devenv /resetsettings.

If this do not help then try to run Visual Studio Repair using program & features (Install/Unstall).

Temporary Fix: Manually copy the templates

FROM
“<VisualStudioInstallDir>\Common7\IDE\ItemTemplates” 
TO
“My Documents\Visual Studio 2005\Templates\ItemTemplates”.

Comments

  1. Thanks a lot. This worked for me under Server 2008 Standard. I installed SQL Server 2008, then Visual Studio 2008 and none the templates were there. After issuing those commands from the VS command line everything reappeared! Now I can work...

    ReplyDelete
  2. Thanks. I was searching a solution to appear mvc preview 5 template in visual studio 2008 express edition and this post solve my problem. Thanks

    ReplyDelete
  3. It worked for me after just running
    "Run devenv /installvstemplates as suggested in Event Viewer." - Should I still run devenv /resetsetings?

    ReplyDelete
  4. It worked for me
    but i trying to uninstall its give error
    "a problem has encounter while loading the setup components"

    what should i do?

    ReplyDelete
  5. You trying to install or uninstall? Are you referencing to running devenv /installvstemplates?

    ReplyDelete
  6. Thanks a lot,the copy and pasting the templates did work for my but the one suggested by the EventViewer didn't work.
    Well thanks for the help.

    ReplyDelete
  7. Thanks a lot, I tried second option that copy and paste the templates.

    ReplyDelete
  8. Thanks a lot,the copy and pasting the templates did work for my but the one suggested by the EventViewer didn't work.
    Well thanks for the help.

    ReplyDelete
  9. Thank you for the tips. It really helped a lot. I'll see whether it works,and ask you later

    Judithpof
    sd card data recovery software trial version free download

    ReplyDelete
  10. Many years after you posted this it saved the day for me. There are countless other post on various other websites giving basically the same non-working solution over and over again but your first solution did the trick for me. Many thanks.

    ReplyDelete

Post a Comment

Popular posts from this blog

SharePoint WebPart Error - Unable to add selected web part (s) – MOSS 2007

ISSUE: Recently I faced this issue that when I try to deploy my WebPart.  Unable to add selected web part(s). WebPartName: Cannon unregister UpdatePanel with ID ‘ctl00RTMPanel’ since it was not registerd with the ScripManager. This might occure if the UpdatePanel was removed from the control tree and later added again, which is not supported. Parameter name: updatePanel.   I faced this issue twice and both the time the issue was not what display here. This could be sure to any error in the WebPart. Following are list resolution from multiple instances.   RESOLUTION: 1. Check the WebPartName.webpart file. Check whether you have a proper PublicKeyToken value. When I face the issue the value was PublicKeyToken=$PublicKeyToken$. If you have used WSP builder then in the Visual Studio you will find this file at \WebPartsProject\12\TEMPLATE\FEATURES\WebPartName\WebPartName.webpart. Sometime when you create a new WebPart using WSP builder then ...

TIME – 25 Best Blogs of 2009

Every year Time makes a list of best blogs in the world. They chose 25 blogs from millions of blogs in the world, spanning politics, housekeeping, astronomy and everything in between. Below if a direct link to the TIME website for the list. I also copied it to easy comparison of last year best with this year best blogs.   25 Best Blogs of 2009     25 Best Blogs 2008   25 Best Blogs of 2009 Talking Points Memo The Huffington Post Lifehacker Metafilter The Daily Dish by Andrew Sullivan Freakonomics BoingBoing Got2BeGreen Zen Habits The Conscience of a Liberal: Paul Krugman Crooks and Liars Generación Y Mashable Slashfood Official Google Blog synthesis bleat /Film Seth Godin's Blog ...

Could not open virtual machine – vmx is not a valid virtual machine configuration file

I recently faced an issue with one of my VMWare virtual machine that when I try to run this virtual machine it did not work. VMWare display this message that “Could not open virtual machine: .vmx. ".vmx" is not a valid virtual machine configuration file.” ISSUE: Could not open virtual machine: G:\VPC\RakhiQAXPProfQtp\Windows XP Professional.vmx. "G:\VPC\RakhiQAXPProfQtp\Windows XP Professional.vmx" is not a valid virtual machine configuration file. I try to open .vmx file [G:\VPC\RakhiQAXPProfQtp\Windows XP Professional.vmx] in notepad then I found it was empty (0 KB). Resolution: I wanted to resolve it quickly so I try following method and it worked very well. But this is not a valid documented process so please try with caution. Following are the steps 1. First of all go to the folder where you have your virtual machine and delete all .lck folders. 564df2d4-03de-04e8-d1c3-bd2d53dcb1b7.vmem.lck Windows XP Professional.vmdk.lck ...