Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

object reference not set to an instance of an object

(0) ShareShare
ReportReport
Posted on by 3,065

object reference not set to an instance of an object

*This post is locked for comments

  • Jonathan Fear Profile Picture
    on at
    RE: object reference not set to an instance of an object

    This tells me that there are still left over registry records that were damaged or not removed. Play around with the registry can be dangerous but you may have to manually search for GP. I would also uninstall the Dexterity Shared components from Add\Remove Programs as well.

    If the issue remains you may need to look at opening a support case or contacting your partner.

  • Ridwan Profile Picture
    3,065 on at
    RE: object reference not set to an instance of an object

    hello all,

    iI have uninsulated the  GP from the system, i had this error when i was trying to install the GP.

    ---------------------------

    Microsoft Dynamics GP 2013

    ---------------------------

    System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.

    Parameter name: version

      at Microsoft.Dynamics.GP.Deployment.WindowsInstaller.DynamicsGPInstallation.GetInstanceInformationRegistryArgs(Version version)

      at Microsoft.Dynamics.GP.Deployment.WindowsInstaller.DynamicsGPInstallation..ctor(ProductInstallation productInstallation)

      at Microsoft.Dynamics.GP.Deployment.WindowsInstaller.DynamicsGPInstallation.Get(Guid productCode)

      at Microsoft.Dynamics.GP.Deployment.WindowsInstaller.UI.Forms.DynamicsGPInstanceDialog.OnCreateInstanceInstallationInformation(CreateInstanceInstallationInformationEventArgs e)

      at Microsoft.Dynamics.Deployment.WindowsInstaller.UI.Forms.InstanceSelectionDialog.instanceSelectionPanel_CreateInstanceInstallationInformation(Object sender, CreateInstanceInstallationInformationEventArgs e)

      at Microsoft.Dynamics.Deployment.WindowsInstaller.UI.Controls.InstanceSelectionPanel.instanceInstallationTreeViewPanel_CreateInstanceInstallationInformation(Object sender, CreateInstanceInstallationInformationEventArgs e)

      at Microsoft.Dynamics.Deployment.WindowsInstaller.UI.Controls.InstanceInstallationTreeViewPanel.GetInstanceInformation(Guid productCode, InstanceInformationRegistryArgs args)

      at Microsoft.Dynamics.Deployment.WindowsInstaller.UI.Controls.InstanceInstallationTreeViewPanel.UpdateInstances()

      at Microsoft.Dynamics.Deployment.WindowsInstaller.UI.Controls.InstanceSelectionPanel.UpdateInstances()

      at Microsoft.Dynamics.Deployment.WindowsInstaller.UI.Forms.InstanceSelectionDialog.UpdateInstances()

      at Microsoft.Dynamics.GP.Deployment.WindowsInstaller.DynamicsGPInstallation.ConfigureInstanceSelectionDialog(Version version, DynamicsGPInstanceDialog instanceDialog)

      at Microsoft.Dynamics.GP.Deployment.UX.InstallDialogSequenceCreator.get_GPInstanceSelectionDialog()

      at Microsoft.Dynamics.GP.Deployment.UX.InstallDialogSequenceCreator.Create()

      at Microsoft.Dynamics.GP.Deployment.UX.DialogSequenceFactory.Create(DialogSequenceType dialogSequenceType, DeploymentImage deploymentImage)

      at Microsoft.Dynamics.GP.Deployment.UX.EntryPoint.Run()

    ---------------------------

    OK  

    ---------------------------

  • Jonathan Fear Profile Picture
    on at
    RE: object reference not set to an instance of an object

    If this is a 64-bit machine you can use this tool to remove it:

    support.microsoft.com/.../Program_Install_and_Uninstall

  • Suggested answer
    soma Profile Picture
    24,410 on at
    RE: object reference not set to an instance of an object

    Have a look on the below links.

    kuntzconsulting.ca/.../issues_with_gp2010_and_uninstalling

    http://dynamicsconfessions.blogspot.in/2013/04/dynamics-gp-2013-service-pack-error.html

    Hope this helps!!!

  • Suggested answer
    Community Member Profile Picture
    on at
    RE: object reference not set to an instance of an object

    Hi Ridwan,

    This error occurred by removing Dynamics GP from Add or remove features in Control Panel?

    I guess, the Instance of the server name is not available during the un-installation of GP.

    So you can take the backup of registry file, open registry file & need to remove Dynamics GP registry key lines.

    Now you can delete the GP installation folder directly

  • Ridwan Profile Picture
    3,065 on at
    RE: object reference not set to an instance of an object

    Hello Mohammad,

    I got the error when i was trying to remove Dynamics GP 2013.

  • Jonathan Fear Profile Picture
    on at
    RE: object reference not set to an instance of an object

    We need more information than just the error message. When are you getting this? Can you post a screenshot of the error? Is it happening on more than one machine?

  • Suggested answer
    Community Member Profile Picture
    on at
    RE: object reference not set to an instance of an object

    Hello Ridwan,

    Can you please provide more details? Where did you get this and what you been trying to do?

  • Suggested answer
    Community Member Profile Picture
    on at
    RE: object reference not set to an instance of an object

    Hello Ridwan,

    Can you please provide more details? Where did you get this and what you been trying to do?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,221 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,982 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans