>I get a "File access denied" error when the dll tries to access the tables. Does the dll run is a strange context and therefore does not have permission to access the table?
Looks like you're trying to access tables that you don't have readwrite rights (either security or in exclusive use elsewhere).
Cetin