Results 1 to 3 of 3

Thread: [Resolved] Compiled Connection String Problem

Threaded View

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2017
    Posts
    7

    Resolved [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
  •  



Click Here to Expand Forum to Full Width