/mini-profiler-resources/results-index error 500 in other environment other than local development

Hello,

When we run this in local environment it loads up the result for all page types, when we run this from some other environment it’s gives this error.

“The page cannot be displayed because an internal server error has occurred.”

Are we missing anything that restrict access in other environment?