Application restarts on running XML port

Hi All,

I am opening nav 2.x version in 5.0 SP1 and I created a sample XML port for the table 18 for the few fields.I tried to run the XML port from code unit using the following code.

Files.CREATE(‘C:/XML/asd.xml’);

Files.CREATEOUTSTREAM(Outs);

XMLPORT.EXPORT(50000,Outs);

Files.CLOSE;

where files is of type file and outs is of type outstream.

But when i run this code unit, the application restarts. Can any one please provide me a solution to run the XML port successfully!!!.

And the OS is?

Windows 7

Did you try to run the client with “Run as Administrator” option?

Hi, I have the same problem? Have you solved it. My OS is Windows 07

Hi, I have the same problem. How do I solve it?