Error during generating ReportViewer report

Posts   
 
    
SanderF
User
Posts: 125
Joined: 11-Dec-2006
# Posted on: 06-Sep-2018 08:09:46   

Hi,

We've updated our LLBLGen Pro framework from version v5.3 to version v5.4 and we now we get an error during generating a report viewer report.

On the report viewer report there were fields which are mapped to entityfields (self servicing entityclasses).

The error is: "The constructor to deserialize an object of type 'SD.LLBLGen.Pro.ORMSupportClasses.EntityFields' was not found."

Can you explain what is going wrong?

Thanks, Sander.

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39588
Joined: 17-Aug-2003
# Posted on: 06-Sep-2018 09:54:09   

What's the stack trace?

Have you deserialized objects in code in a test to see if that works?

If anything, there's a hotfix you need for deserialization of selfservicing entities, so please use 5.4.3 hotfix build, if you're not already doing that.

Frans Bouma | Lead developer LLBLGen Pro
SanderF
User
Posts: 125
Joined: 11-Dec-2006
# Posted on: 06-Sep-2018 15:04:35   

Thanks for your reply, we've found the problem. In de .rdlc files the following line exists:

  <Field Name="Fields">
          <DataField>Fields</DataField>
          <rd:TypeName>SD.LLBLGen.Pro.ORMSupportClasses.IEntityFields</rd:TypeName>
 </Field>

which caused the problem. In early versions of LLBLGen it worked, but these fields didn't be on the report, so we remove these ones.