Wrox Programmer Forums
|
BOOK: Beginning ASP.NET Dynamic Websites w/ Web Matrix
This is the forum to discuss the Wrox book Beginning Dynamic Websites: with ASP.NET Web Matrix by Dave Sussman, James Greenwood, Alex Homer, Colt Kwong, John M. West; ISBN: 9780764543746
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET Dynamic Websites w/ Web Matrix 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 January 30th, 2005, 08:41 PM
Registered User
 
Join Date: Nov 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default can't write to database

Hello.
       I have the WebMatrix 1.30Mb version with MSDE 1.0.0.0 and
IExpress Setup 1.0.3705.0 .NET Framework. Since I reinstalled my
XP Home OS I cannot write to the database. I can read to, and I
can also manually add data to a database table, but not programatically.
I've asked the ASP.NET forum and they don't know, at least in a form
that a beginner like me can understand. I've tried changing all the
permissions I could access, to no avail. I'm depressed !
         Peter


 
Old January 31st, 2005, 09:09 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,110
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Right click the folder and go to properties. You should see a 'Security' tab. If you don't try this:

Open 'My Computer'. Click 'Tools' and then 'Folder Options'. Then click on the 'View' Tab and scroll all the way to the bottom. Uncheck 'Use Simple File Sharing(Recommended)' and click 'Ok' or 'Yes' to the warning.

Once that has been done you should be able to go the the folder where your db.mdb is at and right click on the folder and give <machine name>\aspnet account write access to the folder.

You must be using NTFS and NOT FAT16 or FAT32.

 
Old January 31st, 2005, 07:10 PM
Registered User
 
Join Date: Nov 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

My sincere apologies. I made two stupid errors -
one in the original program and another one in
the test program. All works OK now. Thanks, and
sorry to waste your time.
              Peter






Similar Threads
Thread Thread Starter Forum Replies Last Post
its urgent,write permission to database(mdb). shanwaj ASP.NET 1.0 and 1.1 Basics 2 January 10th, 2008 12:40 PM
Write to a database MMJiggy62 Beginning VB 6 3 August 24th, 2006 12:11 AM
Write to DataBase HELP!!! reidcor Javascript 3 January 19th, 2005 02:58 PM
Database Write and Email inquiringminds BOOK: Beginning ASP 3.0 9 September 21st, 2004 06:33 AM
How to read/write Access Database jmmendes Access VBA 0 November 18th, 2003 01:26 PM





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