G
Giovanni
Dear Friends,
How are you? I am stuck on a problem and I just can't figure it out:
I have 1 ASP.NET/VB.NET 2.0 WebService that currently provides user
registration and authentication using the Membership and Roles classes,
etc... Everything works well so far. I modified the WebService's
"LocalSQLServer" web.config value to point to a remote SQL 2005 server.
My "Credentials" WebService needs to connect to other remote SQL Server
2005 databases to provide registration and authentication for separate
applications for various customers; in essence, each remote server/database
represents a different customer (their request). Here is my problem: Is
there any way (in code) that I can pass my WebService the "LocalSQLServer"
(MembershipProvider connectionStringName) value while it is initializing
instead of picking it up automatically from the web.config file?
In essence, how can 1 WebService connect to multiple (remote) SQL
Server 2005 databases stored on different servers since the LocalSQLServer
connection string can only contain 1 value at any given time?
Regards,
Giovanni P.
How are you? I am stuck on a problem and I just can't figure it out:
I have 1 ASP.NET/VB.NET 2.0 WebService that currently provides user
registration and authentication using the Membership and Roles classes,
etc... Everything works well so far. I modified the WebService's
"LocalSQLServer" web.config value to point to a remote SQL 2005 server.
My "Credentials" WebService needs to connect to other remote SQL Server
2005 databases to provide registration and authentication for separate
applications for various customers; in essence, each remote server/database
represents a different customer (their request). Here is my problem: Is
there any way (in code) that I can pass my WebService the "LocalSQLServer"
(MembershipProvider connectionStringName) value while it is initializing
instead of picking it up automatically from the web.config file?
In essence, how can 1 WebService connect to multiple (remote) SQL
Server 2005 databases stored on different servers since the LocalSQLServer
connection string can only contain 1 value at any given time?
Regards,
Giovanni P.