Wrox Programmer Forums
|
BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3
This is the forum to discuss the Wrox book Beginning ASP.NET 3.5: In C# and VB by Imar Spaanjaars; ISBN: 9780470187593
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 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 15th, 2009, 04:08 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

That explains it....

I prefer to use the SQL Server Configuration Manager from the start menu. Once everything is up and running, I don't really need instant access to my instances anymore.

Anyway, interesting to see how connection to .\SqlExpress from SQL Management Studio will go...

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 15th, 2009, 08:53 PM
Registered User
 
Join Date: Apr 2009
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Imar,

I was able to attach the PlanetWrox.mdf file in SQL Server management studio and open the two tables with no problems but double clicking it in VWD still didn't work. I really didn't want to reinstall SQL Server Express. So, after a long conversation with mom, I just right clicked on the PlanetWrox.mdf in VWD and clicked "Refresh." That opened all the database items. I guess double clicking the file didn't work for me.

I guess my setup is just different: I have the SQL Server express icon in my task bar and double click doesn't work.

So, thanks for all your help. See you on the next question.

San
 
Old May 29th, 2009, 08:07 AM
Authorized User
 
Join Date: Nov 2007
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default Database connection VS2008

Imar,
I have been working through the ASP.NET 2.0 but decided to purchase your book insead, great work by the way.
I am having the same issue with chapter 11 in Visual Studio 2008 it shows the PlanetWrox data base with the red x. I get a error 26 when I try to connect to it through visual studio. I have check my sql server (express) and it is set up for remote connections.
I can attach the data base in Management studio and navigate through it fine.
My server instance is listed in the server explorer window on visual studio.

Is there something else I can check.
Thanks for the quick responsed also its nice to have this kind of service.
Neal
 
Old May 29th, 2009, 05:50 PM
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,

Have you tried SQL Server Management Studio Express? It's a useful tool to manage your SQL Server database.

http://www.microsoft.com/express/sql/download/

While it won't fix your problem right awway, it may help in finding the cause of the problem.....

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 May 29th, 2009, 06:25 PM
Authorized User
 
Join Date: Nov 2007
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I have SQL Server Management Studio Express and I am able to attach the database and explore it using SQL Server Management Studio Express. But for some reason I can connect to the database using server explorer in Visual Studio 2008 Pro.

Does Visual Studio 2005 Support ASP.NET 3.5?

Thanks
Neal
 
Old May 30th, 2009, 04:50 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 assume you mean "can't connect"?

Did you attach the database to SQL Server *and* try to view it through the App_Data folder by double-clicking it? That won't work. When you view it from App_Data, the database is attached to SQL Server on the fly. If it is already attached, you need to view it by making a new connection on the Server / Database Explorer window.

If that doesn't help, check out the permissions for the App_Data folder using a Windows Explorer.

Quote:
Does Visual Studio 2005 Support ASP.NET 3.5?
Nope, it doesn't. For ASP.NET 3.5 you need Visual Studio 2008.

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!





Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 11 - Can't connect to database G276 BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 1 February 7th, 2009 04:46 AM
Chapter 11 - Problem Opening Database dbcook8 BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 15 February 2nd, 2009 08:41 AM
Chapter 11 Connection Issue justin000 BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 3 August 4th, 2008 06:14 AM
Connection Chapter 11?! workidoo BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 3 July 15th, 2008 04:01 AM
Error in Chapter 11 Sample Code josevi BOOK: Professional SharePoint 2007 Development ISBN: 978-0-470-11756-9 1 February 1st, 2008 01:43 PM





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