PDA

View Full Version : خطا در هنگام فراخوانی سایت



somayeh hallaj
یک شنبه 20 خرداد 1386, 12:53 عصر
سلام
در درجه اول بگم تمام تاپیک های مربوط به Upload کردن و مشکلات ASP.net رو خوندم و به نتیجه نرسیدم.
من یک سایت با Asp.net 2003 درست کرده ام وقتی صفحه مربوط به بانک اطلاعاتی را می زنم ارور زیر نمایش داده میشود.
کد:
Runtime Error Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".<!-- Web.Config Configuration File --><configuration> <system.web> <customErrors mode="Off"/> </system.web></configuration> Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.<!-- Web.Config Configuration File --><configuration> <system.web> <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/> </system.web></configuration>
حتی من Custom Errors را هم Set کردم (یک بار به On و باردیگر Off) اما نتیجه تغییری نکرد
__________________

cactuskhan
یک شنبه 20 خرداد 1386, 14:06 عصر
خب یعنی اینکه برنامه هنوز نمیتونه error واقعی رو بهت نشون بده اگه cutomm Errors رو هم off
کردی باید بگم که بعضی اوقات سرور برنامه رو کش میکنه باید منتظر باشی کش سرور خالی شه !!
منم وقتی این مشکل رو داشتم کاری نمیتونستم بکنم جز اینه صبر کنم !!