locked
how to connect to FTP server through plugin in mscrm 2011 RRS feed

  • Question

  • Dear all ;

    i have an xml file on ftp server i want to read that file in the plugin in mscrm 2011 first i am tring to connect to ftp server and i am getting this error

    Unexpected exception from plug-in (Execute): test: System.Security.SecurityException: Request for the permission of type 'System.Net.WebPermission, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b906789561934e089' failed.

    Thursday, November 14, 2013 10:25 AM

All replies

  • Have you registered your plugin in Sandbox Isolation mode? If you have, change it to 'none'

    - Arvind (My posts represent my own views and not of Accenture's)

    Thursday, November 14, 2013 10:37 AM
  • Hi Arvind ;

    it is mscrm 2013 online i can just have sandbox mode in it

    Thursday, November 14, 2013 10:44 AM
  • Sandbox mode has its restrictions and you cannot access resources in the normal fashion. I am not sure if you can access an external file using ftp at all in your online plugin. However below post says few things can be accessed like wcf or azure services:

    http://msdn.microsoft.com/en-us/library/gg334752.aspx


    - Arvind (My posts represent my own views and not of Accenture's)

    Thursday, November 14, 2013 12:41 PM