Storing System.Net.Mail.Mailmessage objects to datatable issue

Hi,

I’m dealing with a problem of storing System.Net.Mail.Mailmessage objects to datatable.
When my bot was originally implemented (a couple of months ago) it was working flawlessly, but when we started official tests last week, it suddenly started to fail on ‘Build Datatable’ activity and code hasn’t changed ever since.
Currently Studio doesn’t even allow me to open datatable structure view when there’s a column of type System.Net.Mail.Mailmessage defined in datatable schema and pops up with following error notification:

image

Studio clears all dt structure when I hit OK and re-enter dt structure view.

When I try to run the bot I get the following error:

image

Probably default datatable data types restrictions prevent from using Mailmessage objects as a type in datatable. Is there a way to change this for UiPath?

1 Like

Hi @ArtiSta,

seems that this was caused by last windows update. They changed the .NetFramework which now restricts the data types in data tables. This thread tackles the same issue: Build Data Table Error (DataTable could not be read)

Thanks @schwarzp.
It was my first thought that some Windows or .Net update must have caused that.
Disappointing that there’s no reasonable solution for that as yet.

i asked the same too. tragic for UiPath