getting trust error

Jun 23, 2008 at 8:24 PM
Hi Phil,
I've followed the instructions but i'm getting this error:

"Unable to Add selected web part(s)
"Microsoft Virtual Map WebPart: Request for the permission of type 'Microsoft.Sharepoint.Security.SharePointPermission,Microsoft.SharePoint.Security, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' failed."

Please help!

Thanks

Coordinator
Jul 11, 2008 at 6:33 PM
As the install instructions note, the web applications requires either full trust, or the dll needs to be in the GAC.

mrose wrote:
Hi Phil,
I've followed the instructions but i'm getting this error:

"Unable to Add selected web part(s)
"Microsoft Virtual Map WebPart: Request for the permission of type 'Microsoft.Sharepoint.Security.SharePointPermission,Microsoft.SharePoint.Security, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' failed."

Please help!

Thanks




Oct 3, 2008 at 5:37 PM
I had the same issue, this worked for me:
  1. Start the Visual Studio Command Prompt (in the program group Visual Studio Tools).
  2. Go to the directory where the dll is installed (typically c:\Inetpub\wwwroot\wss\VirtualDirectories\80\bin).
  3. Run the command gacutil /i newwebpartdll.dll.
  4. Run iisreset.
Coordinator
Jan 13, 2009 at 5:36 PM
i changed the solution to automatically deploy to the GAC, so users should have this issue anymore.