سوالف اندرويد




العودة   سوالف سوفت > سوالف برمجة المواقع وتطويرها > ASP و ASP.NET
التسجيل المدوّنات البحث مشاركات اليوم جعل الأقسام مقروءة

الرد على الموضوع
 
LinkBack أدوات الموضوع
عضو نشيط
#1  
مشكل أرقني هل أجد له حلا؟؟؟

عندما أريد تحمل ملف الى السرفر تطلع لي الرسالة التالية:

كود:
 
كود:
 Server Error in '/da3wa' Application.   A potentially dangerous Request.Form value was detected from the client  (ctl00$ContentPlaceHolder1$Button1="حف&#1592...").  Description:  Request Validation has detected a potentially dangerous client input value,  and processing of the request has been aborted. This value may indicate an  attempt to compromise the security of your application, such as a cross-site  scripting attack. You can disable request validation by setting  validateRequest=false in the Page directive or in the configuration  section. However, it is strongly recommended that your application explicitly  check all inputs in this case. 
 
 Exception Details:  System.Web.HttpRequestValidationException: A potentially dangerous  Request.Form value was detected from the client  (ctl00$ContentPlaceHolder1$Button1="حف&#1592...").
 
 Source  Error: 
 
     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. 
 

هل من حل لهذه الرسالة
هناك ملاحظة هو اني ابرمج ب VB.net وليس ب C#







آخر تعديل بواسطة النبع الصافي في 11-09-2007 الساعة 05:25 PM.
النبع الصافي is offline   قديم 11-09-2007, 05:24 PM
الرد مع إقتباس
عضو نشيط
#2  

هلا اخوي

اول شي تاكد من انك معطي الصلاحيات للمجلد الي يتم رفع الملفات داخله ولمعرفة الطريقة
راجع الرد رقم 8
في هذا الموضوع
http://www.swalif.net/softs/swalif46/softs196748/


كمان تاكد من انه في مصدر الصفحة موجود
validateRequest="false"
في وضع التصميم شوف مصدر الصفحة وفي اول سطر
<%@ Page Language="VB" MasterPageFile="~/MasterPage.master" AutoEventWireup="false" CodeFile="aboutus.aspx.vb" Inherits="aboutus" title="Untitled Page" %>

اضيف له validateRequest="false"






__________________
@_@
nothing4u is offline   قديم 11-09-2007, 07:12 PM
الرد مع إقتباس
عضو نشيط
#3  

سلمت لنا أخي الحبيب فقد حل المشكل و لله الحمد .... جزاك الله خيرا و أدامك الله لنا ناصحا معينا






النبع الصافي is offline   قديم 14-09-2007, 01:24 AM
الرد مع إقتباس
الرد على الموضوع



أدوات الموضوع

قوانين المشاركات
لا يمكنك كتابة مواضيع جديدة
لا يمكنك إضافة ردود
لا يمكنك إرسال مرفقات
لا يمكنك تعديل مشاركاتك

كود vB متاح
كود [IMG] متاح
كود HTML غير متاح
Trackbacks are متاح
Pingbacks are متاح
Refbacks are متاح


المواضيع المشابهه
الموضوع كاتب الموضوع القسم الردود آخر مشاركة
أخي الكريم جنتل تفضل هنا ............ فضلاً لاأمراً ... عابر الإصلاح والصيانة 10 03-06-2001 05:21 PM
لغز كنز البقبق سهام الحب القسم العام 7 18-04-2001 10:40 AM
تصفح مواقع الويب وكأنك تمشي في أحد شوارع مدينتك مجتهد الويب والويب 2.0 والـ Semantic Web 0 09-04-2001 04:28 AM
هل أنت أحد جنود الفيلق السفلي للإنترنت ؟ بامحرز الأخبار المتعلقة بالإنترنت والتقنية 1 21-12-2000 12:15 AM
هــل أجد حلا؟؟؟ GREAT1 الأخبار المتعلقة بالإنترنت والتقنية 7 06-04-2000 12:28 PM


جميع الأوقات بتوقيت غرينتش +3. الوقت الآن هو 09:44 PM.