Click here to Skip to main content
15,896,063 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi All
I am facing issue to implement Oracle membership provider in WCF Service.
I have created mvc 4 application and used Oracle Managed driver
I have written code below
MembershipUser user1 = Membership.GetUser(_userAuthentication.UserName);
if(user1==null)//sample code
{
MembershipCreateStatus createStatus;
Membership.CreateUser(_userAuthentication.UserName, _userAuthentication.PassWord, "xyz@xyz.com", "song", "mysong", false, null, out createStatus);
}
Above code is working fine in mvc application
but not working in wcf service. Its giving exception like
"The provider is not compatible with the version of Oracle client"
But I used same provided in WCF service (App.config) which i used in mvc application.
Please Help me...
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900