Client Add-in NAV 2013

manikandanmanikandan Member Posts: 160
edited 2012-10-02 in NAV Three Tier
Hi All,
I try to Register "Client Add-in" in NAV 2013.following below URL.
http://blogs.msdn.com/b/nav/archive/201 ... dd-in.aspx
BUt when i try to generate a "Public Key Token" in Visual Studio Command Prompt getting Error Message like this
'Sn' is not recognized as as internal or External command,operable program or batch file.
Kindly view the attachments.
Please Help me. :(:(

Regards,
Muthusubramanian.M

Comments

  • dipakpatel2505dipakpatel2505 Member Posts: 169
    Hi manikandan,

    Did you use "Visual Studio Command Prompt" to create Public key token ? It is required Visual Studio Command Prompt which is installed while We install Visual Studio SDK.

    If you use normal command prompt then you will get such error.

    If Suggestion is helpful and solved the problem then please mark it as solved.
  • manikandanmanikandan Member Posts: 160
    Hi dipakpatel,
    I use the "Visual Studio Command Prompt" only instead of "Normal command prompt".From the attachements you can see the
    "Visual Studio Command Prompt'.
    :(
    Regards,
    Muthusubramanian.m
  • dipakpatel2505dipakpatel2505 Member Posts: 169
    Hi

    I think your visual studio SDK is not installed properly.There is error in 2nd line of your screenshot of Command prompt.
    Error : "ERROR: Cannot deternmin the location of the VS Common Tools Folder."

    Please Install SDK Properly or if it is installed then repaired it. That will solve your problem.

    If Suggestion is helpful and solved the problem then please mark it as solved.
  • manikandanmanikandan Member Posts: 160
    Hi
    I think your visual studio SDK is not installed properly.There is error in 2nd line of your screenshot of Command prompt.
    Error : "ERROR: Cannot deternmin the location of the VS Common Tools Folder."
    Please Install SDK Properly or if it is installed then repaired it. That will solve your problem.
    If Suggestion is helpful and solved the problem then please mark it as solved.
    Hi dipakpatel,
    Thanks for your Valuable reply.Now i can able to Run
    "Sn –T “C:\Users\muthusubramanian.m\Documents\Visual Studio 2010\Projects\NSpeech\NSpeech\bin\Debug\NSpeech.dll” in
    Visual Studio Command Prompt from this how can i identified Public key token ?
    Kindly view the attachment from the attachment you can see the exact problem .
    please help me. ](*,)
    Regards,
    Muthusubramanian.m
  • dipakpatel2505dipakpatel2505 Member Posts: 169
    Hi manikandan,

    Create New public key token by creating new snk file using command shown as below:

    sn -k keyPair.snk

    Then Set Created New Snk file in Configuration Manager in Visual Studio Project.

    Let me know if it works.

    If Suggestion is helpful and solved the problem then please mark it as solved.
  • manikandanmanikandan Member Posts: 160
    Hi manikandan,
    Create New public key token by creating new snk file using command shown as below:
    sn -k keyPair.snk
    Then Set Created New Snk file in Configuration Manager in Visual Studio Project.
    Let me know if it works.
    If Suggestion is helpful and solved the problem then please mark it as solved.
    Hi dipakpatel,
    I have given following line In Visual Studio Command Prompt
    Sn -k C:\Users\muthusubramanian.m\Documents\Visual Studio 2010\Projects\Jack\Jack\bin\Debug\Jack.snk
    after one new snkfile is created(kindly view the attachment).
    Now what can i do.please give me suggestion whether this is correct or not.?
    please help me? ](*,)

    Regards,
    Muthusubramanian.m
  • Christian_AbelnChristian_Abeln Member, Microsoft Employee Posts: 42
    After creating the Strong Name Signature file you need to select the signature file in the signing tab of the add-in project in Visual Studio.
    You can also create the new strong name signature right from that project property dialog.


    Good luck!

    (In order to use the AddIn on a NAV page you need now to find out what the Private Key Token in that signature is and register it in the ""Client Add-Ins" table in NAV.)
    “This posting is provided "AS IS" with no warranties, and confers no rights.”

    Christian Abeln
    Program Manager Microsoft
    Dynamics NAV

    blogs.msdn.com/cabeln/
Sign In or Register to comment.