I have this WCF Service that is calling this method of an object that is placed in a different assembly. The latest actually fecthes all the data for the webservice.
I am getting this when I call the Fetch Method on the adapter (using the WcfTestClient):
The ConnectionString property has not been initialized.
I have the connection string set in the app.config of the DBSpecific Library:
<?xml version="1.0"?>
<configuration>
<appSettings>
<add key="Main.ConnectionString" value="data source=yyy;initial catalog=xxx;Integrated Security=True;persist security info=False;packet size=4096" />
</appSettings>
</configuration>
and on the WCF site web.config file:
<connectionStrings>
<remove name="Main.ConnectionString"/>
<add name="Main.ConnectionString" connectionString="data source=yyy;initial catalog=xxx;Integrated Security=True;persist security info=False;packet size=4096" providerName="System.Data.SqlClient" />
</connectionStrings>
ail
I even tried to insert an app.config in the BusinessObject Assembly but to no avail (as expected).
Anyone has any idea on this? Thanks for your help