VS2005 beta2 app.config issue

Posts   
 
    
tvoss avatar
tvoss
User
Posts: 192
Joined: 07-Dec-2003
# Posted on: 14-Jun-2005 02:41:04   

Any tips on how to setup app.config in vs2005 beta2?

Connection string problems.

I copied in the usual, but it is not working.

I searched here on vs2005 = 0 msgs beta2 = 0 msgs.

Do we use the new sections? with our connection string?

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39933
Joined: 17-Aug-2003
# Posted on: 14-Jun-2005 10:27:36   

It should work normally, nothing has changed in that area actually in vs.net 2005 (other than that you can change the .config files now at runtime). My test projects in vs.net 2005 all use a config file and work ok. Could you re-check if you've copied the data into the right file?

Frans Bouma | Lead developer LLBLGen Pro
tvoss avatar
tvoss
User
Posts: 192
Joined: 07-Dec-2003
# Posted on: 16-Jun-2005 19:11:29   

The problem was that I copied the right information: connection string in appsettings in config section, but due to playing around with some datasource objects, datasets, etc. there were other sections that had been added with other connection strings in there so vs2005 didn't like that it didn't know which one to use. After deleting the other info besides the usual simple config/appsetttings, it worked fine.