This message is for C/AL programmers

Witty
Member Posts: 20
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.
New to Nav so I'm not really sure where to begin troubleshooting this error. Any help would be appreciated.
0
Comments
-
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.0
-
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.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions