Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: ASP.NET 3.5 Website Programming Problem Design Solution
This is the forum to discuss the Wrox book ASP.NET 3.5 Website Programming Problem Design Solution by Chris Love; ISBN: 978-0-470-18758-6
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET 3.5 Website Programming Problem Design Solution 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
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old December 7th, 2009, 11:00 AM
Registered User
 
Join Date: Dec 2009
Posts: 5
Thanks: 1
Thanked 1 Time in 1 Post
Default SQL Script for 2005 server!!!

Why is´nt there a sql server 2005 compatible version of thebeerhouse 3.5 database for those that doesnt have and want to use 2008???
  #2 (permalink)  
Old December 7th, 2009, 11:52 AM
Lee Dumond's Avatar
Wrox Author
Points: 4,942, Level: 29
Points: 4,942, Level: 29 Points: 4,942, Level: 29 Points: 4,942, Level: 29
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2008
Location: Decatur, IL, USA.
Posts: 923
Thanks: 12
Thanked 166 Times in 162 Posts
Default

You could use SQL Server 2008 Express Edition, which is totally free.
__________________
Visit my blog at http://leedumond.com
Follow me on Twitter: http://twitter.com/LeeDumond

Code:
if (this.PostHelpedYou)
{
   ClickThanksButton(); 
}
  #3 (permalink)  
Old December 7th, 2009, 02:47 PM
Registered User
 
Join Date: Dec 2009
Posts: 5
Thanks: 1
Thanked 1 Time in 1 Post
Default

If it only were that simple! When i try to install sql server express 2008 i only get error message:

"Sql Server Express 2008 with service pack 1 is incompatible with Microsoft Sql server express 2005. In order to use Sql server Express 2008 you must upgrade to Visual Studio 2008 express with sp1."

Very weird since i already have Visual Studio 2008 pro with sp1??? However when i try to install Visual Studio express 2008 with sp1, then i get this message:

"Sql server Express 2008 with service pack 1 is incompatible with Microsoft Sql server express 2005. Visual web developer 2008 express with sp1 requires sql server express 2008 with service pack 1."

But how in hell, i cant install sql server 2008 express with sp1 without getting the first errormessage. I have sql server 2005 express and sql server 2005 developer edition installed. Do i have to uninstall those first....that would also be weird!
  #4 (permalink)  
Old December 7th, 2009, 03:15 PM
Lee Dumond's Avatar
Wrox Author
Points: 4,942, Level: 29
Points: 4,942, Level: 29 Points: 4,942, Level: 29 Points: 4,942, Level: 29
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2008
Location: Decatur, IL, USA.
Posts: 923
Thanks: 12
Thanked 166 Times in 162 Posts
Default

When installing SQL Express 2008, the default instance name is SQLEXPRESS.

Unfortunately, this is the same default as SQL Express 2005. That means if you have SQL 2005 Express installed, you probably already have an SQLEXPRESS instance, which is a conflict.

The trick is, when installing SQL Express 2008, to change the name of the default instance to something different. Mine is named SQLEXPRESS2008.

I have SQL 2005 Express, SQL 2005 Developer, SQL 2008 Express, and SQL 2008 Developer on my main machine, and they all work.
__________________
Visit my blog at http://leedumond.com
Follow me on Twitter: http://twitter.com/LeeDumond

Code:
if (this.PostHelpedYou)
{
   ClickThanksButton(); 
}
The Following User Says Thank You to Lee Dumond For This Useful Post:
kneten73 (December 8th, 2009)
  #5 (permalink)  
Old December 8th, 2009, 04:11 PM
Registered User
 
Join Date: Dec 2009
Posts: 5
Thanks: 1
Thanked 1 Time in 1 Post
Default

Yep it was the instance name that was the problem, renamed it and it worked! Thanks...
  #6 (permalink)  
Old December 10th, 2009, 07:26 AM
Authorized User
 
Join Date: Jul 2008
Location: , , .
Posts: 29
Thanks: 0
Thanked 2 Times in 2 Posts
Send a message via MSN to docluv
Default

The entity model was created using SQL 2008 since that is the latest version. Unfortunately models have to be used against the SQL version they were generated against.

I have been told about a way to mannually change the XML, but before I post a solution to that I want to verify it and I have not had the free cycles to do this yet.
__________________
http://Professionalaspnet.com
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
Questions about SQL Server 2005 and SQL Server Express Edition 2005 gfmann BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 1 May 24th, 2009 09:36 AM
Difference between SQL Server 2000 and SQL Server 2005 leena K SQL Server 2005 4 March 31st, 2009 09:07 AM
reg conn to sql server 2005 from vb.net 2005.. veda SQL Server 2005 2 July 1st, 2008 12:16 AM
Conflict in SQL Server 2000 and SQL Server 2005 ayan.mukherjee SQL Language 0 June 30th, 2008 03:34 AM
migrating from sql server 2000 to sql server 2005 abinashpatra SQL Server 2005 2 December 1st, 2006 03:45 PM



All times are GMT -4. The time now is 06:03 PM.


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