Try our conversational search powered by Generative AI!

Receiving "There was an error in the callback" error message when expanding tree in Content and Structure page in EPiServer CMS 6



We recently ran into this issue when attempting to access our site through the Content and Structure page on the main site.  This error presented itself when attempting to expand the tree for a particular site. 

After clicking the plus sign and waiting for a while, the error message ("There was an error in the callback") would appear just below the site name.  After receiving the error, another message appear: "Internal Server Error - Sorry, there was an internal error. Please try again later".

Any clues?




May 18, 2011 14:29

Nope, not enough clues.

You need to get a call stack and the original Exception to give us something to work with.

The TreeView uses ASP.NET Callbacks with JavaScript to fetch more information and something goes wrong. Check the Event Log on the server and turn on logging (EPiServerLog.config).


May 18, 2011 15:31

It could be that you have made a page that fetch data from another page that fetch data from the original page again.

Shounds like a recusive bug

May 18, 2011 16:03

Thank you.

This error seems to be related to this issue:

May 20, 2011 14:19

Did you find a solution to this? I get the exact same problem after deploying a new CMS 6 R2 site to production. The version is 6.1.379.0.There are no errors in the log nor events in the event viewer. The site is running in .NET 4 in 64-bit environment.



May 26, 2011 14:40

I resolved my problem by replacing the std web.config (with .NET4 changes) with the one from my staging server. Haven't yet figured out which config setting that does the trick. Will try to compare files and post the findings.

May 26, 2011 15:04

Lucia/Thomas - did you figure out the fix for this?

We also have the same problem.

Edited, Aug 23, 2011 9:37

It indicates that something goes wrong when you load the PageData object through DataFactory's method GetPage or GetChildren.

There is not one simple cause for this problem so you must have more clues like an callstack from the exception.

The error is hard to see since it is hidden inside an ajax callback from the Page Tree.

Use a tool like Fiddler or the Net tab to see the call and use Visual Studio and the debugger to catch the exception so you get the REAL exception message and call stack.

Use the strategy described here to attach the debugger, halt on exception and find the cause: 


Aug 23, 2011 13:46

The organization I work for got an internal server error on our site. The problem was that a "reverse proxy server" had some sort of bottle neck that limit the amount of data to be sent in one chunk.

I'am just throwing this out there. Iam very new to developing. Hope you solve your problems!

Aug 30, 2011 14:53

I was getting a similar error when the tree needed to be updated. This helped me solve it 

Hope it helps!

Sep 05, 2011 13:11

I can't expand nodes from structure tree in edit mode.

any help?

Nov 29, 2011 10:31

i am using EPISERVER 6 R2.

Nov 29, 2011 10:32

Aimen, my guess is that you have a license problem, make sure you download a valid one for CMS 6 from here

Nov 29, 2011 13:17

Thank you for your answer. I confirm i have the license error message.

Nov 29, 2011 14:04

Adding the below attributes to the <pages> tag in web.config fixed the problem for me.

  • controlRenderingCompatibilityVersion="3.5"
  • clientIDMode="AutoID"
Oct 05, 2012 15:36
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.