Windows Login Table crashes NAV

corocoric
Member Posts: 5
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
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

0
Comments
-
Crashes also in Cronus 5.0 SP1
(
0 -
Try taking a backup, but don't include the "Data Common to All Companies". Restoring that should give you a database without any logins in it.
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.0 -
This is a shared table of course
and I cannot make it data per company before its emptyyy
0 -
IF you are a developer:
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...0 -
corocoric wrote:This is a shared table of course
and I cannot make it data per company before its emptyyy
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).0 -
@kapamarou: I tried this but it still crashes, it looks like this is embedded inside the client or somewhere else.. Under SQL, i can delete rows without problems..
@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?0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions