Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old July 5th, 2014, 10:26 AM
Authorized User
Points: 44, Level: 1
Points: 44, Level: 1 Points: 44, Level: 1 Points: 44, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
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 12:04 PM.
Reply With Quote
  #2 (permalink)  
Old July 7th, 2014, 09:18 AM
Imar's Avatar
Wrox Author
Points: 71,164, Level: 100
Points: 71,164, Level: 100 Points: 71,164, Level: 100 Points: 71,164, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 16,957
Thanks: 79
Thanked 1,556 Times in 1,533 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!
Reply With Quote
  #3 (permalink)  
Old July 7th, 2014, 10:33 AM
Authorized User
Points: 44, Level: 1
Points: 44, Level: 1 Points: 44, Level: 1 Points: 44, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
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!
Reply With Quote
  #4 (permalink)  
Old July 7th, 2014, 10:44 AM
Imar's Avatar
Wrox Author
Points: 71,164, Level: 100
Points: 71,164, Level: 100 Points: 71,164, Level: 100 Points: 71,164, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 16,957
Thanks: 79
Thanked 1,556 Times in 1,533 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!
Reply With Quote
  #5 (permalink)  
Old July 7th, 2014, 12:16 PM
Authorized User
Points: 44, Level: 1
Points: 44, Level: 1 Points: 44, Level: 1 Points: 44, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
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!
Reply With Quote
  #6 (permalink)  
Old July 7th, 2014, 12:30 PM
Imar's Avatar
Wrox Author
Points: 71,164, Level: 100
Points: 71,164, Level: 100 Points: 71,164, Level: 100 Points: 71,164, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 16,957
Thanks: 79
Thanked 1,556 Times in 1,533 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!
Reply With Quote
  #7 (permalink)  
Old July 7th, 2014, 03:24 PM
Authorized User
Points: 44, Level: 1
Points: 44, Level: 1 Points: 44, Level: 1 Points: 44, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
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!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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 11:53 PM
Making a folder virtual folder on button click in CsharpHelp C# 0 October 26th, 2005 06:57 AM
Downloading scripts... johnh Oracle 0 May 23rd, 2004 11:17 AM
SQL Scripts sridevi SQL Server 2000 8 May 20th, 2004 01:11 AM



All times are GMT -4. The time now is 03:39 AM.


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