SecurityException: Request for the permission of type “System.Security.Permissions.EnvironmentPermission” failed in CRM 2011 plugin.

Posted: June 16, 2012 in CRM 2011, Plugin
Tags: ,

We will get this error while using Environment.MachineName
in our plugin code to get the Server Name in case of Sandbox.

Bye.

Comments
  1. tamwoods says:

    Microsoft Dynamics CRM training will help you manage and prioritize your business goals, customize.we teach MS Dynamics CRM training and class available at Hyderabad.
    Microsoft Dynamics AX online training
    Microsoft Dynamics CRM online training
    Microsoft Dynamics NAV online training

Share your thoughts

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s