.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal
Post New Web Links

MySites using Trusted Identity Provider

Posted By:      Posted Date: October 21, 2010    Points: 0   Category :SharePoint

Planning on creating an Services Application Farm to host User Profile Service (UPS) and other services /w MySites, but how to configure MySites to use an IP-STS.

Looking at a current SharePoint 2010 installation the Authentication Type only has the radio button for Windows selected, and the others are gray-out on the /_admin/Authentication.aspx page, so it appears this Web Application (hosting MySites) Membership Provider will not allow conversion to claims mode.

Is this even a supported configuration?

View Complete Post

More Related Resource Links

ADFS integration as an Identity provider

I have read several articles on how to set up ADFS 2.0 and how to turn on ClaimsAuthentication as an Authentication Provider within SharePoint 2010.  However, I have thus far been unable to figure out how to get ADFS 2.0 to show up as an Identity Provider when I configure my SharePoint 2010 Authentication Provider.  I understand that some type of security or certificate trust has to occur in order for Sharepoint 2010 to recognize ADFS 2.0 as a trusted Identity provider, but I do not have any clear guidance as to how to configure this.  I have configured a domain controller with ADFS 2.0 using Active Directory as an Account Store as well as installed Sharepoint 2010 on this same server instance.  Any clarification and guidance on how to configure my Sharepoint 2010 instance to talk to ADFS and display as an IdentityProvider using ClaimsAuthentication would be greatly appreciated.    Thanks.

The trusted login provider did not supply a token accepted by this farm

I followed the http://blogs.pointbridge.com/Blogs/nielsen_travis/Pages/Post.aspx?_ID=33  to authenticate user from ADFS 2.0 with SharePoint 2010 web Application . I got this problem not able to find the couse of it.  I have given read permission to serviceaccount and App pool acount. still I get this error.  Any suggestion is appreciated. Server Error in '/_trust' Application. -------------------------------------------------------------------------------- The trusted login provider did not supply a token accepted by this farm. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.ServiceModel.FaultException: The trusted login provider did not supply a token accepted by this farm. Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.  Stack Trace: [FaultException: The trusted login provider did not supply a token accepted by this farm.]    Microsoft.IdentityModel.Protocols.WSTrust.WSTrustClient.Issue(RequestSecurityToken rst, RequestSecurityTokenResponse& rstr) +328    Microsoft.IdentityMode

Custom IP-STS - The trusted login provider did not supply a token accepted by this farm.

Similar to this thread , I am attempting to setup a Trusted Identity Provider for SharePoint 2010.  I have made it past all the errors in that thread to successfully get a token created with custom claims and have them placed in a token and successfully decrypted on the SharePoint side.  However, SharePoint doesn't like my unencrypted token. I have removed the bearer information from the token on the STS side but that didn't do anything.  I also remove the Microsoft.SharePoint.IdentityModel.SPSaml11SecurityTokenHandler and the SPPassiveIssuerNameRegistry, but still get the same error:   Exception information:     Exception type: FaultException     Exception message: The trusted login provider did not supply a token accepted by this farm.   Request information:     Request URL: http://sharepoint2010:777/_trust/default.aspx     Request path: /_trust/default.aspx     User host address: fe80::f1bd:4865:3597:c845/_trust     User:      Is authenticated: False     Authentication Type:      Thread account name: CONTOSO\administrator   Thread information:     Thread ID: 6     Thread account name: CONTOSO\administrator     Is impersonating: False     Stack trace:    at Microsoft.IdentityModel.Protocols.WSTrust.WSTrustClient.Issue(RequestSecurityToken rst, RequestSecurityTokenResponse& rstr)    at Microsoft.IdentityModel.Protocols.WSTrust.WSTrustClient.Issue(RequestS

An exception occurred when trying to issue security token: The trusted login provider did not supply

We are facing the issue after got authenticated by OpenID and forwarded back to Sharepoint, it crashed at the /_trust/ page the error "Operation is not valid due to the current state of the object." and event log shows this:   "An exception occurred when trying to issue security token: The trusted login provider did not supply a token accepted by this farm... "    

Adding a new trusted identity token issuer


I added a new custom sts to my sharepoint site using New-TrustedIdentityTokenIssuer using powershell script that I wrote, and it worked fine.

Then I removed it from Sharepoint using powershell command.

I am trying to add it back using the same script in the first step, but I am getting exception thrown by the New-SPTrustedIdentityTokenIssuer command.

The exception does not tell much :

New-SPTrustedIdentityTokenIssuer : Exception has been thrown by the target of an invocation.

  + CategoryInfo          : InvalidData:...

Why the message "There are no trusted identity providers" in Sharepoint 2010 if it has a STS


When you create a new web application in Sharepoint 2010 and you select "Claims based authentication" for the Authentication option, the "Trusted Identity provider" box is greyed out.

There are some blogs etc. about how you add a custom STS or something like ADFS, but isn't the built-in Sharepoint STS an identity provider?

What part does the Sharepoint STS play in a web application? Is it a different type of STS?

Are Sharepoint claims enabled applications different to WIF claims enabled applications?


Building a LINQ Provider

Throughout this article, we will build a simple IQueryable provider similar to the LINQ to SQL provider demonstrating what is needed to build a custom provider that is capable of executing LINQ queries and performing create, update and delete operations.

Pass ASP.NET membership identity object across domain?


I am trying to figure a way to SSO with ASP.NET membership and role model.

I can implement custom membership provider which consume web services hosting on a server.

With encryption of data. No problem.

But my question is, If I sign on a website with my provider, got my identity object on that application,

could I pass it to another website on another domain which use the same provider and by doing so, do not need to login again?

If this is possible, I am going to implement this solution. Please tell me what's your take on this.

Membership Provider Conn String


Hello. I've bee successfully using the Asp.Net Membership Provider in my VB.Net 3.5/SQL 2005 web app for a year now (Site A). However, I've added 2 new sites (B and C) (both with their own DB) and now I see a problem. It looks like users that get created for sites B and C also get created in site A. Roles that I create for B and C only get created in A. I think it is a conn string problem.

When I created A, I adde the conn string to my machine.config (not sure why I did this or if it is even needed)...


         <add name="LocalSqlServer" connectionString="Data Source=VS689\SQLEXPRESS;Initial Catalog=SiteA;USER ID=sa;PASSWORD=123456"/>


                <add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=, Culture=neutral, PublicKeyToken=blahblah" connectionStringName="LocalSqlS

Which is the best sql provider?


Which is the best sql provider on .NET Framework : DataSet, LINQ, ADO.NET Entity Framework?

Provider Error




I have a web application and a business class library where all database connections are made. Not periodically but quite often, I get an error in the class library when i execute an oledbcommand. I have no problem defining and opening a connection but as soon as I try to execute a command or fill a table by an oledbadaptor, I get this error:

'SQLOLEDB' failed with no error message available, result code: E_FAIL(0x80004005)

After getting this error, when I reset IIS, everything starts to work perfectly but after a while, the same problem occurs again.

Does anyone have a clue about what might cause this problem?

Thanks in advance



Need Oracle Data Provider .CS File for Oracle 10g Database connection !



I need a 'Wrapper.cs' file which takes care of the Database connection ( Oracle 10g) where

i can just call the method with my SQL Query


Gridview1.DataSource = SampleWrapper.ExecuteDatatable("THE SQL QUERY");


Plz Post the link if there is any open source !    

ERROR [HY000] [Informix .NET provider][Informix]Database locale information mismatch


Hi, there is an upgrade to my infimacs server and my web application encounter this error after the infimacs is upgraded.

Below is the information on the server before/after the upgrade.

Before            After

---------       -----------  

Solaris 8      Solaris 10

IDS 9.40     IDS 11.50

The web server where the web application hosted is running IBM Informix Connect 2.81. There is no such error before the upgrade is done.

As a developer, i have IBM Informix Client-SDK 2.90 installed on my local pc and debug the page where the read is needed from infimacs but no such error found.

The error come out only when it is hosted on the web server where IBM Informix Connect 2.81 is installed.

I have gone through many articles and it suggest me to set the environement  variable in the server :  DB_LOCALE=en_us.819.

I haven't try this solution but i think that this might not be the best solution.

Is it possible to to to have this settin

Custom Control Design-Time SiteMap Provider Error


Greetings - I was referred here by MSDN forums hope this is the right place -  

I have a custom control (:WebControl) that renders web.sitemap in a specific way. While it runs error free and produces the expected result, at Design-Time it complains

Error Creating Control - MyControl  The provider 'AspNetXmlSiteMapProvider' specified for the defaultProvider does not exist in the providers collection.

I have discovered that the error is cause by this line of code:

string div = string.Format("<div class='{0}' id='{1}'>{2}</div>", this.CssClass, this.ID.ToString(), EnumerateNodesRecursive(SiteMap.RootNode, level));

or more specifically, by the reference to SiteMap.RootNode - I am not clear what is missing thoough because I have configured the SiteMapProvider in web.config as this:

        <add name="AspNetXmlSiteMapProvider" 
             type="System.Web.XmlSiteMapProvider, System.Web, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" 

The provider does not support searching and cannot search


Hi All,

I am having some trouble with searching on Active Directroy.

Here is the code I used to connect to Active Directory.


DirectoryEntry de = new DirectoryEntry( "LDAP://subdomain.domain.co.uk/rootDSE", ConfigurationManager.AppSettings[

WCF The Security Support Provider Interface (SSPI) negotiation failed


I am using a wcf service that I created, when both hosting machine and the client machine are on the same domain everything works just fine. When I publish the client app to the webserver in the DMZ I am getting the following error:

SOAP security negotiation with '' for   
'' failed. See inner exception  
for more details.The Security Support Provider Interface (SSPI) negotiation failed.

Here is my service main where I set up the service


 Uri baseAddress = new Uri("Http://");
      ServiceHost selfHost = new ServiceHost(typeof(QBService), baseAddress);


Membership provider for MS Access in VB


Hi all,

Over the past few weeks I've been attempting to convert the readily available C# code for the Membership Provider etc whilst working with MS Access. I'm fairly experienced with VB unlike C# and have ran AccessMembershipProvider.cs, AccessConnectionHelper.cs and so on through 3 different converters. All of which have given a varying degree of errors, all of which I've fixed, either by ever so slightly re-writing the logic or in the Cryptographic case finding a working translation.

This evening I have fixed all of the errors from all of the now converted VB files (which I was pretty pleased about as you can imagine), I then created a simple login page to test this out, added a new user to the system and tried to login to find out I'm being told the username or password is wrong.

Just to clarify, the converters all had an error or two or even more in some cases which I've bypassed but now I can't login - at all!!

Any initial suggestions?

Finally I've written reams of code over the years and am really stumped on this one, has knowone actually successfully converted these files from C# to VB and actually got it working?? I'm not looking for someone to send me there hard work but I am almost at the point of not wanting to bother with it anymore and I just can't believe that it's not out there to download

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend