web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Set property 'System.Windows.ResourceDictionary.Source" threw an exception

(0) ShareShare
ReportReport
Posted on by

Hi!

I installed Microsoft.Uii.Tools.Inspector.vsix USD HAT Visual Studio templates for my Visual Studio 2012 Update 4. When I try to create a new project  UUI -> WebApplication, Visual Studio won't create a new project and instead giving the subject exception.

I refactored template and figured out that if I remove Wizard section on template then project creation works fine (although won't give that window to give URL of course), but functionality (Inspect, Application configuration etc.) giving same error.

https://msdn.microsoft.com/en-us/library/dn877477.aspx

So for me it seems that there is something wrong with compatibility on Microsoft.Uii.Tools.Inspector.dll on my environment but yet couldn't figure out what it is.

I have tried these with no luck

  1. devenv /resetuserdata
  2. devenv /resetsettings
  3. Repairing Visual Studio 2012
  4. Uninstalling everything from the Visual Studio and from environment regarding directly Visual Studio
  5. Uninstalled everthing related Azure SDK's just in case...
  6. Installed .Net 4.5.2 SDK
  7. Tried another user on same machine
  8. Removed manually registry hives for Visual Studio and deleted userdata for visual studio under appdata. http://www.corvalius.com/site/hacks/how-to-hard-reset-visual-studio-instance/
  9. Uninstalled Visual Studio and reinstalled it again. Tested...not working. Reinstalled update 4 for visual studio -> no change
  10. Tried devenv /log option but couldn't find anything there
  11. Can't find anything on event logs for this. Atleast application event log is clear.

My environment's operating system is Windows Server 2012 R2 with SQL Server 2014 and CRM 2015.

Any ideas what I could still try? Anyone got this problem with HAT Software Factory?

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at

    Just want to clarify that problem is with CRM 2015 SDK/UII HAT Factory project templates.

    I also recreated empty Windows 8.1 Hyper-V, installed Visual Studio 2012 on that and tried with "CRM 2013 UII" and "CRM 2015 UII" SDK package templates and I got same end result with "CRM 2015 UII" package, but on this environment CRM 2013 SDK project template seems to work.

    I now tried again with CRM 2013 SDK UII templates on my initial machine and those seems to work. But if someone has same problem or knowledge how to fix CRM 2015 template issue, please reply.

  • Patrick Mulder Profile Picture
    5 on at

    Same problem here. Will try CRM 2013 SDK UII templates now.

    Let me know you if you know how to fix the 2015 issue.

  • Suggested answer
    Rudnei Arone jr Profile Picture
    5 on at

    Any news on this? I'm desperate .... 

    :)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans