Question
Malik Ahmed · May 25, 2020

The specified cast from a materialized 'System.Int64' type to the 'System.Int32' type is not valid DatabaseTable creation Id field is created with [xDBC Type = BIGINT]

Hi !

I am getting below error in my .NET MVC project, I am IRIS Entity Framwork, in the database table filed and model having the same datatype int.

The specified cast from a materialized 'System.Int64' type to the 'System.Int32' type is not valid db Table creation Id field is created with [xDBC Type = BIGINT]

 

Please kindly advice me.

 

Thank you

00
1 0 1 553
Log in or sign up to continue

Replies

I sorted out the issue by accessing to IRIS studio ,

1. Open the class  and change the datatype as you want and save 

2. go to build and compile .

it worked