web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Dynamics 365 Community / Blogs / Passion Dynamics / Solution Import Error 0x800...

Solution Import Error 0x80044150 - Object reference not set to an instance of an object.

Rawish Kumar Profile Picture Rawish Kumar 13,758

Issue:

While importing a solution I got a generic SQL error but when i downloaded the log file i saw below error:


import error1

0x80044150 - Object reference not set to an instance of an object 

I have seen this error in plugins several times but never in import but root cause and underlying issue remains the same.  

The import was trying to find something which was not there in target. 

Solution

There was a relationship in my solution exist as N:1 to an entity which was deleted from target system way back hence this error occurred. Using the relationship given in solution, CRM was trying to find related entity which wasn't there.

 

Hope this helps.

Comments

*This post is locked for comments

  • Prashnat Verma Profile Picture Prashnat Verma 287
    Posted at
    Hi @Chopper, I am kind of in similar situation, may I know what could be done to resolve this. Thanks
  • Rawish Kumar Profile Picture Rawish Kumar 13,758
    Posted at

    Thanks Chopper for your inputs.

  • Chopper Dan Profile Picture Chopper Dan
    Posted at

    I have also seen this issue when a field is deleted and then re-created with the same name but a different type.  For example, the original field was new_field as a Single Line of Text.  That field is then deleted and recreated as new_field but as an Option Set.  Doing that will throw the same error.