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 applicatio
n
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,
rodcharrodchar wrote:
> 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 applicat
ion
> 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 th
e
> connection string, and i get an error message saying "Could not delete fro
m
> 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.
G?ran Andersson
_____
http://www.guffa.com
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment