System.UnauthorizedAccessException: Access to the path ‘C:\Program Files (x86)\Microsoft Dynamics\GPXX\SmrtFill.cnk’ is denied.

The following error message is being thrown after installing SmartFill and trying to launch Dynamics GP.

System.UnauthorizedAccessException: Access to the path 'C:\Program Files (x86)\Microsoft Dynamics\GPXX\SmrtFill.cnk' is denied.

at System.IO._Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
at System.IO.File.Copy(String sourceFileName, String destFileName, Boolean overwrite)
at FoundationProducts.frmMain.Install(Object sender, DoWorkEventArgs e)

This article is specific to SmartFill but is also true for other products.

When the SmrtFill,exe file and/or Dynamics GP are right-clicked on and ran as administrator.

Be sure to right-click on the SmrtFill.exe and chose to ‘Run as Administrator’.  You will also need to do this when launching Dynamics GP.

The following KB Article goes through installing a Rockton Software product: Installing/Upgrading a Rockton Software Product.

Related Content

How to Maximize Your Investment in Microsoft Dynamics GP

You’ve invested a lot into Microsoft Dynamics GP, and it serves you well, but did you know it likely can do so much more for you? Even if you’ve been using GP for years, it’s possible you don’t know how much more GP can do for you. Want to improve the bottom line? It might be time to invest in your own investment and get more ROI out of the rich system features that might be right under your nose.