Click to See Complete Forum and Search --> : Application_Error problem


dummyagain
December 26th, 2006, 04:39 AM
I tried to follow the C# code in http://support.microsoft.com/kb/910436/zh-cn

However, I got the errors in the line
HttpException httpEx = Server.GetLastError() as HttpException;

The error is
Operator '==' cannot be applied to operands of type 'object' and 'bool'

I cannot see any connection between the line and the error.

could anyone give some advices,please?

Thank you

jasonli
December 27th, 2006, 08:28 AM
You could try set breakpoint on that line and then debug. I guess something wrong with the next line.

Happy New Year!