|
-
Apr 25th, 2018, 05:06 PM
#1
Thread Starter
New Member
[Resolved] Compiled Connection String Problem
I have a 3 Tier asp.net application. I have the dataset and table adapters separated into different projects. The WCF service that uses the table adapters is also in a separate project. The problem that I now have is that the connection string is being compiled into the DLL for the table adapter. When I deploy the web service, the connection string is compile with the table adapter DLL and placed in the WCF service's BIN folder. I opened up the DLL and confirmed that it is in the DLL since I could not find it anywhere else. I need it to be in an config file so that I can change it for different environments and so that I can encrypt it.
How do I configure the project to use a connection string either in the WCF service's web.config or some separate config file?
Last edited by Traveller; Apr 26th, 2018 at 10:56 AM.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|