I just got a problem about my web page(.aspx). I set my web page with VB.Net, the page try to get data and insert or delete data from a database. The database is Access file (.mdb),which was located in the directory of ~/www/App_Data/. Now, the page can get the data, but there was an server error when it was inserting a new row data or delete a row in the table in database. However everything is fine when I test the page in my computer with localhost. I just think the error was caused by the directory App_Data without the right for write, but I am not sure it.Could I get suggestion?
fenggang
Fenggang
please post:
code you are using to insert data
the specific errors you are getting when inserting data
Visual Basic 2005 or 2003? (shouldnt really matter for this really)
Need 2 be back @ MS - MS All the way! Follower since 1995 MS Super Evangelist| MSDN Forums Moderator
ahmedilyas
Thanks for your reply.I just solve the problem.It shoulb be caused by permission of the directory on server.