We're trying to integrate our CRM system with a new Sitefinity Portal. We would like to be able to use the Custom Membership & Roleprovider in Sitefinity we've written in our CRM system.
For this scenario, I've studied this page: http://www.sitefinity.com/documentation/documentationarticles/choosing-the-provider-options
We would like to implement the case 2 scenario. I've successfully connected the membership provider. I can login using our membership provider.
We would like to be able to use our roles and grant access to specific pages to these roles using our custom Role Provider. Therefor, I've enabled the RoleManager in the web.config and added our roleprovider:
This isn't working yet. When I try to open the admin users or roles pages, Sitefinity gives the following error:
An attempt to attach an auto-named database for file ~\App_Data\aspnetdb.mdf failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share.
Any suggestions? See attachment for a complete stack trace.