This is a migrated thread and some comments may be shown as answers.

Telerik Report Object Data Source is not working after publish

2 Answers 69 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Kanoo
Top achievements
Rank 1
Kanoo asked on 12 Jun 2020, 04:51 AM

Hello,

I'm trying to test Telerik Report with .NET Core 3.1 and object data source.

The report is working correctly when running from Visual Studio but when I publish and put it in IIS, I see the below error in every binding.
"An error has occurred while processing TextBox 'textBox15': The expression contains object 'OpeningBalanceDate' that is not defined in the current context"

I'm using the report designer and the assemblies that has the object datasource are netstandard2.0

What could be the issue?

2 Answers, 1 is accepted

Sort by
0
Kanoo
Top achievements
Rank 1
answered on 13 Jun 2020, 03:12 PM

I narrowed down the problem to a problem with the assembly versions. On development, my assemblies versions are 2 numbers "a.b" and it works fine. If I change it to 4 digits version "a.b.c.d", it starts to show the error even in debug mode. I believe now the problem is not related to publish and more related to assembly versions.

Taking into consideration that I've configuration for my assemblies as mentioned here https://docs.telerik.com/reporting/configuring-telerik-reporting-assemblyreferences

What could be the issue?

0
Katia
Telerik team
answered on 17 Jun 2020, 06:39 AM

Hi Kanoo,

I am afraid I do not fully understand your exact setup. How exactly the assembly is referenced in the application configuration file?

 

Regards,
Katia
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Tags
General Discussions
Asked by
Kanoo
Top achievements
Rank 1
Answers by
Kanoo
Top achievements
Rank 1
Katia
Telerik team
Share this question
or