Options

Employee Portal NAS error

HushdontspammeHushdontspamme Member Posts: 56
edited 2009-10-11 in Navision e-Commerce
Hi

I have just installed EP - configured NAS (with startup parameter NEP-1) as stated at company setup.

I get the following message when in event log when starting NAS

"The following information is part of the event: Error receving Backend private key"

I cannot find anything regarding to what this error means.

Any ideas?

Regard

Comments

  • Options
    HushdontspammeHushdontspamme Member Posts: 56
    My mistake - I forgot to create backend key in the EP Portal setup card.
  • Options
    krikikriki Member, Moderator Posts: 9,090
    [Topic moved from Navision forum to Navision e-Commerce forum]
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • Options
    vyankuvyanku Member Posts: 791
    I got one error in NAS
    "The user dwfind C\Cal function that takes2 parameters was called with 1 parameters."
    Why it shows me this error?
  • Options
    IHateLinuxIHateLinux Member Posts: 223
    Hi,

    have you done any customization? There is a wrong coding somewhere in NAV.

    HTH,
    Rainer
  • Options
    vyankuvyanku Member Posts: 791
    yes I do some coding to create NAP1 parameter.
    exactly same as coding for CG paramater.
  • Options
    IHateLinuxIHateLinux Member Posts: 223
    Hi,

    can you post this part of the code?

    Otherwise it is hard to solve your issue.

    If you want to debug where this message is coming from follow the next steps:
    1.) Create a new blank empty form
    2.) Place a button on that form
    3.) In the OnPush trigger do the following:
    - Create a local variable "COD1" which is of type "Codeunit" and set the reference to Codeunit 1
    - Make the call to
    COD1.NASHandler('YOURNASPARAMETER');
    
    4.) Close and save that form
    5.) Stop the NAS
    6.) Open the form in the client
    7.) Click the button and let the client run as NAS

    Perhaps you want to start the debugger before you push the button. Bu now it should be easy for you to find the error.

    HTH,
    Rainer
  • Options
    vyankuvyanku Member Posts: 791
    Anybody found this type of error

    The queue listener could not open the queue private$\request_encryption

    Why I got this error anyone tell me?
  • Options
    vyankuvyanku Member Posts: 791
    Hi,
    Please tell me why I got this error in NAS
    "Error receving Frontend public key ... :-k "
  • Options
    vyankuvyanku Member Posts: 791
    Thanks IHateLinux,
    its good and easy to find error
    thanks
  • Options
    IHateLinuxIHateLinux Member Posts: 223
    Hi,

    such errors like
    The queue listener could not open the queue private$\request_encryption
    is just because:
    - The queue does not exist
    - The queue format name was wrong

    The queue addresses are like this:
    - Local queues (that are queues that are on the same machine)
    .\private$\QUEUENAME
    - Remote queues (that are queues that are on a remote machine)
    FormatName:DIRECT=TCP:IPADDRESSOFREMOTEMACHINE\private$\QUEUENAME
    FormatName:DIRECT=OS:NETBIOSNAMEOFREMOTEMACHINE\private$\QUEUENAME

    HTH,
    Rainer[/list]
  • Options
    DRBDRB Member Posts: 105
    Hi,
    I am getting the error:
    Error receiving Frontend public key.

    It is happening because of following code in Codeunit 6870 (EP Trust Handler)'s function GetPublicKey:

    IF TrustedSites."Partner Public Key".HASVALUE AND TrustedSites."Site Trust" THEN BEGIN
    TrustedSites."Partner Public Key".CREATEOUTSTREAM(OutStream);
    XMLDoc.load(OutStream);
    END ELSE
    ERROR(Text008);

    It has happening becasue ."Partner Public Key" blob field is blank.

    Please help me resolve it.
    -Dhan Raj Bansal
    Linkedin Profile: http://in.linkedin.com/in/dhanrajbansal
Sign In or Register to comment.