Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
BOOK: Beginning ASP.NET 4 : in C# and VB
This is the forum to discuss the Wrox book Beginning ASP.NET 4: in C# and VB by Imar Spaanjaars; ISBN: 9780470502211
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 4 : 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 September 28th, 2012, 09:24 AM
Imar's Avatar
Wrox Author
Points: 70,322, Level: 100
Points: 70,322, Level: 100 Points: 70,322, Level: 100 Points: 70,322, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Not sure; you could run into the exact same issues....

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 October 12th, 2012, 04:07 AM
Authorized User
Points: 100, Level: 1
Points: 100, Level: 1 Points: 100, Level: 1 Points: 100, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2012
Posts: 26
Thanks: 0
Thanked 1 Time in 1 Post
Default

I installed SQL Express 2012 and it works fine now ^_^
However, I am now on Chapter 14 and I am on the try it now on page 498 where you add 2 new tables. When I try to add the table I get the following message :
"This server version is not supported. Only servers up to Microsoft SQL Server 2008 are supported."

I have tried installing 2008 as well, but this doesn't seem to have fixed the problem :(
What should I do, as this has completely stumped me in my learning.

Thanks again
 
Old October 12th, 2012, 06:20 AM
Imar's Avatar
Wrox Author
Points: 70,322, Level: 100
Points: 70,322, Level: 100 Points: 70,322, Level: 100 Points: 70,322, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hard to say, as I haven't seen this error message myself. Google brings up some useful stuff for this error message:

http://stackoverflow.com/questions/1...upported-for-s
http://forums.asp.net/t/1721552.aspx...Database+issue
https://www.google.com/%22This+serve...e+supported%22

I have seen suggestions to reapply SP1 for VS 2010 so that may be worth trying out as well. Alternatively, you could install VS 2012 for Web Express instead.

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 October 12th, 2012, 06:23 AM
Authorized User
Points: 100, Level: 1
Points: 100, Level: 1 Points: 100, Level: 1 Points: 100, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2012
Posts: 26
Thanks: 0
Thanked 1 Time in 1 Post
Default

Thank you for the quick reply Imar.
Yeah I've seen those posts, and I now have Visual studio express 2012 for web,
However simply right clicking on the table folder to add table doesnt work because the add table option isn,t there, so I'm now trying to find the solution. Microsoft do not make this easy haha
 
Old October 12th, 2012, 06:57 AM
Imar's Avatar
Wrox Author
Points: 70,322, Level: 100
Points: 70,322, Level: 100 Points: 70,322, Level: 100 Points: 70,322, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

You may be running against SQL Server 2012 LocalDB. I found support for database design a bit limited for that version of SQL Server. You could use SQL Server Management Studio for all your table management instead (which is what I am doing in the new Beginning ASP.NET 4.5 book).

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 October 12th, 2012, 07:05 AM
Authorized User
Points: 100, Level: 1
Points: 100, Level: 1 Points: 100, Level: 1 Points: 100, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2012
Posts: 26
Thanks: 0
Thanked 1 Time in 1 Post
Default

Ok, thank you,
I'm trying that now, but simply finding the tables is difficult.
I am looking in the databases folder, which leads to System databases, which leads to master, model, msdb, and tempdb.

What should I do to get to the tables?

Sorry about all of the questions
 
Old October 12th, 2012, 07:23 AM
Imar's Avatar
Wrox Author
Points: 70,322, Level: 100
Points: 70,322, Level: 100 Points: 70,322, Level: 100 Points: 70,322, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

You need to attach your database to SQL Server first. Right-click the Databases node, choose Attach and the browse to the PlanetWrox.mdf. Appendix B has more details.

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 October 12th, 2012, 09:22 AM
Authorized User
Points: 100, Level: 1
Points: 100, Level: 1 Points: 100, Level: 1 Points: 100, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2012
Posts: 26
Thanks: 0
Thanked 1 Time in 1 Post
Default

Thank you again Imar,

I am now trying to access the Diagram, but for some reason the "show diagram pane" button is staying greyed out.
It is doing this in both the visual studio, and the sql server manager.

I really am sorry for bothering you so much, I just really need to learn this soon, and these problems are hindering my study.

Microsoft are lucky that someone like you can help as much as you do, because they are useless when it comes to support haha
 
Old October 12th, 2012, 09:35 AM
Imar's Avatar
Wrox Author
Points: 70,322, Level: 100
Points: 70,322, Level: 100 Points: 70,322, Level: 100 Points: 70,322, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

When you say: "the sql server manager." do you mean Management Studio?

Did you successfully attach your database? Which file format (version) of the database did you attach to which version of SQL Server? How are you trying to access this functionality? I never ran into issues like this so something must be wrong on your machine, but it's hard for me to suggest solutions without knowing more about the problems.

You could also try contact Microsoft; SQL Server is fully supoorted so they should be able to help you out.

Quote:
Microsoft are lucky that someone like you can help as much as you do, because they are useless when it comes to support haha
That's why they award me with the MVP award I guess. Not sure I agree with how useless support is though. Try calling them, and they'll help you get this resolved.

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 October 12th, 2012, 09:45 AM
Authorized User
Points: 100, Level: 1
Points: 100, Level: 1 Points: 100, Level: 1 Points: 100, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2012
Posts: 26
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hi Imar,

Yes I meant the SQL Server Management studio.

I successfully attached the database. It's the 2008 version of the planetwrox.pdf file from the chapter 12 resources folder.
This is attached with SQL server express 2012. 64 bit on windows7.

Congratulations on your reward ^_^

When I said that their support was useless, I mean their online documentation. It's extremely disorganised, and the support forums are full of repeated automated responses, so it's frustrating when you have a problem, and can't find the correct answer.
I can't call them because I am doing this as work in an office.




Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem using SQL Server Express 2008 floridaguy BOOK: Beginning ASP.NET 4 : in C# and VB 4 August 19th, 2011 09:35 AM
Synchronization between SQL 2008 Express on local machine and SQL hosting server avidan ASP.NET 4 General Discussion 0 December 29th, 2010 12:31 PM
SQL Server 2008 vs Express ewingf BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 5 May 20th, 2010 04:52 PM
Help With Visual Studio 2008 & SQL Server 2005 Express Rambo Visual Studio 2008 3 December 21st, 2009 12:08 PM
Installing SQL Server 2008 Express Edition with Tools Kevin7777 BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 3 March 8th, 2009 05:14 AM





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