About EasyMorph Tutorials & Examples Web-help

Export to Database returns: "Object reference not set to an instance of an object"


#1

I’m trying to export data to a database table, but I instantly receive following error: Object reference not set to an instance of an object.
The table was already created, but all the field names are equal.
When I create the table from EM, I can do the export, but then the data types are not correct.
These are the data types I use in my table:

  • datetime
  • date
  • time(7)
  • varchar(30)
  • varchar(50)
  • varchar(10)
  • numeric(10, 0)
  • varchar(100)
  • varchar(1000)
  • numeric(10, 6)
  • numeric(10, 5)
  • numeric(18, 5)

Any idea why this error occurs?


#2

Hello Wim,

Can you please archive folder C:\Users<username>\AppData\Local\EasyMorph\Debug Logs and send it to our support email?

Thanks,
Andrew