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

6 posts, 0 answers
  1. Zachary
    Zachary avatar
    4 posts
    Member since:
    Jun 2015

    Posted 04 Feb Link to this post

    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)
  2. Steliyan
    Admin
    Steliyan avatar
    43 posts

    Posted 05 Feb Link to this post

    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Zachary
    Zachary avatar
    4 posts
    Member since:
    Jun 2015

    Posted 05 Feb in reply to Steliyan Link to this post

    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)

  5. Steliyan
    Admin
    Steliyan avatar
    43 posts

    Posted 09 Feb Link to this post

    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
  6. Zachary
    Zachary avatar
    4 posts
    Member since:
    Jun 2015

    Posted 09 Feb Link to this post

    I am able to properly edit all previously created Telerik solutions.  The new solution wizard still bugs out no matter what I do.   
  7. Steliyan
    Admin
    Steliyan avatar
    43 posts

    Posted 10 Feb Link to this post

    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
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017