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 July 5th, 2014, 09:26 AM
Authorized User
 
Join Date: Jun 2014
Posts: 10
Thanks: 1
Thanked 0 Times in 0 Posts
Default LocalDB and Scripts folder

Hello,

I downloaded this file:
ENU\x86\SQLEXPRWT_x86_ENU.exe
for the SQL Server Management Studio, but I cannot connect to the localDB as described in the try it out on page 411. Instead the only option that I was getting is the following: my pc id\SQLEXPRESS. The LocalDB 11.1 is actually installed on the computer, but the management studio can't connect to it. I am now stuck and can't make any progress. Any suggestions?

Also, in chapter 11 page 395, on section 3 of the try it out, the system is rejecting the drag because both files are located within the Scripts folder.

Thank you!

Last edited by begaspnet; July 6th, 2014 at 11:04 AM..
 
Old July 7th, 2014, 08: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

Hi there,

Local DB may not appear in the list automatically. Did you try typing it in manually as suggested in step 3 on page 411? It should read as (LocalDB)\v11.0

>> the system is rejecting the drag because both files are located within the Scripts folder.

The text says not to drag it in the Scripts folder, but to drag the file *onto* the open references files in the text editor.

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!
 
Old July 7th, 2014, 09:33 AM
Authorized User
 
Join Date: Jun 2014
Posts: 10
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Hi Imar,

I typed it manually as suggested by the text. Is there any other alternative, because I noticed that the rest of the material depends on this particular step.
Did I download the correct express version anyways?

Thank you!
 
Old July 7th, 2014, 09:44 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

>> I typed it manually as suggested by the text.

And did that work?

If not, check under Programs and Features in Windows and search for local. You should see something like Microsoft SQL Server 2012 Express LocalDB. If you don't see it, it's not installed and you may need to reinstall it.

You don't *have* to use LocalDB, and a regular Express instance would work too, but LocalDB is typically simpler to work with.

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!
 
Old July 7th, 2014, 11:16 AM
Authorized User
 
Join Date: Jun 2014
Posts: 10
Thanks: 1
Thanked 0 Times in 0 Posts
Default

When I typed it manually it did not work. I typed it exactly as suggested by the book. Microsoft SQL Server 2012 Express LocalDB is installed on my computer and the version is 11.1. I typed this version as well as the version suggested(11.0) by the book. Both did not work.

This is what I installed for the express: ENU\x86\SQLEXPRWT_x86_ENU.exe
Is it the right thing?

Thanks again!
 
Old July 7th, 2014, 11:30 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

>> This is what I installed for the express: ENU\x86\SQLEXPRWT_x86_ENU.exe

Hard to say as the file name doesn't reveal the version. But this should give you SQL Express, not necessarily Local DB.

Have you tried (re)installing Local DB? http://www.microsoft.com/en-us/downl....aspx?id=29062

Also, can you post the *exact* instance name you're entering when trying to log in to local DB?

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 July 7th, 2014, 02:24 PM
Authorized User
 
Join Date: Jun 2014
Posts: 10
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Hi Imar,

I reinstalled it and it worked. The one that was previously installed was a higher version which was not compatible.

Thanks for the help!





Similar Threads
Thread Thread Starter Forum Replies Last Post
How to get current location of folder or drive on right click on folder or drive Babusingh C# 2008 aka C# 3.0 1 January 20th, 2010 05:17 AM
App_Code folder shared on only 1 folder? rpeters83 ASP.NET 2.0 Professional 1 September 1st, 2006 10:53 PM
Making a folder virtual folder on button click in CsharpHelp C# 0 October 26th, 2005 05:57 AM
Downloading scripts... johnh Oracle 0 May 23rd, 2004 10:17 AM
SQL Scripts sridevi SQL Server 2000 8 May 20th, 2004 12:11 AM





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