Link to home
Start Free TrialLog in
Avatar of RickJ
RickJ

asked on

Drop Table Error

I am trying to drop a table in SQL Server Mobile Edition.
I get the following error.
"No Key matching the described characteristics could be found within the current range"

Any idea how I get past this??
ASKER CERTIFIED SOLUTION
Avatar of QPR
QPR
Flag of New Zealand image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of RickJ
RickJ

ASKER

I tried a select and it works fine.
Avatar of RickJ

ASKER

I have also tried to modify field properties (changing type, deleting) and it comes up with the same error.
If I add a field it works fine and doesnt complain. If I delete the new field it doesnt complain.
Also the table has no data if that makes a difference.

Any more ideas??
is this table involved in some sort of replication scenario?
Avatar of RickJ

ASKER

No, replication is not being used.
Avatar of RickJ

ASKER

I found a solution.
It seems the database was corrupt in some way.
I downloaded and used the "compact" in this tool,
"SQLCE Database Viewer" from www.pocketpctoolkit.com and it worked fine from then on.

Thanks for your help QPR.