Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 4.5.1 > BOOK: Beginning ASP.NET 4.5.1 : in C# and VB
|
BOOK: Beginning ASP.NET 4.5.1 : in C# and VB
This is the forum to discuss the Wrox book Beginning ASP.NET 4.5.1: in C# and VB by Imar Spaanjaars; ISBN: 978-1-118-84677-3
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 4.5.1 : 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 March 25th, 2015, 01:09 PM
Registered User
 
Join Date: Mar 2015
Posts: 3
Thanks: 0
Thanked 1 Time in 1 Post
Default Chapter 13 - operating system error 5: "5(access is denied.)" for Planet Wrox DB

Hi Imar,

I really love the book and I've got as far as Chapter 13 without running into any problems that I couldn't solve.

In the Try It Out on p444, step 6, I get an error accessing the database from VS (it's fine from SSMS) - I get 'operating system error 5: "5(access is denied.)"'. I've done everything I can think of to solve it - I've changed the access permissions on the entire path to allow Authenticated Users. I've checked the web.config and it's identical to the one in the downloaded source code. I've deleted and recreated the connection and the DB (using the SQL file from the Resources folder).

The only thing that I can think of (because it's the only part of your instructions that I couldn't follow correctly) is that it might be something to do with being unable to log into SSMS as (LocalDB)\v11.0 (p411, TIO step 3). This option isn't offered any more - the only option available is MAIN-PC\SQLEXPRESS.

In case it matters, I'm running VS Express 2013 on a Windows 8.1 laptop.

It would be great if you could help, please, as I would love to be able to finish the book.

All the best,

Louise
 
Old March 25th, 2015, 01:11 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

>> This option isn't offered any more - the only option available is MAIN-PC\SQLEXPRESS.

Can you try typing it in directly? The drop down just shows recent entries.

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 March 25th, 2015, 01:26 PM
Registered User
 
Join Date: Mar 2015
Posts: 3
Thanks: 0
Thanked 1 Time in 1 Post
Default Thanks - I wil try that

Hi Imar,

Thank you so much for the quick reply. I've tried it (I thought I had already but obviously not) and I can type (LocalDB) etc. in. It will take me a little while to check if it solves everything because windows is not letting me delete the old DBs without a reboot (and I have to go and collect my baby from nursery now), but I'll work through it and let you know.

All the best,

Louise
 
Old March 25th, 2015, 06:21 PM
Registered User
 
Join Date: Mar 2015
Posts: 3
Thanks: 0
Thanked 1 Time in 1 Post
Default Solved!

Hi Imar,

Thank you so much for your quick response - it's all sorted and working now. I checked the text on p411 and it does say enter (LocalDB)\v11.0 - I just misread it.

I really appreciate your help and I'm looking forward to finishing the rest of the book now.

All the best,

Louise
The Following User Says Thank You to [email protected] For This Useful Post:
Jaymond Flurrie (June 23rd, 2015)
 
Old March 28th, 2015, 07:02 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Good to hear, and thanks for the follow up.

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!





Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 13: Not seeing "Edit Columns" choice in SmartTasks Panel for Gridview wgrayson BOOK: Beginning ASP.NET 4 : in C# and VB 7 August 27th, 2012 04:30 AM
MSXSL gives error message for "for" inside "select" ilyaz XSLT 1 December 9th, 2010 05:02 PM
Error Permission denied while using CreateObject("Word.Application") vinod.kummar BOOK: Beginning ASP 3.0 0 January 7th, 2010 06:11 AM
Chapter 13 pictureDetails.aspx "The resource cannot be found" Rudy BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 3 November 24th, 2009 04:39 AM
Add a CheckBox DataColumn to my DataGridView, Null format: "" or "True" but Error: F ismailc C# 2005 0 September 25th, 2009 04:56 AM





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