Skip to main content

Notifications

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:
  • Anthony Blake Profile Picture
    Anthony Blake 1,014 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 5,592 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... 284,781 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

Community Spotlight of the Month

Kudos to Mohamed Amine Mahmoudi!

Blog subscriptions now enabled!

Follow your favorite blogs

TechTalk: How Dataverse and Microsoft Fabric powers ...

Explore the latest advancements in data export and integration within ...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 284,781 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,348 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,146

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans