Automation Servers List

lgilleron2lgilleron2 Member Posts: 3
When trying to add a new automation variable I got this message :
"The length of the text string exceeds the size of the string buffer"

The problem doesn't seem to be linked to a database : SQL / NAV or client version 3.60 / 3.70 / 3.01...

I tried to create a form on the table :
2000000046 : Automation Servers, but I got the same error message.

Does anyone know where to find the automation server that could create this error message on my machine ?
Thanks...

Comments

  • JanVJanV Member Posts: 34
    I think your problem relys on the fact that your string exceeds 1000 signs, because that's all Navision can take using the normal way.
  • lgilleron2lgilleron2 Member Posts: 3
    Yes, but do you know how to fix the pb ?
  • andre_nandre_n Member Posts: 12
    For what it's worth, I had the same problem with version 4.00 SP1
    Open and close the company fixed it.
  • mickbarrsmickbarrs Member Posts: 17
    Did you manage to resolve this issue because i have it with Version 4 SP1.

    Cheers

    Mike
  • ara3nara3n Member Posts: 9,256
    there is 250 character limit on what is being passed from a DLL to navision. Can't do anything about it. You can write a dll wrapper that will parse the string.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • mickbarrsmickbarrs Member Posts: 17
    Thanks for the response but i'm not sure what you mean. How can i parse the string? Not really sure what to do from here.
  • ara3nara3n Member Posts: 9,256
    Have you written a wrapper? It is a basic VB dll that calls the other dll and you can add additional functions to make it play nice with navision. There is a document on how to create VB .NET dll file. In that dll file you'll use your your automation (dll). You can in your VB .NET dll file write the data to a file and navision can read it or, you can send the string that you have problem with in chunks.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • andy76andy76 Member Posts: 616
    Hello,

    I don't rember if I can add or change Automation Server from the Automation Servers List and how to do this.

    I have the following problem with NAV 5.0 CH - http://www.mibuso.com/forum/viewtopic.p ... highlight=
    and I don't know if I can solve it registering a different Gant server.

    Thank you very much

    Andy
  • ara3nara3n Member Posts: 9,256
    Also in 5.0 they have increased the 250 character to 1024 characters.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • andy76andy76 Member Posts: 616
    Sorry, I don't have the problem of number of character but of language of an automation server.
    I don't know if I can change or add new automation server or this is a bug...

    Thank you
Sign In or Register to comment.