 |
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
|
|
|
|
|

September 28th, 2012, 09:24 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Not sure; you could run into the exact same issues....
Imar
|
|

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

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

October 12th, 2012, 06:57 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
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
|
|

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

October 12th, 2012, 07:23 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
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
|
|

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

October 12th, 2012, 09:35 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
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
|
|

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