Wrox Programmer Forums

Need to download code?

View our list of code downloads.

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
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 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 25th, 2015, 02:09 PM
Registered User
Points: 11, Level: 1
Points: 11, Level: 1 Points: 11, Level: 1 Points: 11, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
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
Reply With Quote
  #2 (permalink)  
Old March 25th, 2015, 02:11 PM
Imar's Avatar
Wrox Author
Points: 71,164, Level: 100
Points: 71,164, Level: 100 Points: 71,164, Level: 100 Points: 71,164, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 16,967
Thanks: 79
Thanked 1,560 Times in 1,537 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!
Reply With Quote
  #3 (permalink)  
Old March 25th, 2015, 02:26 PM
Registered User
Points: 11, Level: 1
Points: 11, Level: 1 Points: 11, Level: 1 Points: 11, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
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
Reply With Quote
  #4 (permalink)  
Old March 25th, 2015, 07:21 PM
Registered User
Points: 11, Level: 1
Points: 11, Level: 1 Points: 11, Level: 1 Points: 11, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
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
Reply With Quote
The Following User Says Thank You to louisemcdonald1@gmail.com For This Useful Post:
Jaymond Flurrie (June 23rd, 2015)
  #5 (permalink)  
Old March 28th, 2015, 08:02 PM
Imar's Avatar
Wrox Author
Points: 71,164, Level: 100
Points: 71,164, Level: 100 Points: 71,164, Level: 100 Points: 71,164, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 16,967
Thanks: 79
Thanked 1,560 Times in 1,537 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!
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
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 05: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 05:56 AM



All times are GMT -4. The time now is 11:29 PM.


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