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

You are currently viewing the BOOK: Beginning ASP.NET 4.5.1 : 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 November 9th, 2015, 01:14 AM
Registered User
 
Join Date: Oct 2015
Posts: 8
Thanks: 0
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by Imar View Post
>> just need to move the database out of localDB and into SQL Server 2014 and hopefully figure it out.

Check Appendix B; it has all the details on how to make this work.

Imar
I couldn't get the .mdf file from the source code files attach to my 2014 SQL Server Express (only to local db), so I just recreated the database which was quick (chapter 12 and 14 to create the four tables). The hard part for me was the connection string. The "Data Source" part is equal to just the name of your server, you do not need \SQLEXPRESS or anything like that after it like with LocalDB. Like Imar said, Appendix B has good info to help out on this process.

Now to try and configure the roles again...
 
Old November 9th, 2015, 04:12 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

>> you do not need \SQLEXPRESS or anything like that after it like with LocalDB.

That really depends on the target server. Indeed often you'll encounter an unnamed instance that you can address with the machine's name or just a . However, it's also possible to install the full versions of SQL Server as named instances on which case the name (the part after .\) is something that an administrator determines during installation.

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 November 13th, 2015, 12:02 AM
Registered User
 
Join Date: Oct 2015
Posts: 8
Thanks: 0
Thanked 1 Time in 1 Post
Default

Update: I have the roles information from the providers package saved on my server rather than localdb. After doing this, I was able to successful connect to and use WSAT.

Thanks for all your help Imar!
 
Old November 13th, 2015, 03:18 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

You're welcome. Glad it's all working now.


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
Chapter 16, Page 584 JHubschman BOOK: Beginning ASP.NET 4 : in C# and VB 5 August 26th, 2011 05:56 PM
Chapter 16 Page 558 runner1181 BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 1 February 9th, 2010 03:18 AM
Chapter 1 Page 16 - Try It Out bradnerdhss BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 1 January 31st, 2006 02:11 PM





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