Problem importing a dll in NAV

AitorEGAitorEG Posts: 248Member
edited 2018-10-31 in NAV Three Tier
Hi everyone,

I've got an issue with a dll from a printer development environment. The issue is that I need to send some files to prinet to a certain printer, and I found that there's a development dll available for that printer. That printer wasn't singed, it didn't have the public token.

I found a post, and signed this way:

1- Using the Visual Studio 2015 command prompt

2- sn -k tsclibnet.snk

3-ildasm tsclibnet.dll /out:tsclibnet.il

4-ilasm tsclibnet.il /res:tsclibnet.res /dll /key:tsclibnet.snk /out:tsclibnet.dll

5-Found that process ended correct with sn -vf tsclibnet.dll

But when importing the DLL into a dotnet object in navision, I still having this problem:

7jwnxlijjncy.png

znsruro5v4x6.png



Am I doing something wrong with the signing? Should I sign it with another application?

Answers

  • txerifftxeriff Posts: 228Member
    edited 2018-11-29
    kaixo Aitor,

    Prueba a poner la dll en la carpeta del servicio, no recuerdo de memoria ahora mismo de memoria como se hacia pero navision distribuye la dll de donet si la colocas en el servicio. Luego creo que habia una tabla de addins/dll en navision
    a ver si te ayuda.

    C:\Program Files (x86)\Microsoft Dynamics NAV\90\Role Tailored Client\Add-ins” location.
  • AitorEGAitorEG Posts: 248Member
    Eskerrik asko Txeriff,
    El problema al final no se cual era, ya que en el desarrollo he tirado por otro lado, creando un script para enviar los ficheros a impresion y listo.
    En la carpeta estaba bien colocados a priori, no se de donde vendra el problema, si del proceso de firmado que he hecho yo o que...
    De todas formas gracias por tu comentario.
    Agur bat!
Sign In or Register to comment.