llblgen 2.5,adapter,sql server 2005,C# 3.5
I am getting the above error whn i am trying to connect with database.
I have DataAdapter, DataAdapterDBSpecific, SD.LLBLGen.Pro.DQE.SQLServer.NET, SD.LLBLGen.Pro.ORMSupportClass.NET in the References.
I have a App.config
<configuration>
<appSettings>
<add key="Main.ConnectionString" value="data source=PLSSQL-qmf-010;initial catalog=Billing;User ID=Billing;Password=billing;persist security info=False;packet size=4096"/>
</appSettings>
While debugging i found the ReadConnectionStringFromConfig() method is returning a empty string, and ConnectionStringKeyName as Main.ConnectionString, which is correct.
Its working fine when i am specifying the connectionString like this in Adapter("data source=PLSSQL-qmf-010;initial catalog=Billing;User ID=Billing;Password=billing;persist security info=False;packet size=4096")
I dont know i am doing wrong. but for sure i am missing something..
Thanks for your help in advance.
Ali