Wrox Programmer Forums
BOOK: Professional ASP.NET MVC 5
This is the forum to discuss the Wrox book Professional ASP.NET MVC 5 by Jon Galloway, Brad Wilson, K. Scott Allen, David Matson; ISBN: 978-1-118-79475-3
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional ASP.NET MVC 5 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 August 26th, 2014, 12:03 PM
Registered User
Join Date: Jan 2013
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 04 Issue

According to the book, on page 92, when you execute the application, it's supposed to create the database if it does not exist. It does not do this. Anyone have any ideas?
Old August 27th, 2014, 10:15 AM
Registered User
Join Date: Jan 2013
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default One solution

I found that if I change the Data Source=(localdb)\v11.0; to Data Source=.\; then it works. I have SQL Express 2014 installed in the default instance (MSSQLSERVER).
However, because I store the files on OneDrive, there are access issues. I had to remove the AttachDBFilename clause while I'm troubleshooting this issue.
Old September 15th, 2014, 04:46 AM
Wrox Author
Join Date: Oct 2006
Posts: 36
Thanks: 1
Thanked 5 Times in 5 Posts

Thanks for posting the solution, glad it's working for you now.


Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 04 Mandelbrot set, really?.. SHISHA BOOK: Beginning Visual C# 2012 3 April 9th, 2014 04:11 PM
Chapter 04 jackSparrow BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 1 December 27th, 2008 10:34 AM
chapter 04 - table01 pannet1 BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 0 September 14th, 2005 06:19 AM
chapter 04 - table01 pannet1 BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 0 September 14th, 2005 01:21 AM
Beginning Visual C# Exercises - Chapter 04 seblake C# 0 July 21st, 2004 09:21 AM

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