[CSHARP-1917] MongoMembershipProvider throwing 'CommandException in CreateIndexes' when calling Membership.Providers["MongoMembershipProvide"] Created: 13/Feb/17  Updated: 27/Oct/23  Resolved: 13/Feb/17

Status: Closed
Project: C# Driver
Component/s: API
Affects Version/s: 2.4.2
Fix Version/s: None

Type: Task Priority: Blocker - P1
Reporter: Ummer Irshad Assignee: Unassigned
Resolution: Works as Designed Votes: 0
Labels: question
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

.Net Framework 4.6.1
MongoMemebership 1.0.0
Mongocsharep 2.4.1/2.4.2
OS: Windows 7 x64


Issue Links:
Related
is related to DOCS-9901 Add restriction to Compound Index: te... Closed

 Description   

Below error is thrown while executing below line
MembershipProvider provider = Membership.Providers[MongoDBConstants.MembershipProviderName]

*An unhandled exception of type 'MongoDB.Driver.MongoCommandException' occurred in System.Web.dll
Additional information: Command createIndexes failed: 'text' fields in index must all be adjacent.*



 Comments   
Comment by Robert Stam [ 13/Feb/17 ]

I'm changing the type of this ticket from Bug to Question since it doesn't appear to have anything to do with the C# driver.

I suggest you file an issue with the MongoMembership third party component.

Generated at Wed Feb 07 21:41:03 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.