Hi ever1,
I have this wierd problem. I managed to insert some wierd value into the Windows Login table, field SID, value: "a"
Now whatever I try to do with this record NAV crashes, I tried to delete, change field to valid SID value, delete whole table, change the field proporties, change with a report etc.. After the restart of the client, it is recovering the DB.
We use: NAV 5.0 SP1
Native DB
pls help
Comments
Of course there may be some side effects if you've changed tables to not be company specific. You'll definitely want to go through your data to validate it and test functionality.
Perhaps someone else can add to this as I deal almost exclusively with SQL.
My Blog - nav.education
Take a copy of your database.
On the new copy:
Create a new blank form. Declare rec1 as Record, Windows Login.
Go to onopen trigger.
Write:
rec1.SETRANGE(ID,'a');
IF rec1.FINDFIRST THEN
rec1.DELETE;
Hit Ctrl-R to run temporarily the form.
Test thoroughly your "Test" database to see if everything is ok...
You don't need to change the table definition. You should be able to take a backup, but exclude the table by unchecking the "Include Data Common to All Companies" checkbox on the backup form (Tools --> Backup).
My Blog - nav.education
@matttrax: after restore the data is still there..
for time sake, im just gone put my backup back on..maybe it should be reported to Microsoft?