Connections Strings with no surrogate process

Posts   
 
    
psandler
User
Posts: 540
Joined: 22-Feb-2005
# Posted on: 22-Feb-2005 22:31:36   

Hello,

I've done my best to search these forums for the answer to this, but couldn't find anything.

I'm currently implementing LLBLGen on an application server, which will be the only tier that has direct access to the database.

There are currently no .exe or asp.net projects that will run directly on the machine--all access to the machine will occur via web services.

Since the *.config settings get read and passed along by the surrogate process (which sort of doesn't exist at this point), how can I configure the machine so that it can get a connection string?

I am comfortable with the option of using DBUtils, but my question is more along the lines of where I can STORE the information.

Thanks in advance for any insight.

-Phil

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39933
Joined: 17-Aug-2003
# Posted on: 22-Feb-2005 23:07:31   

the generated code, how is that ran? I am a bit confused what the host is of the generated code. That host should have a .config file.

Frans Bouma | Lead developer LLBLGen Pro
psandler
User
Posts: 540
Joined: 22-Feb-2005
# Posted on: 23-Feb-2005 00:09:01   

Otis wrote:

the generated code, how is that ran? I am a bit confused what the host is of the generated code. That host should have a .config file.

The generated code is access via a DLL library on the app server. The DLL library is accessed directly by the web service.

Does the web service process need to have the connection string in its *.config?

Maybe this is simpler than I'm making it.

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39933
Joined: 17-Aug-2003
# Posted on: 23-Feb-2005 09:05:24   

Yes, in that case the webservice has to have an appSettings section with the connection string.

Frans Bouma | Lead developer LLBLGen Pro