missing the difference

G

Guest

hey all,
i have a really simple routine that deletes all records from an access
table. my 2003 .net version works fine and the database is at the application
root.

however, when i run the conversion over my application to bring it to 2005
version, i manually move the access database to App_Data folder, change the
connection string, and i get an error message saying "Could not delete from
specified tables."

any ideas?

thanks,
rodchar
 
G

Guest

rodchar said:
hey all,
i have a really simple routine that deletes all records from an access
table. my 2003 .net version works fine and the database is at the application
root.

however, when i run the conversion over my application to bring it to 2005
version, i manually move the access database to App_Data folder, change the
connection string, and i get an error message saying "Could not delete from
specified tables."

any ideas?

thanks,
rodchar

This is probably an access rights problem. You need to allow write
access to the database file for the user accound that is used to run the
code. That account is usually ASPNET or IIS_WPG.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,951
Messages
2,570,113
Members
46,698
Latest member
alexxx

Latest Threads

Top