Tagged: Automations

Could Not Load Type Library – Application Handler


Lately I have been talking with some people, which have received the error “Could Not Load Type Library”. All these errors were caused by missing registration of the NSAppHandler.dll.

The NSAppHandler.dll can be registered in the following steps: Read more »

Expanding the FTP automation

In the previous post I have started the development of FTP automation. The first post did only include some basic functions such as download, upload and list. Now it’s time for some more functionality.

So now let us add the possibility to delete and rename files.

Deleting a file from the FTP server is actually pretty simple. All you have to know is the filename and where it is place. Once you have this information you can use the WebRequestMethods to delete the file.
Read more »

Writing a FTP automation

Over some time I have been using a plain dos ftp from Navision. There is some advantages and some disadvantage combined with it.

A advantage is, that this use does not require any third part products; but a disadvantage is that you does not have the fully control over the file transfer, so you have to build your own kind of file log and parsing it to know if everything went well.

Therefor I decided to build my own automation for Navision in c#.

Read more »

Writing an automation for Navision in C#


Writing a automation for Navision is pretty simple, when you first know how to do it :-)

First of all, I assume that you already know about C#.

So here are the basic steps for creating an automation:

Read more »

C# and Dns.GetHostEntry

I am currently building a new FTP automation for Navision.

During this I discovered that Dns.GetHostEntry is not always stable.
Read more »

Importing Image from a non Navision table to a Navision blob field


In SQL it is possible to define tables with a column, which is of type image. This field type is not known by Navision or by ADO and can thereby not be extracted like other fields.

There exists 2 ways to get this fields value.

1) One way is to stream the image to a file and then afterwards import it into the blob.

Read more »