mehdi58
سه شنبه 28 آذر 1385, 21:22 عصر
سلام
من در web.config به منظور کنترل خطاها و نمایش صفحه دلخواهم کد زیر رو نوشتم :
<customErrors defaultRedirect=”errorpage.aspx” mode=”RemoteOnly”/>
ضمن اینکه
<compilation …. debug=”false”/>
اما نمی دونم که چرا موقع تست باز هم خطا ها نمایش داده میشه و به صفحه دلخواه من نمی ره ؟(ASP.net 1.X)
البته بگم که این صفحات روی اینترانت و روی کامپیوتر های مختلفی اجرا شده ( هم Server و هم Client) ولی اصلا جواب نمی ده !
ضمن اینکه لینک زیر رو هم خوندم اما ....
http://www.barnamenevis.org/forum/showthread.php?t=13681&highlight=custom+errors
من در web.config به منظور کنترل خطاها و نمایش صفحه دلخواهم کد زیر رو نوشتم :
<customErrors defaultRedirect=”errorpage.aspx” mode=”RemoteOnly”/>
ضمن اینکه
<compilation …. debug=”false”/>
اما نمی دونم که چرا موقع تست باز هم خطا ها نمایش داده میشه و به صفحه دلخواه من نمی ره ؟(ASP.net 1.X)
البته بگم که این صفحات روی اینترانت و روی کامپیوتر های مختلفی اجرا شده ( هم Server و هم Client) ولی اصلا جواب نمی ده !
ضمن اینکه لینک زیر رو هم خوندم اما ....
http://www.barnamenevis.org/forum/showthread.php?t=13681&highlight=custom+errors