M
Marius Strumyla
Here's what I'm doing. I'm switching to another domain user with
RunAs. Then open a simple Access database with one table. When I try
to open the table, I get "The Visual Basic for Applications project in
the database is corrupt."
The same table opens fine running as a regular user. For testing, I
created a new database with an empty table.
What's interesting is that I have one database and I can open any
table in it. The table was created with MS Access 2000 but probably
different service pack. So I copied the desired tables and queries
from the "bad" database to the "good" one. Opening tables was still
working. I removed all unnecessary tables, queries, forms, reports. It
was still working. I removed two Modules that were in the "good" db
and BANG... I then got the error "The Visual Basic for Applications
project in the database is corrupt."
I'm running MS Access 2000 SP-3 under Win2k. NT permissions are
exactly the same on both mdb files.
Any ideas?
RunAs. Then open a simple Access database with one table. When I try
to open the table, I get "The Visual Basic for Applications project in
the database is corrupt."
The same table opens fine running as a regular user. For testing, I
created a new database with an empty table.
What's interesting is that I have one database and I can open any
table in it. The table was created with MS Access 2000 but probably
different service pack. So I copied the desired tables and queries
from the "bad" database to the "good" one. Opening tables was still
working. I removed all unnecessary tables, queries, forms, reports. It
was still working. I removed two Modules that were in the "good" db
and BANG... I then got the error "The Visual Basic for Applications
project in the database is corrupt."
I'm running MS Access 2000 SP-3 under Win2k. NT permissions are
exactly the same on both mdb files.
Any ideas?