Wrox Programmer Forums
|
BOOK: Beginning ASP.NET 4.5 : in C# and VB
This is the forum to discuss the Wrox book Beginning ASP.NET 4.5: in C# and VB by Imar Spaanjaars; ISBN: 978-1-118-31180-6
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 4.5 : in C# and VB section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 14th, 2017, 07:51 PM
Registered User
 
Join Date: Apr 2017
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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?
 
Old April 16th, 2017, 05:06 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

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,

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!
 
Old April 16th, 2017, 08:07 AM
Registered User
 
Join Date: Apr 2017
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.
 
Old April 17th, 2017, 05:55 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

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.

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!





Similar Threads
Thread Thread Starter Forum Replies Last Post
Pg - 437 Try it out - step 7 - Chapter 13 dipjyoty BOOK: Beginning ASP.NET 4 : in C# and VB 1 August 19th, 2014 11:40 AM
Chapter 13 Try It Out pg 464 Adrianne BOOK: Beginning ASP.NET 4 : in C# and VB 2 March 16th, 2014 07:18 PM
Ch 13, Pg 469, error on EndEditing sub supdike BOOK: Beginning ASP.NET 4 : in C# and VB 1 June 5th, 2012 02:34 PM
Chap 13 pg 428: Where is the LInq to SQL class? tomche BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 6 July 2nd, 2009 07:25 AM
Chapter 13 Try It Out Pg. 460 Broken Images workib BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 4 September 19th, 2008 10:29 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.