Posted on: 12/8/2006 4:31:18 AM | Views : 769

Hi again, forum.
Here's the deal - I want to have identical files on my dev machine and the live webserver, right down to the web.config. This means my application must know connection strings for "both" environments (dev environment being any box with sqlexpress and my database installed).
In this post I mentioned a custom SqlDataSource control that allows me to do this with my "normal" data source by supplying both connection strings to the datasource control, and letting it decide which one to use based on whether Request.IsLocal is true or not. This approach seems to be working well for this simple data-driven website so far.
So, whats the problem?
I'm using the managed roles and permissions ASP.NET 2 provides, and I'm running into the same problem again. I've merged the permissions database into ...

Go to the complete details ...