Dynamic Database connection
        Posted  
        
            by gsieranski
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by gsieranski
        
        
        
        Published on 2010-06-09T02:41:45Z
        Indexed on 
            2010/06/09
            2:52 UTC
        
        
        Read the original article
        Hit count: 356
        
I have multiple client databases that I need to hit on the fly and I am having trouble getting the code I have to work. At first I was just storing a connection string in a clinet object in the db, pulling it out based on logged-in user, and passing it to linq data context constructor. This works fine in my development enviorment but is failing on the Winhost server I am using. It is running SQL 2008. I am getting a "The current configuration system does not support user scoped settings." error.
Any help or guidance on this issue is greatly appreciated.
Greg
© Stack Overflow or respective owner