This message is for C/AL programmers

WittyWitty Member Posts: 20
edited 2012-08-10 in NAV Three Tier
Receiving this error when trying to transmit electronic payments in RTC. This message is for C/AL programmers: The call to member CopyFile failed: Exception from HRESULT: 0x800A0046 (CTL_E_PERMISSIONDENIED). Running the process as a super user generated the same error.

New to Nav so I'm not really sure where to begin troubleshooting this error. Any help would be appreciated.

Comments

  • WittyWitty Member Posts: 20
    I went into SQL and changed [xxx$Gen_Journal Line].[Check Transmitted] ='1'. This allowed us to post the entry but I would still like to know what caused the error.
  • Jens_M-PJens_M-P Member, Microsoft Employee Posts: 39
    Off the top of my head, most likely you are experiencing a delegation / file system issue on the server. The session on the server impersonates the Windows User logged in, so two things need to be in place for a CopyFile operation to be successful:

    - The user needs to have access to the file location where copying takes place (I cannot see where that is from your description)
    - The server needs to be allowed to delegate (delegation needs to be set up if the service is running as a dedicated domain account)
    Best regards,
    Jens Møller-Pedersen [MSFT]

    This posting is provided 'AS IS' with no warranties, and confers no rights.
Sign In or Register to comment.