الفريق العربي للبرمجةأرشيف المنتديات · 2000 – 2023
نسخة أرشيفية للقراءة فقط — التسجيل والمشاركة مغلقان، والمحتوى محفوظ كما كان.

التعامل مع ملف Web Configy

مغلق
بدأه DOS في 22 مارس 2007 · 3 رد · 618 مشاهدة · في ASP.NET
مشاركة: واتساب X فيسبوك تيليجرام
#1 صاحب الموضوع

مستخدم جديد للموقع وللــــــASP.NETـــــ

عندما رفعت موقع الى موقع www.Brinkster.com

وعندما حاولت فتح الموقع على الويب ظهرت هذه المشكلة وهذه الرسالة

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>

فهل من حل لهذه المشكلة

#2

تاكد من الأتي في ملف debug

debug=false

#3

عشان تعرف المشكلة لازم أول حاجة تغير في ملف web.config الجزء التالي :

<customErrors mode="Off"/>

بـ

<customErrors mode="on"/>

وأعمل Build للمشروع وارفع الملف هذا فقط مع الDll( احتياطا)

واذا ما صار معاك شي غير on الى On لانه حالة الاحرف حساسة في هذا الملف

#4

معلومة كانت من فترة و هي ان موقع برينكستر لا يتعامل تماما مع الDLL Files للاستضافات المجانية

You can fly while you can touch the sky

هذا الموضوع مغلق.

مواضيع مشابهة