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
|