Pre-execute errors not shown in preview (Management server 11.2.2)

I have a pretty basic project in 2 different environments (i.e. prod & 
dev), both running Management Server 11.2.2.948 / Win 2008 R2 that has a 
page with the below content class template: 

<p>-- Before pre-execute block -- </p>
  <!IoRangePreExecute>
     <% Response.write(UBound(myArrayVariable))  %>
  <!/IoRangePreExecute>
<p>-- After pre-execute block -- </p>

Project has the below settings in both environments.

In Project > general Settings,
 1. Allow active templates is checked and 
 2. Eligible suffixes is set to *asp;aspx*

In Project variants > Edit Project Variant: 
 1. Select scripting for active templates = *aspx *

When I preview the page in the DEV environment project, I get server error 
500 as expected because myArrayVariable is not defined. 

But when I preview the page in the PROD environment project, it does *NOT* 
throw server error 500; it ignores the pre-execute error, and outputs the 
rest of the static content to the browser, like so: 

-- Before pre-execute block -- 

-- After pre-execute block -- 

Not sure what causes the production page to ignore pre-execute errors and 
output the rest of the content in preview. Tried saving and directly 
calling the pre-execute temporary aspx files locally in both environments, 
and both of them do throw the exception. 

Wondering if any of you have any idea on why this is so? Thanks in advance!

-Boby

-- 
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/reddot-cms-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to