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

Undefined function call - Application Pool Recycle

3 Answers 78 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jeff
Top achievements
Rank 1
Jeff asked on 09 Jul 2014, 10:43 AM
I have a certificate that is generated using Telerik Reporting. It has been working as expected for years. No changes have been made to the certificate.  All of the sudden in the past month the certificate started generating an error "An error has occurred while processing TextBox 'txtMyTextBox': The expression contains undefined function call".

I've dealt with this type of error in the past during development. Thought it was odd to happen out of the blue. Rebuilt the dll (with no changes to the code). Plopped the dll into the bin folder. Started working again, lasting several days. Then it occurred again so I recycled the application pool. Worked again for almost 2 weeks.

I've searched all the usual spots for a solution to this issue with no results. No other issues/errors are happening on the site.

What could be causing this? More importantly, how do I fix it?

Using Telerik Reporting version 4.2.10.1221

Thanks!

3 Answers, 1 is accepted

Sort by
0
Stef
Telerik team
answered on 10 Jul 2014, 04:51 PM
Hello Jeff,

Please check the The expression contains undefined function call MyUserFunction() error KB article where the reasons for the error are listed.

In addition, you can use the report's Error event to log information about the error, which can help you troubleshoot the problem.


If none of the above suggestions helps you, please share the code of the called function, the expression it is used in and the logged exception's stack trace. It is also important with what running values the function is called.

Regards,
Stef
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Jeff
Top achievements
Rank 1
answered on 10 Jul 2014, 05:32 PM
Hello Stef,

The issue is not with the function or the data. When the error occurs, it occurs for every user on the site.  All I have to do to get it working again is restart the application pool in IIS for the site. Then it works for everyone again. As I mentioned in my original post, this lasts for days or weeks, then randomly occurs again.

This same exact report has been working for years now without any errors, not until the last month or so.  I've scoured our event logs and haven't found anything.

Hopefully the connection with the IIS application pool will give you some ideas as to where I should look look.

Thank you,
Jeff
0
Stef
Telerik team
answered on 15 Jul 2014, 11:48 AM
Hi Jeff,

In order to investigate the issue further, please post the requested error logs of the occurred exceptions, which can be traced through the report's Error event. There must be records in the server machine's Event Viewer.

Check also the IIS process memory and if it reaches the limit for the process, and if the error occurs on certain number of connections to your application or amount of data in the report.

Regards,
Stef
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
General Discussions
Asked by
Jeff
Top achievements
Rank 1
Answers by
Stef
Telerik team
Jeff
Top achievements
Rank 1
Share this question
or