Problem with deployment

Aug 13, 2008 at 1:38 PM
Hey, I have been having some problems with this web part and I was wondering if anyone has any ideas.

We get the web part deployed, but when we try to place it on a page we get the following error

System.Security.SecurityException: Request for the permission of type 'Microsoft.SharePoint.Security.SharePointPermission, Microsoft.SharePoint.Security, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' failed.

We can use this web part in a vanilla instalation of MOSS but when we try to put it on our branded pages the error comes up.

Does anyone have any ideas?