I’ve developed a Dataport, to import some sales-data into Navision.
The problem is that my dataport is hanging when it is finished reading the file, and I have to close Navision the hard way.
I’ve tried to insert a COMMIT at the end of the OnAfterImport-trigger, just to check if the file actually has been read fully.
It only missed the last line.
I’ve tried to shorten the file, with the same result.
I’m using NAV4.02, on SQL2005.
But I also tried this in a native-DB, with the same result.
The file that I try to import is an Excel-file, saved as .csv.
Also I have tried to make a Report for the import, and this performs as it should.
(Doesn’t hang [:D])
Any ideas as to what is going on here?