I have developed a Single Sign-on (SSO) web part based on the example
given in Sharepoint sdk and the resourcekit
www.microsoft.com/.../c2661881x.msp
x
I am creating a cab file in Visual Studio and installing the webpart
using stsadm.exe
Also based on the information provided in the sdk and reskit I am
adding the following lines in the wss_minimaltrust.config file
1.
To the <SecurityClasses> section, add:
<SecurityClass Name="SingleSignonPermission"
Description="Microsoft.SharePoint.Portal.SingleSignon.Security
.SingleSignonPermission,
Microsoft.SharePoint.Portal.SingleSignon.Security,
Version=11.0.0.0, Culture=neutral, PublicKeyToken=
71e9bce111e9429c"/ > .
2.
To the <Permission Set> section, and specifically to the
PermissionSet where Name is "ASP.Net", add:
<IPermission class="SingleSignonPermission" version="1"
Access="Minimal" />
I do iisreset and try to add the SSO webpart to my web page and get
the following error
The "SSOWebPart" Web Part appears to be causing a problem.
Web Parts Maintenance Page: If you have permission, you can use this
page to temporarily disable Web Parts or remove personal settings.
For more information, contact your site administrator.
Any idea what may be going wrong. I know it has something to do with
the security of the webpart but am unable to figure out what to do.
Do you know someone who can help? Share a link to this thread on twitter, or facebook.