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

مشكلة في Web.Config

بدأه ASM200210 في 25 فبراير 2012 · 1 رد · 816 مشاهدة · في ASP.NET
مشاركة: واتساب X فيسبوك تيليجرام
#1 صاحب الموضوع

السلام عليكم

لقد قمت بتصميم موقع من صفحتين على asp.net 2005 وقاعدة بيانات اكسس 2003 وقمت برفع الموقع على الانترنت وهو يعمل حيث يطلب كلمة مرور في الصفحة الاولى ويتأكد منها في قاعدة البيانات وفي حال كانت صحيحة ينتقل الى الصفحة الثانية ولا يوجد مشكلة في ذلك.

ولكن عند محاولة دخول شخصين من جهازين في نفس الوقت يحدث مشكلة وتظهر هذه الرسالة:

<!-- 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

هذه هي رسالة الخطأ التي تظهر لي:

The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:

1. Add a "Debug=true" directive at the top of the file that generated the error. Example:

<%@ Page Language="C#" Debug="true" %>

or:

2) Add the following section to the configuration file of your application:

<configuration>

<system.web>

<compilation debug="true"/>

</system.web>

</configuration>

Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.

Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario

الرجاء المساعدة.......

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