p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   BOOK: Beginning ASP.NET 4.5 : in C# and VB (http://p2p.wrox.com/forumdisplay.php?f=710)
-   -   Is it true that... (http://p2p.wrox.com/showthread.php?t=90425)

vbboyd June 27th, 2013 11:02 PM

Is it true that...
 
The way SQL Server 2012 Express works is by registering
these App_Data databases by name across your entire machine and the
names are not allowed to be duplicated. So, if you have 2 copies of
PlanetWrox in two different directories, you are almost sure to run
into this type of problem? Could be the source of some of my problems that I have been having with SQL Server 2012 lately?

Imar June 28th, 2013 04:27 AM

It depends on how you register them. If you attach them, names need to be unique indeed. If you attach them on the fly (using AttachDbFileName) then the name of the database will be the full physical path which is then unique.

Imar


All times are GMT -4. The time now is 02:23 AM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.