Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB 2012 > Beginning Visual Basic 2012
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Beginning Visual Basic 2012
This is the forum to discuss the Wrox book Beginning Visual Basic 2012 by Bryan Newsome; ISBN: 978-1-118-31181-3
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning Visual Basic 2012 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
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old March 3rd, 2015, 10:13 AM
Registered User
Points: 13, Level: 1
Points: 13, Level: 1 Points: 13, Level: 1 Points: 13, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Mar 2015
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 17 Dynamic Data Website

Hi - I have a problem with the Creating a Dynamic Data Website exercise in Chapter 17. At step 8 (page 574) where I select my Data Connection, I get an error saying my database is not compatible with the current instance of SQL Server. I am using the free download of SQLExpress 2012. I have regenerated the pubs database just in case I had corrupted it on previous exercise but this did not resolve the issue. Can you make any suggestion to help me through this please?
Reply With Quote
  #2 (permalink)  
Old March 3rd, 2015, 11:49 PM
Friend of Wrox
Points: 528, Level: 8
Points: 528, Level: 8 Points: 528, Level: 8 Points: 528, Level: 8
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Feb 2014
Posts: 136
Thanks: 1
Thanked 10 Times in 10 Posts
Default

The mdf data base file in your application is not compatible with the 2012 sql server express instance that you have. I would say that it was probably created with a 2008 edition, but that is just a guess, I have not looked at the exercise.

In order to use the mdf file you attach it to your local instance in the connection string. Your local instance must be able to open it.

Last edited by mmorgan30; March 3rd, 2015 at 11:52 PM.
Reply With Quote
  #3 (permalink)  
Old March 4th, 2015, 04:54 AM
Registered User
Points: 13, Level: 1
Points: 13, Level: 1 Points: 13, Level: 1 Points: 13, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Mar 2015
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for that hint - I will go and see if Microsoft has a more up-to-date-version of the pubs database.
Reply With Quote
Reply


Thread Tools
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
CH 17 Dynamic Data Website JT101 Beginning Visual Basic 2012 1 April 10th, 2014 12:40 PM
Chapter 17-Data Binding Hotshotron25 BOOK: Beginning Microsoft Visual Basic 2008 ISBN: 978-0-470-19134-7 1 August 20th, 2009 05:10 PM
Dynamic website to Static website Aboal3ood ASP.NET 1.x and 2.0 Application Design 4 December 7th, 2006 11:46 AM
Chapter 17 - Report Data Source Granted BOOK: Professional SQL Server 2005 Integration Services ISBN: 0-7645-8435-9 1 February 21st, 2006 10:53 AM
data grid in chapter 17, page 708 gcpeters BOOK: Beginning VB.NET 2nd Edition/Beginning VB.NET 2003 1 January 16th, 2004 01:48 AM



All times are GMT -4. The time now is 11:05 AM.


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