web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Dynamics 365 Community / Blogs / Dynamics 365 Vs Me / [Solved] An internal error ...

[Solved] An internal error has occurred. Please contact your system administrator. File export using sys operation framework

Deepak Agarwal Profile Picture Deepak Agarwal 8,585
Hi Folks,

Recently I have been using SysOperatioonFramework to export data in excel. While running the code out of batch its working fine but as soon as I am calling this from Sysopertionframewrok, the system doesn't show anything on front end while debugging its giving error

An internal error has occurred. Please contact your system administrator.

Well, it's a minor mistake in the controller class. You need to define the execution mode for your service class (code in controller class)

this.executionMode = SysOperationExecutionMode::Synchronous

Save | Build | Run

It should work for you as well. 

-Harry Follow us on Facebook to keep in rhythm with us. https:fb.com/theaxapta

This was originally posted here.

Comments

*This post is locked for comments