I have a deployed WCF application running on IIS 7.5 as a site. One of the business dll’s of that application (ABC.dll) has an application setting of type “connection-string”.
I would like to change that DB connection string but can’t find the right place to do it.
The ABC.dll.config in the Bin folder where the application dll’s are deployed does not contain the actual connection string the application use at run-time.
How do I find that connection string?
I have a deployed WCF application running on IIS 7.5 as a site. One
Share
If you have a WCF service running in IIS, you put the configuration in a
web.configfile in the root folder. This will contain all the settings that apply to your service. It is most likely that the connection string is being used from this file.It is theoretically possible that if the settings are not in the web.config either, then they might be in the
machine.configof the server on which you are hosting your WCF service. It is highly unlikely though that someone would store app-specific connection strings in this file but u never know sometimes.