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 October 25th, 2009, 06:02 PM
Fed Fed is offline
Authorized User
 
Join Date: Oct 2009
Posts: 55
Thanks: 26
Thanked 0 Times in 0 Posts
Default

Curly fries anyone? :) You were right Imar and to tell you the truth I thought "He' going to find a little thing like a capitalization", eh close enough. Thanks man I really appreciate it. Man it can get frustrating in the beginning...

Thanks again and cheers!
 
Old October 25th, 2009, 06:39 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Haha, that's why it's useful sometimes to have a second pair of eyes looking over your shoulder... ;-)

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 4th, 2009, 04:17 PM
Fed Fed is offline
Authorized User
 
Join Date: Oct 2009
Posts: 55
Thanks: 26
Thanked 0 Times in 0 Posts
Default

Hi Imar, been a while but I'm back ;)

I installed SQL Server 2008 Dev. Ed. and now when I try to open the WROX DB in Solution Explorer I get Connection to SQL Server files(*.mdf) require SQL Server Express 2005 to function properly. Please verify the instalaltion of the component or download from url....

I have SQL Server 2005 in my program list "START" All Programs.... and it further breaksdown into Configuration Tools and three more options "Configuration manager, Error and Usage Reporting, and finally Surface Area Configuration. Is there something else I need, maybe something the SQL 2008 replaced?

Interestingly the DB works from whithin the website itself ie I can access the various reviews and genres and all aspx work fine.

Thanks,

Fed
 
Old November 4th, 2009, 04:37 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

What's the connection string you are using? And what are the names of the 2005 and 2008 installations? is the 2005 version called .\SqlExpress?

You could try reinstalling Service Pack 1 for VWD and see if that makes a differnece. Somehow, something broke but I don't know what. I run a mix of SQL Servers on my machine successfully so at least it should work in theory.... ;-)

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 4th, 2009, 05:48 PM
Fed Fed is offline
Authorized User
 
Join Date: Oct 2009
Posts: 55
Thanks: 26
Thanked 0 Times in 0 Posts
Default

That's the thing, I don't have a 2005 and 2008 installation I only installed Visual Studio 2008 initially and went through your book up to Ch 15 everything working fine. Then I installed Sql Server 2008 Dev. Ed. I never had a 2005 install. I'm not using a connection string in this particular case, I am just trying to open the DB in Solution Explorer and getting the error. The DB works fine in the Planet WROX site I put together chapter by chapter.
 
Old November 5th, 2009, 04:16 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Quote:
I don't have a 2005 and 2008 installation
Quote:
I only installed Visual Studio 2008 initially and went through your book up to Ch 15 everything working fine.
If you didn't have a database installed before you installed the Dev edition, how did you follow along witth the database chapters?
If you install VS 2008 or VWD 2005 SQL Server Express 2005 Express gets installed as well, unless you already have it or opted out during installation.

Anyway, try installing SQL Server Express (www.microsoft.com/Express) and see if that helps. It's always a good idea to have an instace of Express as many ASP.NET samples assume it's there....

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!
The Following User Says Thank You to Imar For This Useful Post:
Fed (November 6th, 2009)
 
Old November 6th, 2009, 02:39 PM
Fed Fed is offline
Authorized User
 
Join Date: Oct 2009
Posts: 55
Thanks: 26
Thanked 0 Times in 0 Posts
Default

Ok so Visual Studio installs SQL Server Express 2005 with it and that is how I was able to follow the dB chapters. What happened was that I downloaded some other code from the net and am unable to run it because of some issues with the 2005 SQL version and in trying to resolve those I tried a solution involving changing the SQL instance in Visual Studio itself and when I did your dB ceased to work. So I went back and undid the instance change in Visual Studio and your stuff works now. I wil try and install SQL express 2008 even though I have SQL 2008 Developers edition installed already and see what happens.

Thanks Imar
 
Old November 7th, 2009, 04:21 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Quote:
Ok so Visual Studio installs SQL Server Express 2005 with it and that is how I was able to follow the dB chapters.
Yes; take another look at page 2, 3 and 4 where this is explained.

Quote:
I wil try and install SQL express 2008 even though I have SQL 2008 Developers edition installed
You don't have to do that. Things will work fine if you have 2005 Express and 2008 Dev. You can choose the version you need for the project you're working on. You can switch between database servers in the Tools | Options dialog as you already found out.

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
Sending mail from ContactForm: how to include a file? vilcene BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 4 September 23rd, 2009 12:18 PM
Registering ASCX gbrown ASP.NET 1.0 and 1.1 Professional 1 January 9th, 2007 11:57 AM
ascx !?! g2000 ASP.NET 2.0 Basics 1 October 21st, 2005 03:33 PM
ascx with javaScript ajindal General .NET 3 January 21st, 2005 08:31 AM
Cannot Load ASCX files mattshea50 ASP.NET 1.x and 2.0 Application Design 1 July 7th, 2004 09:09 AM





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