Answered by:
Safe handle has been closed error with XAML designer

Question
-
Since last Visual Studio update every time I start debugging after I return all xaml designer crashes with the Safe handle has been closed error... I Have to restart the IDE every time wasting 5 min in the process... Can't find a proper answer nowhere... The link Click here to reload the designer doesn't work either...Monday, January 12, 2015 8:51 PM
Answers
-
Hi,
If the error occurs in all of apps not only one app, lt seems your VS may be corrupt. Please try to repair the VS. If the error occurs after you repair the VS, Please share some logs file to me:
Try to use http://aka.ms/vscollect to gather the installation logs. You will find vslogs.cab from %temp% folder. Please upload the file to https://onedrive.live.com/ and share the link here.
Best Wishes!
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. <br/> Click <a href="http://support.microsoft.com/common/survey.aspx?showpage=1&scid=sw%3Ben%3B3559&theme=tech"> HERE</a> to participate the survey.
- Proposed as answer by Anne Jing Monday, February 9, 2015 2:06 AM
- Marked as answer by Herro wongMicrosoft contingent staff, Moderator Tuesday, February 10, 2015 12:11 PM
Thursday, February 5, 2015 8:00 AM
All replies
-
Hi,
For instance the XAML designer crash, how about WPF designer and is it only affect Windows Store App? Please try to create a WPF project to test.
And make sure you can get latest update and then restart the machine.
“Safe handle has been closed error and I Have to restart the IDE every time wasting 5 min in the process”
looks some other process lock the resource, you can close the possible process one by one and then open the VS to test.
Best WishesWe are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. <br/> Click <a href="http://support.microsoft.com/common/survey.aspx?showpage=1&scid=sw%3Ben%3B3559&theme=tech"> HERE</a> to participate the survey.
Tuesday, January 13, 2015 9:47 AM -
I did the latest .Net update and it never happened again... ?
Corrupted files maybe... But the error source always came from the .Net cache...
Wednesday, February 4, 2015 10:17 PM -
Hi,
If the error occurs in all of apps not only one app, lt seems your VS may be corrupt. Please try to repair the VS. If the error occurs after you repair the VS, Please share some logs file to me:
Try to use http://aka.ms/vscollect to gather the installation logs. You will find vslogs.cab from %temp% folder. Please upload the file to https://onedrive.live.com/ and share the link here.
Best Wishes!
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. <br/> Click <a href="http://support.microsoft.com/common/survey.aspx?showpage=1&scid=sw%3Ben%3B3559&theme=tech"> HERE</a> to participate the survey.
- Proposed as answer by Anne Jing Monday, February 9, 2015 2:06 AM
- Marked as answer by Herro wongMicrosoft contingent staff, Moderator Tuesday, February 10, 2015 12:11 PM
Thursday, February 5, 2015 8:00 AM -
I was working on Windows Server 2012 R2 for development of Windows Store apps using the Administrator account (I know very bad)... So had to do a little bit of tweaking. Anyway, the fact is why Administrator account cannot access Windows Store apps is quite bothering... Installed a new pc with Windows 8.1 still got to restart VS as admin some times depending on the code (Registry access require admin to write...), but still you can't work on a remote shared folder on Windows Store apps (cannot register bla bla bla...) but there is no DFS in Windows 8.1 so I have to write scripts to copy the code to the DFS Shared Folder with replication... It's annoying to have to always use workaround just to get basic stuff that used to be quick and simple before !Tuesday, March 24, 2015 6:14 PM