SharePoint’s SharePoint.Security Error and Custom Dlls

I have been fighting with a permissions issue with SharePoint today. What’s been happening is that I have a custom dll that I created which will load just fine if I don’t really have it do anything. However, once it starts running code that accesses the SharePoint Object model, then I get the SharePoint.Security error. This is essentially a permissions denied error.

I found this blog post that I think will be very helpful. I will try his suggestion and provide than update shortly.

Leave a Reply

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

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

Google+ photo

You are commenting using your Google+ 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

Blog at

Up ↑