النتائج 1 إلى 3 من 3

الموضوع: مشكل أرقني هل أجد له حلا؟؟؟

  1. #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 الساعة 06:25 PM


  2. #2

    تاريخ التسجيل
    Jun 2006
    المشاركات
    1,370


    هلا اخوي

    اول شي تاكد من انك معطي الصلاحيات للمجلد الي يتم رفع الملفات داخله ولمعرفة الطريقة
    راجع الرد رقم 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"





    __________________
    @_@

  3. #3


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










ضوابط المشاركة

  • لا تستطيع إضافة مواضيع جديدة
  • لا تستطيع الرد على المواضيع
  • لا تستطيع إرفاق ملفات
  • لا تستطيع تعديل مشاركاتك
  •  

أضف موقعك هنا| اخبار السيارات | حراج | شقق للايجار في الكويت | بيوت للبيع في الكويت | دليل الكويت العقاري | مقروء | شركة كشف تسربات المياه | شركة عزل اسطح بالرياض | عزل فوم بالرياض| عزل اسطح بالرياض | كشف تسربات المياة بالرياض | شركة عزل اسطح بالرياض