PDA

View Full Version : مدیریت پیغام خطا در کنترل ChangePassword



masoud_z_65
دوشنبه 18 مهر 1390, 19:36 عصر
یک changepassword رو روی صفحه گذاشتم و وقتی روی دکمه تغییر کلمه عبور کلیک میکنم چون SMTP وصل نیست با پیغام خطای زیر مواجه میشم......

Server Error in '/Web' Application.
--------------------------------------------------------------------------------

The SMTP host was not specified.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.InvalidOperationException: The SMTP host was not specified

حالا میخوام که توی ریسورسهام یک پبعام خطا براش بنویسم اما نمیدونم توی کدوم handle باید این کارو بکنم
از قسمت event کنترل changepassword هم امتحان کردم اما بازم نشد....خیلی فوری احتیاج دارم ممنون میشم یکی کمکم کنه

masoud_z_65
سه شنبه 19 مهر 1390, 17:00 عصر
هیشکی کمک نمیکنه!

masoud_z_65
چهارشنبه 20 مهر 1390, 14:43 عصر
استادان عزیز توروخدا یکی کمک کنه.....فکر نکنم برا بچه های با تجربه این سوال سختی باشه!