locked
ms crm 2011 - In plugin when I am using System.IO.Path.GetTempPath() and registering with isolation mode - sandbox, it is giving error. Why? RRS feed

  • Question

  • Hi Everyone,

    ms crm 2011 - In plugin when I am using System.IO.Path.GetTempPath() and registering with isolation mode - sandbox, it is giving error. Why?

    Due to Security restrictions it gives error for  System.IO.Path.GetTempPath() .

    Can anyone help me on this.


    Thanks, Rajeev

    Friday, November 9, 2012 9:04 AM

All replies

  • Hi Rajeev,

    In sandbox plugin you can't access resources like file system, system event log, registry. Please refer: http://msdn.microsoft.com/en-us/library/gg334752.aspx for more details


    Contact Me
    Follow me on Twitter
    Make sure to "Vote as Helpful" and "Mark As Answer",if you get answer of your question.


    Friday, November 9, 2012 9:11 AM
    Moderator