Problem: While working on Files using WinAPI got the below error.
Microsoft.Dynamics.Ax.Xpp.InvalidRemoteCallException’ was thrown
Solution:
Change WinAPI to WinAPIServer
Example:
WINAPI::fileExists(fileName) to WINAPIServer::fileExists(fileName)
WINAPI::deleteFile(filename) to WINAPIServer::deleteFile(filename)
No comments:
Post a Comment