↧
From: | Stein Goering |
To: | Rick Strahl |
What are you doing exactly? How are you calling RenderAspScript? It's not a function but a method...
+++ Rick ---
lcHT = RenderASPScript(Config.cHTMLPagePath+lcTemplate)
The errors are coming from wwscripting and reference Response.Status and Response.RenderHttpHeader
IF (llResponseCreated)IFthis.lError Response.Status = "500 Server Error" Response.ContentType = "text/html"ENDIF _Out = Response.RenderHttpHeader() + _OutENDIF
This code has been in place for years and was working prior to upgrading to WC 5.66. Did something change in the scripting engine?
FWIW, I don't have problems rendering wcs pages when calling them directly - just when trying to render from within another method.
--stein