Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 10045

An unexpected error occurred while compiling expressions. Native compiler return value: [BC30179] class 'textbox2_TextBoxExprHost' .....

$
0
0
Hi All

I have custom code in my report.
All references are fine, I have used code in my reports since forever!

I placed a textbox above the table with the expression: Code.Update_Alloc().
When I try to run the report I get the error:
An unexpected error occurred while compiling expressions. Native compiler return value: [BC30179] class 'textbox2_TextBoxExprHost' and class 'Textbox2_TextBoxExprHost' conflict in class 'ReportExprHostImpl'.

However if I place the expression inside a column in a table, it works fine.
But that is not where i want the VB code called, it has nothing to do with the report data!

I even created a simple Function that returns zero, same thing happens!!!!

Any help appreciated.

Thanks.

Viewing all articles
Browse latest Browse all 10045

Trending Articles