The ConnectionString property has not been initialized llblgen pro

Posts   
 
    
wael
User
Posts: 3
Joined: 05-Mar-2009
# Posted on: 06-Mar-2009 03:33:54   

rage when create web and insert llblgenprodatasoure2 adapter get error ( The ConnectionString property has not been initialized llblgen pro)

daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 06-Mar-2009 04:39:42   

Hi Wael,

Are you setting the connection string on the app/web.config file (see this)?

If the problem persists please post more info so we can help you better simple_smile (http://www.llblgen.com/tinyforum/Messages.aspx?ThreadID=7722)

David Elizondo | LLBLGen Support Team
wael
User
Posts: 3
Joined: 05-Mar-2009
# Posted on: 06-Mar-2009 06:12:50   

Hi daelmo,

the setting App.config in (Northwnd.DALDBSpecific) Applicatin is


<configuration> <appSettings> <add key="Main.ConnectionString" value="data source=wael\SQLINSTANCE;i nitial catalog=Northwind; User ID=sa;Password=.;persist security info=False;packet size=4096"/> </appSettings> </configuration>

im Using sql2005 Northwnd database , and sql instance is WAEL\SQLINSTANCE\ username is (sa) password is (.) what can i do rage

wael
User
Posts: 3
Joined: 05-Mar-2009
# Posted on: 06-Mar-2009 06:51:54   

Plz help me

what can i do in thes case

Walaa avatar
Walaa
Support Team
Posts: 14993
Joined: 21-Aug-2005
# Posted on: 06-Mar-2009 07:55:52   
<appSettings>
         <add key="Main.ConnectionString" value="data source=wael\SQLINSTANCE;i
             nitial catalog=Northwind;
                User ID=sa;Password=.;persist security info=False;packet size=4096"/>
</appSettings>

Please copy the above content into your application app.config or web.config file.