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

VS extension error while creating solution with template and preexisting solutions no longer function. Persists through reinstall

7 Answers 303 Views
Installer and VS Extensions
This is a migrated thread and some comments may be shown as answers.
Zachary
Top achievements
Rank 1
Zachary asked on 04 Feb 2016, 05:55 PM
I am getting this error every time I go to create a new solution from the Telerik asp.net AJAX web app template.  My preexisting solutions will also no longer function.  It seems they can't find most of the telerik assemblies.  I first tried to repair the installation; I then tried uninstalling and re installing the telerik asp.net AJAX package.  I'm getting the same error as before.

Any help would be greatly appreciated.



Error occurred while running wizard.

System.Windows.Markup.XamlParseException: Set property 'System.Windows.ResourceDictionary.Source' threw an exception. ---> System.IO.FileNotFoundException: Could not load file or assembly 'Telerik.Windows.Themes.Modern.2012.2.0903.1135, Culture=neutral' or one of its dependencies. The system cannot find the file specified.
   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.Assembly.Load(AssemblyName assemblyRef)
   at System.Windows.Navigation.BaseUriHelper.GetLoadedAssembly(String assemblyName, String assemblyVersion, String assemblyKey)
   at MS.Internal.AppModel.ResourceContainer.GetResourceManagerWrapper(Uri uri, String& partName, Boolean& isContentFile)
   at MS.Internal.AppModel.ResourceContainer.GetPartCore(Uri uri)
   at System.IO.Packaging.Package.GetPartHelper(Uri partUri)
   at System.IO.Packaging.Package.GetPart(Uri partUri)
   at System.IO.Packaging.PackWebResponse.CachedResponse.GetResponseStream()
   at System.IO.Packaging.PackWebResponse.GetResponseStream()
   at System.IO.Packaging.PackWebResponse.get_ContentType()
   at MS.Internal.WpfWebRequestHelper.GetContentType(WebResponse response)
   at MS.Internal.WpfWebRequestHelper.GetResponseStream(WebRequest request, ContentType& contentType)
   at System.Windows.ResourceDictionary.set_Source(Uri value)
   at System.Windows.Baml2006.WpfSharedBamlSchemaContext.<>c__DisplayClass0.<Create_BamlProperty_ResourceDictionary_Source>b__453(Object target, Object value)
   at System.Windows.Baml2006.WpfKnownMemberInvoker.SetValue(Object instance, Object value)
   at MS.Internal.Xaml.Runtime.ClrObjectRuntime.SetValue(XamlMember member, Object obj, Object value)
   at MS.Internal.Xaml.Runtime.ClrObjectRuntime.SetValue(Object inst, XamlMember property, Object value)
   --- End of inner exception stack trace ---
   at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
   at System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)
   at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
   at System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
   at Telerik.VSX.Shell.Xaml.CommonXaml.InitializeComponent()
   at Telerik.VSX.Shell.VSWindow..ctor()
   at Telerik.VSX.WizardEngine.UI.WizardForm..ctor()
   at Telerik.VSX.WizardEngine.UI.WizardForm.Create(String title, String titleIcon, String backgroundImage)
   at Telerik.Web.UI.VSX.ProjectConfigurators.ProjectConfigurationTypeSelector.CreateWizardForm(String title, String titleIcon, String backgroundImage)
   at Telerik.Web.UI.VSX.ProjectConfigurators.ProjectConfigurationTypeSelector.NewProject(ProjectKind projectKind)
   at Telerik.Web.UI.VSX.ProjectConfigurators.NewProjectConfigurator.GetProjectConfigurator()
   at Telerik.VSX.ProjectConfiguration.DiscontinuousProjectConfiguration.TryCollectData()
   at Telerik.VSX.VSPackage.TemplateWizardBase.PrepareWizard(Object automationObject, Dictionary`2 replacementsDictionary)
   at Telerik.VSX.VSPackage.TemplateWizardBase.RunStarted(Object automationObject, Dictionary`2 replacementsDictionary, WizardRunKind runKind, Object[] customParams)
   at Telerik.VSX.VSPackage.TemplateEntryPointWizardBase.RunStarted(Object automationObject, Dictionary`2 replacementsDictionary, WizardRunKind runKind, Object[] customParams)
   at Telerik.VSX.VSPackage.WizardBase.<>c__DisplayClass5.<Microsoft.VisualStudio.TemplateWizard.IWizard.RunStarted>b__4()
   at Telerik.VSX.VSPackage.WizardBase.CatchExceptionAndSendReport(Action action)

7 Answers, 1 is accepted

Sort by
0
Steliyan
Telerik team
answered on 05 Feb 2016, 01:21 PM
Hello Zachary,

Thank you for contacting us.

We are unable to reproduce the described issue.

I would recommend you to manually uninstall and install Telerik ASP.NET AJAX VS extension.
To do so, follow these steps:
1. Launch Visual Studio
2. Select Extensions and Updates... under the Tools menu
3. Expand Installed tab
4. Type "Telerik ASP.NET.AJAX" into the Search box
5. Mark the extensions and press Uninstall button
6. Restart Visual Studio when it prompted
7. Select Extensions and Updates... under the Tools menu
8. Expand Online tab and choose Visual Studio Gallery
9. Type "Telerik ASP.NET AJAX" into the Search box
10. Mark the extensions and press Download button
11. Proceed with the download and the installation
12. Restart Visual Studio when it prompted

Please let me know if that resolves your issue.

Looking forward to your response.

Regards,
Steliyan
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Zachary
Top achievements
Rank 1
answered on 05 Feb 2016, 08:11 PM

I did  exactly as instructed and still received an error, pasted below.  It seems the error first started when I had two solutions open, the live demo and my solution.  I was locating needed class files in the live demo and adding them to my solution, then all of a sudden everything relating to telerik, even the assemblies, stopped working.

After uninstalling-reinstalling a couple times I'm now able to edit my previously created telerik solutions normally.

 if this helps here is some more info.  I'm on VS 2015 enterprise NOT updated to update1.  

 

Error occurred while running wizard.

System.Windows.Markup.XamlParseException: Set property 'System.Windows.ResourceDictionary.Source' threw an exception. ---> System.IO.FileNotFoundException: Could not load file or assembly 'Telerik.Windows.Themes.Modern.2012.2.0903.1135, Culture=neutral' or one of its dependencies. The system cannot find the file specified.
   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.Assembly.Load(AssemblyName assemblyRef)
   at System.Windows.Navigation.BaseUriHelper.GetLoadedAssembly(String assemblyName, String assemblyVersion, String assemblyKey)
   at MS.Internal.AppModel.ResourceContainer.GetResourceManagerWrapper(Uri uri, String& partName, Boolean& isContentFile)
   at MS.Internal.AppModel.ResourceContainer.GetPartCore(Uri uri)
   at System.IO.Packaging.Package.GetPartHelper(Uri partUri)
   at System.IO.Packaging.Package.GetPart(Uri partUri)
   at System.IO.Packaging.PackWebResponse.CachedResponse.GetResponseStream()
   at System.IO.Packaging.PackWebResponse.GetResponseStream()
   at System.IO.Packaging.PackWebResponse.get_ContentType()
   at MS.Internal.WpfWebRequestHelper.GetContentType(WebResponse response)
   at MS.Internal.WpfWebRequestHelper.GetResponseStream(WebRequest request, ContentType& contentType)
   at System.Windows.ResourceDictionary.set_Source(Uri value)
   at System.Windows.Baml2006.WpfSharedBamlSchemaContext.<>c__DisplayClass0.<Create_BamlProperty_ResourceDictionary_Source>b__453(Object target, Object value)
   at System.Windows.Baml2006.WpfKnownMemberInvoker.SetValue(Object instance, Object value)
   at MS.Internal.Xaml.Runtime.ClrObjectRuntime.SetValue(XamlMember member, Object obj, Object value)
   at MS.Internal.Xaml.Runtime.ClrObjectRuntime.SetValue(Object inst, XamlMember property, Object value)
   --- End of inner exception stack trace ---
   at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
   at System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)
   at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
   at System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
   at Telerik.VSX.Shell.Xaml.CommonXaml.InitializeComponent()
   at Telerik.VSX.Shell.VSWindow..ctor()
   at Telerik.VSX.WizardEngine.UI.WizardForm..ctor()
   at Telerik.VSX.WizardEngine.UI.WizardForm.Create(String title, String titleIcon, String backgroundImage)
   at Telerik.Web.UI.VSX.ProjectConfigurators.ProjectConfigurationTypeSelector.CreateWizardForm(String title, String titleIcon, String backgroundImage)
   at Telerik.Web.UI.VSX.ProjectConfigurators.ProjectConfigurationTypeSelector.NewProject(ProjectKind projectKind)
   at Telerik.Web.UI.VSX.ProjectConfigurators.NewProjectConfigurator.GetProjectConfigurator()
   at Telerik.VSX.ProjectConfiguration.DiscontinuousProjectConfiguration.TryCollectData()
   at Telerik.VSX.VSPackage.TemplateWizardBase.PrepareWizard(Object automationObject, Dictionary`2 replacementsDictionary)
   at Telerik.VSX.VSPackage.TemplateWizardBase.RunStarted(Object automationObject, Dictionary`2 replacementsDictionary, WizardRunKind runKind, Object[] customParams)
   at Telerik.VSX.VSPackage.TemplateEntryPointWizardBase.RunStarted(Object automationObject, Dictionary`2 replacementsDictionary, WizardRunKind runKind, Object[] customParams)
   at Telerik.VSX.VSPackage.WizardBase.<>c__DisplayClass5.<Microsoft.VisualStudio.TemplateWizard.IWizard.RunStarted>b__4()
   at Telerik.VSX.VSPackage.WizardBase.CatchExceptionAndSendReport(Action action)

0
Steliyan
Telerik team
answered on 09 Feb 2016, 08:24 AM
Hello Zachary,

Is the problem currently fixed after couple of uninstallations/reinstallations?

Looking forward to your response.

Regards,
Steliyan
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Zachary
Top achievements
Rank 1
answered on 09 Feb 2016, 07:30 PM
I am able to properly edit all previously created Telerik solutions.  The new solution wizard still bugs out no matter what I do.   
0
Steliyan
Telerik team
answered on 10 Feb 2016, 10:50 AM
Hi Zachary,

Can you help us to further investigate the issue?
To do so, you need to enable Assembly Binding Log. Here are the steps:
1. Create a directory, for example: C:\fuslogvw_logs
2. Run Developer Command Prompt as Administrator
​ 3. Type fuslogvw.exe and run it (see fuslogvw-screenshot.png)
4. Click Settings and apply the settings from the screenshot (see fuslogvw-settings.png)
5. Click OK, this way all assembly bindings, successful or not will be logged in the chosen directory

You can check Microsoft's article as well: LINK

Basically, this will log all the assembly resolving that is done by .NET. Please note, that this will have an impact on the performance, so you should disable it once you sent us the log files!

After you have enabled the fusion logging, you can reproduce the issue:
1. Start Visual Studio
2. Create new project, where the described issue occurs
3. ZIP C:\fuslogvw_logs 
4. Send us the ZIP file
5. Rollback the changes described above

Looking forward to your response.

Regards,
Steliyan
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
n/a
Top achievements
Rank 1
Veteran
answered on 03 Jan 2021, 06:36 PM

I too have this issue.  The challenges arises when you work with the extensions.  Extension->Telerik->Ajax->Configure Project.  I unchecked everything during this Wizard to get the most minimal install as possible (except for Skin - I have to select at least one, and I use Default).  I too get the error "An error occurred while running the Wizard" and will not complete.  I have uninstalled/re-installed all Telerik software.  Removed/installed all extensions, rebooted, etc.  The only thing I have not done is uninstalled Visual Studio 2019, I would rather not do that.  This challenged appeared to coincide with the install of a Telerik AJAX update many weeks ago.

 

0
Vesko
Telerik team
answered on 06 Jan 2021, 10:32 AM

Hi Henry,

I am sorry to hear that. Would you please confirm that the stack trace from the error is the same like the one in this thread. If that is the case, we will need Assembly Binding log to investigate the problem. You can find instructions about that in the thread below.

Otherwise, please send the error details from the error dialog.

Regards,
Vesko
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
Installer and VS Extensions
Asked by
Zachary
Top achievements
Rank 1
Answers by
Steliyan
Telerik team
Zachary
Top achievements
Rank 1
n/a
Top achievements
Rank 1
Veteran
Vesko
Telerik team
Share this question
or