Skip to content
May 10, 2011 / kiranpatils

Sitecore.Rocks.TemplateWizard, Version=0.7.0.0, Culture=neutral, PublicKeyToken=c9e2eeb5a3dd9908, processorArchitecture=MSIL

Challenge:

If you are getting following error, after Installing Sitecore Rocks and it is stopping you from Rocking your Sitecore, then this post is for you!

Error: this template attempted to load component assembly ‘Sitecore.Rocks.TemplateWizard, Version=0.7.0.0, Culture=neutral, PublicKeyToken=c9e2eeb5a3dd9908, processorArchitecture=MSIL‘. For more information on this problem and how to enable this template, please see documentation on Customizing Project Templates.

Solution:

Root cause : when Sitecore Rocks starts, it copies the Sitecore.Rocks.TemplateWizard.dll assembly to:

<Program Files (x86)\ Microsoft Visual Studio 10.0\Common7\IDE\PublicAssemblies

they need to do this to work around security in Visual Studio when creating files using the Add New Item dialog.

Try copying the assembly manually and see if the works. Steps as follows:

1. Open your webroot (e.g. C:\Inetpub\wwwroot\SND\Website\bin)

2. Copy ” Sitecore.Rocks.TemplateWizard.dll” and paste it to “C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\PublicAssemblies

3. That’s it! 🙂

Possible causes:

  1. Rocks does not have permission to copy the dll to PublicAssemblies.
  2. PublicAssemblies are not located where they think it is – possibly because the machines are running 32-bit.
  3. The user does not have execute permission in PublicAssemblies.

Thank to Urvesh for sharing this solution!

Happy Sitecore Rocking! 🙂

Advertisements

8 Comments

Leave a Comment
  1. Shane / Nov 22 2012 12:33 pm

    Thank you! This saved me so much time.

  2. Abhishek Shrivastava / Dec 16 2013 10:31 pm

    I had a similar issue when I used Sitecore Rocks in VS 2012. When I tried to add speak component, I got “Error: this template attempted to load component assembly ‘Sitecore.Rocks.TemplateWizard, Version=1.0.0.0, Culture=neutral, PublicKeyToken=c9e2eeb5a3dd9908, processorArchitecture=MSIL‘. For more information on this problem and how to enable this template, please see documentation on Customizing Project Templates.”.

    I did clean install of Sitecore Rocks, but that didn’t help either. It turned out despite reinstalling the Sitecore Rocks, the version of Sitecore.Rocks.TemplateWizard was 0.7.x.x

    I managed to resolve the issue by replacing the Sitecore.Rocks.TemplateWizard.dll (version 0.7.x.x) with the new version of dll (version 1.1.0.0 ) from my colleague who had no issues like me.

    • kiranpatils / Dec 19 2013 12:05 am

      Abhishek — Great! Thanks for sharing your experience with us. Hope it will help someone!

      Keep Sharing,
      Kiran Patil

  3. Nikki Punjabi / Sep 15 2014 1:15 pm

    If you are using VS2013 you will get similar error. So for that you have to copy Sitecore.Rocks.TemplateWizard.dll file from C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\PublicAssemblies and paste it at C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\PublicAssemblies

    This resolved my issue.

    • Sen Gupta / May 26 2015 3:50 pm

      This works like charm!

  4. vidya / Jun 8 2016 11:52 am

    Hi,

    I have tried out all the above mentioned solutions for this error , still its not getting resolved. Please help.I m using vs 2013

    • kiranpatils / Aug 22 2016 5:18 am

      Still looking for help?

Trackbacks

  1. My Notes on Sitecore CMS Advanced .NET Developer (AND) « Sitecore basics!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: