WHERE TO BUY

Search

gs_config.dll - Help !

RSS FEED

I am trying to use this file to build a config file from the source template.However, I always get the error"Unhandled Exception: com.grandstream.provision.TextEncoderDuplicateParameterException: Exception of type 'com.grandstream.provision.TextEncoderDuplicateParameterException' was thrown."here is the c# program (I am trying to pass in three paramteres, the template, the new config and the mac address.  Any help would be appreciated. Thanks.using System;using System.Collections.Generic;using System.Text; namespace GrandStreamConfig{    class Program    {        static void Main(string[] args)        {            com.grandstream.provision.TextEncoder.Encode(args[0], args[1], args[2], false);         }    }} 

jmls

 I found the problem - I had a duplicate parameter (p399) in the text file. It's obvious when you have hindsight . I thought that the error was relating to the parameters being passed to the method :(