Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 Community / Forums / Finance forum / Ver. 10.0.40 update er...
Finance forum
Suggested answer

Ver. 10.0.40 update error Object reference not set to an instance of an object.

Posted on by 8
1. I have run with administrator rights.
2. Also decompress the installation package to the root directory of drive C, or create a folder in the root directory of drive C, and then decompress the installation package to this folder.
 
Object reference not set to an instance of an object.
   at Microsoft.Dynamics.AX.AXUpdateInstallerBase.IOManager.CreateDirectory(DirectoryInfo directoryInfo)
   at Microsoft.Dynamics.AX.AXUpdateInstallerBase.IOManager.CreateDirectory(DirectoryInfo directoryInfo)
   at Microsoft.Dynamics.AX.AXUpdateInstallerBase.IOManager.CreateDirectory(DirectoryInfo directoryInfo)
   at Microsoft.Dynamics.AX.AXUpdateInstallerBase.IOManager.CreateDirectory(DirectoryInfo directoryInfo)
   at Microsoft.Dynamics.AX.AXUpdateInstallerBase.AxUpdateBaseData.<>c__DisplayClass8_0.<ExportToFile>b__0()
   at Microsoft.Dynamics.AX.AXUpdateInstallerBase.AXUpdateInstallerBase.ExecuteWithRetry(Action action, String callerName, Int32 retryInterval, Int32 maxRetryCount)
   at Microsoft.Dynamics.AX.AXUpdateInstallerBase.AxUpdateBaseData.ExportToFile(String filePath)
   at Microsoft.Dynamics.AX.AXUpdateInstallerBase.RunbookData.Save()
   at Microsoft.Dynamics.AX.AXUpdateInstaller.Program.InstallUpdate(String[] args)
   at Microsoft.Dynamics.AX.AXUpdateInstaller.Program.Main(String[] args)
Categories:
  • Clement Ruffin Profile Picture
    Clement Ruffin 7 on at
    Ver. 10.0.40 update error Object reference not set to an instance of an object.
    Hi,
    Were you able to find a solution ? I have the same error on updating a devbox to 10.0.40
  • Anthony Blake Profile Picture
    Anthony Blake 1,207 on at
    Ver. 10.0.40 update error Object reference not set to an instance of an object.
    Hi, are you sure C is the best drive to run that from? On the dev instances K: is normally the drive with plenty of space, or one of the backup drives. Even if there is enough space, its running the OS.
  • Vast Profile Picture
    Vast 8 on at
    Ver. 10.0.40 update error Object reference not set to an instance of an object.
    Create a new directory called c:\tmp or c:\update or whatever. Don't use c:\Windows\temp because of permissions and it's not recommended. Creating a new directory will make you the owner and you won't have permission issues in the folder you created.
     
    By the way, did you unblock the file after you downloaded it? Assuming you downloaded it from the internet using a browser.
     
     
    All try, but still error.
  • Suggested answer
    Anton Venter Profile Picture
    Anton Venter 9,343 Super User on at
    Ver. 10.0.40 update error Object reference not set to an instance of an object.
    Create a new directory called c:\tmp or c:\update or whatever. Don't use c:\Windows\temp because of permissions and it's not recommended. Creating a new directory will make you the owner and you won't have permission issues in the folder you created.
     
    By the way, did you unblock the file after you downloaded it? Assuming you downloaded it from the internet using a browser.
  • Anton Venter Profile Picture
    Anton Venter 9,343 Super User on at
    Ver. 10.0.40 update error Object reference not set to an instance of an object.
    Create a new directory called c:\tmp or c:\update or whatever. Don't use c:\Windows\temp because of permissions and it's not recommended. Creating a new directory will make you the owner and you won't have permission issues in the folder you created.
     
    By the way, did you unblock the file after you downloaded it? Assuming you downloaded it from the internet using a browser.
  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 287,696 Super User on at
    Ver. 10.0.40 update error Object reference not set to an instance of an object.
    Moved the question to the Dynamics 365 Finance forum as this is not related to the previous Dynamics AX product.
     
    I do assume you have a question about how to solve this error. Can you tell us if you used the correct file name and if it has the correct details? Did you open the command prompt with the option "Run as administrator"?

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,696 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,490 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans