View Single Post
  #5 (permalink)  
Old December 31st, 2010, 07:50 AM
Imar's Avatar
Imar Imar is offline
Wrox Author
Points: 70,322, Level: 100
Points: 70,322, Level: 100 Points: 70,322, Level: 100 Points: 70,322, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Quote:
It took me a sleepless night to understand, that in the connection string for the entity, the keyword for the user is "User" and not "User ID" as described in your book.
Can you show the complete connection string (without personal data)? User Id has always worked for me. For more examples using User Id, take a look here: http://www.connectionstrings.com/sql-server-2005

Quote:
Do I have to change the "ApplicationServices" connection string name to "LocalSQLServer"? I just added the "LocalSQLServer" connection string as described in your book.
It depends on what you want. If you want to minimize the number of (identical) connection strings, you could create a single one (PlanetWrox, or ApplicatiionServices or LocalSqlServer or whatever) and use that everywhere in the application.

Cheers,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!