locked
How to solve Access Denied error in XAML editor?

    Question

  • I have Win8.1, VS2013pro installed and am trying to make a store app. After I create a new store app project and double click on mainpage.xaml to edit, I get access denied error.

    System.ComponentModel.Win32Exception
    A hozzáférés megtagadva
       at System.Windows.Input.Cursor.LoadFromFile(String fileName)
       at System.Windows.Input.Cursor..ctor(String cursorFile)
       at Microsoft.Expression.Utility.FileResourceManager.GetCursor(String name)
       at Microsoft.Expression.DesignSurface.Tools.SelectionTool.CreateToolBehavior(ToolBehaviorContext behaviorContext)

    I saw some threads about this error, and tried what you guys write there, but none worked. Could anyone help me out?


    Thursday, October 24, 2013 8:24 PM

Answers

  • I had the same problem and I fixed it setting my user's environment path variables TMP and TEMP both as %USERPROFILE%\AppData\Local\Temp

    Hope it works for you too!

    • Marked as answer by Ponyist Péter Thursday, November 21, 2013 5:13 PM
    Thursday, October 31, 2013 7:03 PM

All replies

  • I managed to solve the issue in two steps:

    • Installed VS2012, what works.
    • Uninstalled VS2013.

    Bad experience.

    Friday, October 25, 2013 7:09 AM
  • I had the same problem and I fixed it setting my user's environment path variables TMP and TEMP both as %USERPROFILE%\AppData\Local\Temp

    Hope it works for you too!

    • Marked as answer by Ponyist Péter Thursday, November 21, 2013 5:13 PM
    Thursday, October 31, 2013 7:03 PM
  • Awesome!  This fixed it for me.  Thanks much.
    Tuesday, November 5, 2013 8:01 AM
  • SUPERB! thats solved the problem.  Thanks!
    Sunday, December 1, 2013 10:38 AM
  • This is the best solution:  http://stackoverflow.com/questions/16871834/access-to-the-path-is-denied-in-windows-store-application

    Wednesday, March 12, 2014 7:21 PM