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


Top 5 Contributors of the Month
Easy Web
Imran Ghani
Post New Web Links

Unable to provide a Custom WindowsTokenRoleProvider in Share Point Foundation 2010

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

Hi All,

I have created my web application in Share Point Foundation 2010 with Classic Mode.

Thereafter, I need to use a Custom Windows TokenRoleProvider.

While this worked well in WSS 3.0, the  Roles.CreateRole(roleName) fails to create a role in SPF 2010.

I have the web.config entries as given below

<membership defaultProvider="CustWindowsMembershipProvider">

<providers>
        <clear />

<add name="CustSqlMembershipProvider" ..... 

</providers>

 <roleManager enabled="true" defaultProvider="CustWindowsTokenRoleProvider">
      <providers>
        <clear />

<add name="CustWindowsTokenRoleProvider" ....

 </providers>

</rolemanager>

Are any other configurations  for custom membership and role providers in SPF 2010?

Kindly provide your suggestions.

Thanks and regards,

Sindhu


Sindhu


View Complete Post


More Related Resource Links

Share Point Foundation 2010 active directory integration

  
I am having difficulty figuring out how to enable WBA for Sharepoint Foundation 2010. Currently I have a IIS site on port 80 that redirects to SSL port 443 sharepoint site and gives the default windows login. I am having problems with: Getting the server to authenticate users only their username. (users must type domin\username). Getting users to authenticate from outside the local subnet (basic authentication must be enabled for all users to authenticate) I would like a exchange form login screen but don't want to authenticate to a sql database so I am having a hard time figuring how to implement ONLY Active directory logins. I am confused with the IIS vs sharepoint settings since when you set items in sharepoint like changing the port number on a site it does not change the sites port in iis. So I am wondering if this is part of my problem with the farm admin account in sharepoint vs the application pool account. If anyone can point me to some relivant pages on these subjects I would be thankful. I have been pouring over pages in found by websearches and technet articles I think my head is going to explode. :)

Share Point Foundation 2010 active directory integration

  
I am having difficulty figuring out how to enable WBA for Sharepoint Foundation 2010. Currently I have a IIS site on port 80 that redirects to SSL port 443 sharepoint site and gives the default windows login. I am having problems with: Getting the server to authenticate users only their username. (users must type domin\username). Getting users to authenticate from outside the local subnet (basic authentication must be enabled for all users to authenticate) I would like a exchange form login screen but don't want to authenticate to a sql database so I am having a hard time figuring how to implement ONLY Active directory logins. I am confused with the IIS vs sharepoint settings since when you set items in sharepoint like changing the port number on a site it does not change the sites port in iis. So I am wondering if this is part of my problem with the farm admin account in sharepoint vs the application pool account. If anyone can point me to some relivant pages on these subjects I would be thankful. I have been pouring over pages in found by websearches and technet articles I think my head is going to explode. :)

Share Point Server 2010 beta ...unable to install

  

Downloaded Share Point Server 2010 beta ... when trying to install  Under option

Prepare 

1)Review hardware and software requirements is active

2)Read the installation guide is active

3)Read the upgrade guide is active

Install

1)Install software prerequisites is not responding

2)Install SharePoint Server is not responding

Other Information

1)

Primary Key In Share Point 2007/ 2010

  

Can I create 3 columns Primary key in a list using the MOSS 2010 or 2007

Actually My requirement  is

I collect some information by Country,State,Dist wise Temperature

like

1.  India-Andraprades-Hyderabad-Temp-30

2.  India-Andraprades-KarimNagar-Temp-30

here first 2 column is Same but 3rd column is different that's I required 3 column is Primary Key

 

Any one help me.

 

 


Unable to search Custom User Property Created in User Profiles in SharePoint 2010

  

Hi ,

I have created a custom user property,and created metadata property and added mapping to it, still i m not able to Search in People,Please advise


Creating Lists On Share-point 2010 Server from .stp list template files using Features

  
Plz, let me know, how to create list on share-point 2010 server from .stp list template files using features in C#

Installing Share Point 2010 and connecting it to an existing instance of sql 200r express r2

  
Hi i dont want share point server 2010 to create another instance of sql express 2008 r2, i want it to use the exiting one SQLEXPRESS but i dont know what installation option to do and what settings to do ? im installing share point 2010 on windows 2008 r2 server regards

Installing Share Point 2010 and connecting it to an existing instance of sql 200r express r2

  
Hi i dont want share point server 2010 to create another instance of sql express 2008 r2, i want it to use the exiting one SQLEXPRESS but i dont know what installation option to do and what settings to do ? im installing share point 2010 on windows 2008 r2 server regards

I need a suggestion to bind the data in share point 2010 page.Suggest some right control to do this.

  
In my visual web part i need a control to display rows with grouping option. In my web part i am going to display all my document library and  announcement so that i need groping option. I need to do grouping option in the view.so what is the best control u suggest me to bind my data? 

Target Audience in Share Point 2010

  
Hi there, We've managed to migrate  MOSS 2007 to MOSS 2010 for one of our customer. Everything went well except Target Audience. Sharepoint2010 does not seem to recognise the AD groups and no matter how many times I reset them, I see the error of "No exact match found". Appreciate if someone can advice.   Thanks.    

WSRP testing on Share Point 2010 / WSS 4.0 ?

  
Hi Everyone, I'd like to know if WSRP is supported on either WSS 4.0 or SharePoint Server 2010 ? in which i will deploy Windows Server 2008 R2 with SQL Server 2008 R2 Standard. I'm confused when i reach the Technet website for downloading the correct product (this is for testing purpose only and not for production release). the ultimate goal is to combine this product with IBM Websphere on Red Hat Linux for our portal development. Thanks./* Infrastructure Support Engineer */

Creating custom IP-STS for sharepoint foundation 2010 without ADFS

  
I plan to create very simple custom IP-STS for SharePoint foundation 2010 without ADFS server so anyone can integrate Windows Live ID to SharePoint foundation 2010 simply without ADFS, I can't use ADFS server because it could not install on Windows Web Server 2008 (Web Edition), also I found many article use LDAP provider but it does not exists in SharePoint Foundation too (it requires Sharepoint Server Edition). After too much searching I just found the following article and find all technique except one problem. 1)    Creating Custom Claim Provider: http://blogs.technet.com/b/speschka/archive/2010/03/13/writing-a-custom-claims-provider-for-sharepoint-2010-part-1.aspx 2)    Creating Custom STS Provider: http://blogs.msdn.com/b/chunliu/archive/2010/04/02/how-to-make-use-of-a-custom-ip-sts-with-sharepoint-2010-part-1.aspx   Only one step remains: I got following error after enter username in STS site and redirect to http://localhost/_trust/default.aspx , ( I leave EncryptingCertificateName empty). Operation is not valid due to the current state of the object I expect to get access denied error instead of that error. Is it possible anyway? So does anyone know where can I ask my question except this community? Can anyone help me where can I find working article to create custom IP-STS without ADFS server Any idea will help me Thank

Multilingual Interface (Hindi) custom, webpart issue disappearance in share point 2007

  
Hi This is regarding the disappearance of custom  web parts in the multilingual site developed using MOSS 2007. The multilingual feature has been implemented using variations. All the custom web parts disappear when viewed after some time.  When the custom web parts are deployed to the site, it appears and they disappear when viewed after some time.  I have done local deployment as well as GAC deployment of the web parts dll. Both have the same effect. I have added the respective resource files for the web parts in the user control folder.    Thanks In Advance uttam  

Unable to delete groups in SharePoint Foundation 2010

  
I have a test group I created in SharePoint that I want to delete (I'm the only user in the group). In the "People and Groups: All Groups" screen I click the edit icon next to the group and then click on the "Delete" button and ok the following warning dialog. However, the group doesn't get deleted. Any idea why this is happening and how to finally delete this group? Thanks.

How to use AjaxControlToolkit in share point 2010?

  
as title described
http://www.dreamingcatstudio.com

How to create a custom page layout in sharepoint foundation 2010

  

Hi,

I need to create a custom page layout in sharepoint foundation 2010.

I am aware that wss 3.0 and sharepoint foundation do not have the publishing infrastructure.

I need to know if the same procedure that is used to create custom web part pages in WSS 3.0 is to be used in SharePoint foundation too or are there other ways.

I am relatively a fresher to sharepoint technology.Please help.

Thanks in advance:D.

 


Share point upgrade from 2007 to 2010

  

Hi I am new to share point administration i have new project which is

1) Share point 2007 windows 2033 32 bit

2) SQL 2005 windows 2003 32 bit

3) Windows 2003 AD 32 bit 

i what to upgrade to new servers with windows 2008 64 bit which best option

thanks

venkat


Categories: 
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