From: LusTiger on
hello group,

after install sharepoint to another server (with smigrate.exe) i found
following error in a site navigation webpart (Ch.Ugszrh.Webparts), the
webpart is installed correctly.

***ERROR***
Exception: System.Security.SecurityException: Request for the
permission of type Microsoft.SharePoint.Security.SharePointPermission,
Microsoft.SharePoint.Security, Version=11.0.0.0, Culture=neutral,
PublicKeyToken=71e9bce111e9429c failed. at
System.Security.CodeAccessSecurityEngine.CheckTokenBasedSetHelper(Boolean
ignoreGrants, TokenBasedSet grants, TokenBasedSet denied, TokenBasedSet
demands) at
System.Security.CodeAccessSecurityEngine.CheckSetHelper(PermissionSet
grants, PermissionSet denied, PermissionSet demands) at
Microsoft.SharePoint.SPWeb.get_WebTemplate() at
Ch.Ugszrh.Webparts.SiteNavigation.RenderWeb(HtmlTextWriter output,
SPWeb web, Int32 currentLevel) at
Ch.Ugszrh.Webparts.SiteNavigation.RenderWebPart(HtmlTextWriter output)
Message: Request for the permission of type
Microsoft.SharePoint.Security.SharePointPermission,
Microsoft.SharePoint.Security, Version=11.0.0.0, Culture=neutral,
PublicKeyToken=71e9bce111e9429c failed.
Source: mscorlib
StackTrace:
at
System.Security.CodeAccessSecurityEngine.CheckTokenBasedSetHelper(Boolean
ignoreGrants, TokenBasedSet grants, TokenBasedSet denied, TokenBasedSet
demands) at
System.Security.CodeAccessSecurityEngine.CheckSetHelper(PermissionSet
grants, PermissionSet denied, PermissionSet demands) at
Microsoft.SharePoint.SPWeb.get_WebTemplate() at
Ch.Ugszrh.Webparts.SiteNavigation.RenderWeb(HtmlTextWriter output,
SPWeb web, Int32 currentLevel) at
Ch.Ugszrh.Webparts.SiteNavigation.RenderWebPart(HtmlTextWriter output)
Tip: Please double check WebPart attributes!

is this problem arise with someone and a found a solution?

From: Engelbert on
smigrate will not copy correctly some things that you added yourself after
the standard install.

Try removing the web part from your new server and re-installing it there.

If that doesn't work because you can't uninstall it, remove it from the old
server; re-do the smigrate (old and copy to new) and then install the web
part on the new server.

Engelbert

"LusTiger" <t.rechtsteiner(a)de.schlecker.net> wrote in message
news:1142517118.597251.245000(a)u72g2000cwu.googlegroups.com...
> hello group,
>
> after install sharepoint to another server (with smigrate.exe) i found
> following error in a site navigation webpart (Ch.Ugszrh.Webparts), the
> webpart is installed correctly.
>
> ***ERROR***
> Exception: System.Security.SecurityException: Request for the
> permission of type Microsoft.SharePoint.Security.SharePointPermission,
> Microsoft.SharePoint.Security, Version=11.0.0.0, Culture=neutral,
> PublicKeyToken=71e9bce111e9429c failed. at
> System.Security.CodeAccessSecurityEngine.CheckTokenBasedSetHelper(Boolean
> ignoreGrants, TokenBasedSet grants, TokenBasedSet denied, TokenBasedSet
> demands) at
> System.Security.CodeAccessSecurityEngine.CheckSetHelper(PermissionSet
> grants, PermissionSet denied, PermissionSet demands) at
> Microsoft.SharePoint.SPWeb.get_WebTemplate() at
> Ch.Ugszrh.Webparts.SiteNavigation.RenderWeb(HtmlTextWriter output,
> SPWeb web, Int32 currentLevel) at
> Ch.Ugszrh.Webparts.SiteNavigation.RenderWebPart(HtmlTextWriter output)
> Message: Request for the permission of type
> Microsoft.SharePoint.Security.SharePointPermission,
> Microsoft.SharePoint.Security, Version=11.0.0.0, Culture=neutral,
> PublicKeyToken=71e9bce111e9429c failed.
> Source: mscorlib
> StackTrace:
> at
> System.Security.CodeAccessSecurityEngine.CheckTokenBasedSetHelper(Boolean
> ignoreGrants, TokenBasedSet grants, TokenBasedSet denied, TokenBasedSet
> demands) at
> System.Security.CodeAccessSecurityEngine.CheckSetHelper(PermissionSet
> grants, PermissionSet denied, PermissionSet demands) at
> Microsoft.SharePoint.SPWeb.get_WebTemplate() at
> Ch.Ugszrh.Webparts.SiteNavigation.RenderWeb(HtmlTextWriter output,
> SPWeb web, Int32 currentLevel) at
> Ch.Ugszrh.Webparts.SiteNavigation.RenderWebPart(HtmlTextWriter output)
> Tip: Please double check WebPart attributes!
>
> is this problem arise with someone and a found a solution?
>