Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Business Layer Generator Error
Message
 
To
08/06/2006 19:06:35
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
01127977
Message ID:
01128006
Views:
24
Tony,

>There is an app.Config file with the following:
>
><databases>
>  <add key="Data Source=(local);Initial Catalog=Purchase;Integrated Security=True" />
></databases>
>
>
>I can get data from this connection string from the Server Explorer window.

This entry in your app.config file is formatted improperly; you are missing the "key" portion of the entry.

Check out the MM .NET Dev Guide section "Specifying Connection Strings in the Config File". Your entry should look something like this:
<add key="Northwind\Connection" value="Data Source=(local);Initial Catalog=Purchase;Integrated Security=True" />
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Previous
Reply
Map
View

Click here to load this message in the networking platform