M
Martin Plechsmid
Hello.
I've got IIS5, both at work and in my home, and I use JScript as the primary
scripting language in ASP.
When a function is defined in an included file, say
inc_dosth.asp:
<SCRIPT runat=server language=JScript>
function DoSth () {
throw new Error(0xFFFFFFFF);
}
</SCRIPT>
and called from within the ASP page body, say
test.asp:
<%@ LANGUAGE=JScript %>
<!-- #include file="inc_dosth.asp" -->
<%
try {
DoSth();
} catch (e) {Response.Write(e.description);}
%>
the try...catch clause should catch the exception. At my computer in my work
(Win2000 SP3, many Windows Update patches) this really works as expected.
However at home (Win2000 SP2, now SP4 (yes, SP4), no Windows Update
patches), these execeptions are caught by IIS and reported as unhandled
exceptions. On the exactly same code.
I hoped that the SP4 would repair the bug, but it haven't. What IIS patch do
I have to apply to get it working correctly at home too?
Thanks,
Martin.
I've got IIS5, both at work and in my home, and I use JScript as the primary
scripting language in ASP.
When a function is defined in an included file, say
inc_dosth.asp:
<SCRIPT runat=server language=JScript>
function DoSth () {
throw new Error(0xFFFFFFFF);
}
</SCRIPT>
and called from within the ASP page body, say
test.asp:
<%@ LANGUAGE=JScript %>
<!-- #include file="inc_dosth.asp" -->
<%
try {
DoSth();
} catch (e) {Response.Write(e.description);}
%>
the try...catch clause should catch the exception. At my computer in my work
(Win2000 SP3, many Windows Update patches) this really works as expected.
However at home (Win2000 SP2, now SP4 (yes, SP4), no Windows Update
patches), these execeptions are caught by IIS and reported as unhandled
exceptions. On the exactly same code.
I hoped that the SP4 would repair the bug, but it haven't. What IIS patch do
I have to apply to get it working correctly at home too?
Thanks,
Martin.