This is a migrated thread and some comments may be shown as answers.

Problems when creating a kendo mvc project with VS extension

5 Answers 592 Views
Installer and VS Extensions
This is a migrated thread and some comments may be shown as answers.
Danilo
Top achievements
Rank 1
Danilo asked on 16 Aug 2013, 12:36 PM
Hi!

I am trying to start a kendo mvc project with VS extension. However, when I use the wizard, it fails and I get this error:

An error occured while running the wizard.

Error executing custom action Telerik.KendoUI.Mvc.VSX.Actions.CopyResourcesAction: System.IO.FileLoadException: Could not load file or assembly 'Kendo.Mvc, Version=2013.2.716.340, Culture=neutral, PublicKeyToken=121fae78165ba3d4' or one of its dependencies. The keyset is not defined. (Exception from HRESULT: 0x80090019)
File name: 'Kendo.Mvc, Version=2013.2.716.340, Culture=neutral, PublicKeyToken=121fae78165ba3d4' ---> System.Runtime.InteropServices.COMException (0x80090019): The keyset is not defined. (Exception from HRESULT: 0x80090019)
   at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
   at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
   at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
   at System.Reflection.RuntimeAssembly.InternalLoadFrom(String assemblyFile, Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm, Boolean forIntrospection, Boolean suppressSecurityChecks, StackCrawlMark& stackMark)
   at System.Reflection.Assembly.LoadFrom(String assemblyFile)
   at Telerik.KendoUI.Mvc.VSX.Actions.CopyResourcesAction.GetKendoVersionedFolder(String mainAssemblyLoadInfo)
   at Telerik.KendoUI.Mvc.VSX.Actions.CopyResourcesAction.ModifyResources()
   at Telerik.KendoUI.Mvc.VSX.Actions.CopyResourcesAction.Execute(WizardContext wizardContext, IPropertyDataDictionary arguments, IProjectWrap project)
   at Telerik.VSX.Actions.ProjectActionBase.Execute(WizardContext wizardContext, IPropertyDataDictionary arguments)
   at Telerik.VSX.WizardEngine.Actions.ActionBase.Telerik.WizardFramework.IAction.Execute(IWizardContext wizardContext, IPropertyDataDictionary arguments)
   at Telerik.VSX.WizardEngine.ActionManager.ExecActions()

Does anyone know what it is happening?

Thanks!

5 Answers, 1 is accepted

Sort by
0
Vesko
Telerik team
answered on 19 Aug 2013, 03:24 PM
Hi Danilo,

Did you try to reinstall the extensions? Use the Extension Manager (Tools | Extensions Manager...) to uninstall and install them in case you didn't.

Please let me know if that helps.

Regards,
Vesko
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Alex M
Top achievements
Rank 1
answered on 23 Nov 2013, 06:12 PM
I have the similar issue.

When I creating new Kendo project in VS 2012 I getting the following error:

Error occured while running wizard.

System.IO.FileNotFoundException: The system cannot find the file specified. (Exception from HRESULT: 0x80070002)
   at EnvDTE80.Solution2.GetProjectTemplate(String TemplateName, String Language)
   at Telerik.VSX.Helpers.ProjectTemplateHelper.GetProjectTemplatePath(String templateZipFileName, DTE dte, ProjectLanguage projectLanguage, TargetFramework targetFramework)
   at Telerik.KendoUI.Mvc.VSPackage.VSTemplateEntryPointWizard.RunFinished()
   at Telerik.VSX.VSPackage.WizardBase.<Microsoft.VisualStudio.TemplateWizard.IWizard.RunFinished>b__3()
   at Telerik.VSX.VSPackage.WizardBase.CatchExceptionAndSendReport(Action action)

In VS 2010 all work fine.

Uninstall and reinstall the extension is not helped.

P.S.
You have misspell in error message "Error occured while running wizard." Correct variant is "Error occurred while running wizard."
0
Rick Hubka
Top achievements
Rank 1
answered on 25 Nov 2013, 03:35 PM
I get the same error.  I can not create a VS Kendo MVC project in VS 2012 Ult  (Win 8.1) using latest Nov 20 release.  I tried it at work and at home.  Same result.  I  uninstalled and re-installed. Same.   I have no problems creating a project with Telerik ASP.Net or Reporting or WinForms.  Just Kendo MVC.

Thanks
0
Missing User
answered on 26 Nov 2013, 01:59 PM
Hi Rick and Alex,

The error that Danilo has observed is different.

For the error that Alex posted, the most probable cause is that the target framework of the project was set to .NET Framework 4.5.1. The Visual Studio Extensions for Kendo UI for ASP.NET MVC are currently not supporting it. We will implement and release .NET Framework 4.5.1 support in the Visual Studio Extensions for Kendo UI for ASP.NET MVC soon. Meanwhile I would suggest you using .NET 4.5 as a target framework for your Kendo projects.

Alex, thank you very much for showing us the typo. We will correct it in the next VSExtensions builds.

Let me know if you need further assistance.

Regards,
Dimitar
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Rick Hubka
Top achievements
Rank 1
answered on 26 Nov 2013, 07:01 PM
Yup...  I was set to Framework 4.5.1
I switched to 4.5 and life is good again.

Thanks
Tags
Installer and VS Extensions
Asked by
Danilo
Top achievements
Rank 1
Answers by
Vesko
Telerik team
Alex M
Top achievements
Rank 1
Rick Hubka
Top achievements
Rank 1
Missing User
Share this question
or