Wrox Programmer Forums
|
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Basics 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 June 21st, 2006, 03:53 AM
Registered User
 
Join Date: Jun 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Failed to update database

I get an error message:

Failed to update database "C:\INETPUB\WWWROOT\ONLINEDIARY\APP_DATA\ASPNETDB. MDF" because the database is read-only.

I tried to uncheck the Read Only properties of the folder but still failed to update.Anyone knows what's going on? Please help! Thx.

 
Old June 22nd, 2006, 08:54 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

Thanks for your personal message on my site. I'll answer here, if you don't mind.

Did you check the Security settings of the App_Data folder? You'll need to give permissions to the appropriate account. Page 163 and 164 of the book describe this in more detail.

Cheers,

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004





Similar Threads
Thread Thread Starter Forum Replies Last Post
Failed to update database cothedo BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 4 July 29th, 2008 12:14 PM
Wrox Survey Failed to update database beginer_1 BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 1 April 6th, 2007 01:32 PM
Failed to load database information r_ganesh76 Crystal Reports 4 October 7th, 2004 03:04 AM
Database login failed AcidHell2 All Other Wrox Books 0 January 2nd, 2004 02:18 PM





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