HTTP/1.1 500 Server Error

May 24, 2009 at 23:09:44
Specs: Windows 2003
hi,

My classic ASP pages were working fine till yesterday. Not all pages, but at one page it is giving me "HTTP/1.1 500 Server Error" error . I have unchecked "Show friendly error message" In IE. But still it shows "HTTP/1.1 500 Server Error"

any suggestion is appreciated.

regards,

m abdussami


See More: HTTP/1.1 500 Server Error

Report •


#1
May 25, 2009 at 00:27:43
hi,

I found below script which is in ASP page is not working on that server. same script is working fine on another server.

<SCRIPT LANGUAGE=JScript RUNAT=Server>
function y2k(number) {
return (number < 1000) ? number + 1900 : number;
}
function milliDif() {
var d = new Date();
return d.getTime()
}

function elapsedpretty(parm1)
{
var elapsedsecs = 0
var elapsedmins = 0

elapsedsecs=Math.floor(parm1/1000)
parm1=parm1%1000

elapsedmins=Math.floor(elapsedsecs/60)
elapsedsecs=elapsedsecs%60


elapsedpretty=elapsedmins + " minute"
if(elapsedmins!=1)
elapsedpretty=elapsedpretty+"s"

elapsedpretty = elapsedpretty+" " + elapsedsecs+" second"
if(elapsedsecs!=1)
elapsedpretty=elapsedpretty+"s"

elapsedpretty = elapsedpretty+ " "+parm1+" millisecond"
if(parm1!=1)
elapsedpretty=elapsedpretty+"s"

return elapsedpretty;
}
</script>


regards,

m abdussami


Report •
Related Solutions


Ask Question