Could Not Load Type Library – Application Handler

Automations, Navision 1 Comment

Hi!

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 the rest of this entry »

Expanding the FTP automation

.NET, Automations No Comments

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 the rest of this entry »

Writing a FTP automation

.NET, Automations 5 Comments

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 the rest of this entry »

Writing an automation for Navision in C#

.NET, ADO, Automations 6 Comments

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 the rest of this entry »

C# and Dns.GetHostEntry

.NET 1 Comment

I am currently building a new FTP automation for Navision.

During this I discovered that Dns.GetHostEntry is not always stable.
Read the rest of this entry »

Execution of batch jobs and other programs from Navision

Automations 3 Comments

There are at least 2 ways of execution of external batch jobs and programs.
One way is to use the SHELL command another way is to use WshShell.

Lets start with looking at SHELL.
Read the rest of this entry »

Icons by N.Design Studio. Designed By Ben Swift and Customized by Ingrid Byllemos. Powered by WordPress
Entries RSS Comments RSS Log in