troubleshooting Question

two environments linked by a sql DB because of ROLES PROVIDER

Avatar of realcoding
realcodingFlag for United States of America asked on
Web FrameworksASP.NET.NET Programming
3 Comments1 Solution415 ViewsLast Modified:
i have the following web.config and everything was fine until i added role provider.

i have two connection strings defined and code in my application to detect what machine is running the web app and pull the correct DB connection string for the environment (dev/ prod)

now i added role provider and everything is working but the definition in the web.config links the roles provider to a single DB in its declaration.

below is the section of my web.config in question.

how can i make it such that the roles in both DEV and PROD are independent and isolated as they should be???


Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 3 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros