PDA

View Full Version : مشکل در upload



morycom
سه شنبه 01 خرداد 1386, 12:16 عصر
سلام من چند صفحه با asp.net 2005 درست کردم ولی وقتی اون رو up load کردم و آدرس سایت رو زدم پیغام زیر را میدهد اگه می تونین کمک کنین


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

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>

MehranZand
سه شنبه 01 خرداد 1386, 13:21 عصر
در تنظیمات کنترل پنل ورژن net framework . رو درست مشخص کردی؟

amir.NET2
سه شنبه 01 خرداد 1386, 16:01 عصر
اول

<system.web>
<customErrors mode="Off"/>
</system.web>

رو به فایل Web.Config اضافه کن تا ببینیم چه خطایی می ده

parandeh1383
سه شنبه 01 خرداد 1386, 16:12 عصر
سلام.
این صفحه فقط توضیح میده که خطایی رخ داده و چون در web.config تنظیم نشده که بتوان خطا را از وب دید نمیشه فهمید چه خطایی داره. یا خودتون در IIS سرور برنامه را اجرا کرده و خطای اصلی را ببینید و یا طبق گفته دوستمون customErrorrs mode را در web.config به حالت OFF تغییر دهید. بعد از رفع مشکلتون مجددا به حالت اول برگردونید.