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)
-   -   Chapter 13 pg 458 (http://p2p.wrox.com/showthread.php?t=99455)

Okadante April 14th, 2017 07:51 PM

Chapter 13 pg 458
Part 6 when doubleclicking on planetwrox.mdf file. In the modify connection window are we connecting to the file or server?

Imar April 16th, 2017 05:06 AM

To the file through a server. Depending on how you've configured things, SQL Server uses the local SqlExpress or LocalDB as the SQL Server instance to connect the file to.

Hope this helps,


Okadante April 16th, 2017 08:07 AM

Basically I am having this issue where after accessing the database through VS it dissapears from SSMS. I have to click database and attach it in order to use it in SSMS. Is this normal? In my modify connection box it says connect to sql server file.

Imar April 17th, 2017 05:55 AM

Yeah, I think that's by design as the file can't be connected to multiple instances. I would then use the SSMS version and find / setup that connection on your Server Explorer / Database Explorer window and forget about using the file from App_Data directly.


All times are GMT -4. The time now is 04:05 AM.

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