السلام عليكــم ورحمـة الله وبركاتــه ،،.
عندي مشكله غريبة للاسف لا اعلم ما هو سببها
توجد صورة في المرفقات توضح نص الخطاء
السلام عليكــم ورحمـة الله وبركاتــه ،،.
عندي مشكله غريبة للاسف لا اعلم ما هو سببها
توجد صورة في المرفقات توضح نص الخطاء

لن يظهر من تلك الصورة تحليل الخطأ
فهو خطأ ناتج عن استخدام instance من كلاس لم يتم تعيين reference له بعد
فقم بكتابة الكود .. وسنقوم بإذن الله بحلها :)
لله في الآفاق آيات لعـــل = أقلهـــا هو ما إليه هداكا
ولعل ما في النفس من آياته = عجبٌ عجابٌ لو ترى عيناكا
والكون مشحون بأسرار إذا = حاولت تفسيراً لهــا أعياكا
قمت فقط بتغير الكود في الماستر بيج والتعديل على شكل كنترول موجود فيها
الك الكود
<%@ master language="C#" autoeventwireup="true" inherits="MasterPage, App_Web_eniy_fbg" %> <%@ Register Src="UC_Right.ascx" TagName="UC_Right" TagPrefix="uc2" %> <%@ Register Src="UC_Top.ascx" TagName="UC_Top" TagPrefix="uc1" %> <%@ Register TagPrefix="obshow" Namespace="OboutInc.Show" Assembly="obout_Show_Net" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" dir="rtl"> <head runat="server"> <meta http-equiv="Content-Type" content="text/html; windows-1256" /> <meta http-equiv="imagetoolbar" content="no" /> <meta http-equiv="Page-Exit" content="progid:DXImageTransform.Microsoft.Fade(duration=.5)" /> <meta name="Keywords" content=" أطفال" /> <meta name="Description" content=" العاب" /> <meta name="copyright" content="Copyright (c) r.com, All rights reserved." /> <title>ر</title> <script language="javascript" src="cp/Script.js" type="text/javascript"></script> </head> <body runat="server" id="tagBody" style ="background-color:#c61d23"> <form id="form1" runat="server"> <div align="center"> <%-- <table id="tblMain_top" height="100%" cellspacing="0" cellpadding="0" width="713" align="center" border="0" style="margin:1px;border-right: #EBF3FB 1px solid; border-left: #EBF3FB 1px solid;border-bottom: #EBF3FB 1px solid;border-top: #EBF3FB 1px solid;">--%> <table style="border-left: 1px solid rgb(75, 114, 35); border-right: 1px solid rgb(75, 114, 35); border-bottom: 1px solid rgb(75, 114, 35);" width="766" align="center" border="0" cellpadding="0" cellspacing="0"> <tr> <td> <table id="tblMain" height="100%" cellspacing="0" cellpadding="0" width="766" align="center" border="0"> <tbody> <%--راس الصفحة--%> <tr id="id_Top"> <td> <uc1:UC_Top ID="UC_Top1" runat="server" /> </td> </tr> <%--وسط الصفحة--%> <tr id="id_Container"> <td height="100%" valign="top"> <table cellpadding="0" cellspacing="0"> <tr><td valign="top"> <table border="0" cellpadding="0" cellspacing="0"> <tbody> <tr> <td valign="top" width="34"> </td> <td valign="top" width="185"> <table width="185" border="0" cellpadding="0" cellspacing="0"> <tbody> <tr> <td style="width: 197px" valign="top"> <uc2:UC_Right ID="UC_Right1" runat="server" /> </td> </tr> </tbody></table> </td> <td valign="top" width="524"> <table width="524" border="0" cellpadding="0" cellspacing="0"> <tbody> </tbody></table> </td> <td width="22"> </td> </tr> </tbody></table> </td></tr> </table> </td> </tr> <%--خاتمة الصفحة--%> <tr id="id_Footer"> <td> <table cellpadding="0" cellspacing="0" width="100%"> <tbody> <tr> <td colspan="2" style="background-color:#7bc329;height:6px;"> </td> </tr> <tr> <td colspan="2" style="height:1px;"></td> </tr> <tr> <td colspan="2" style="height:52px;background-color:#131b21;"> <table cellpadding="0" cellspacing="0"> <tbody> <tr> <td style="width:155px;padding-left:14px;font-size: 10px;color: #D1D1D1;text-decoration: none" dir="ltr"> Copyright Co. <br/> <span style="font-size: 10px;color:#178CAE;text-decoration: none"><a href="#" style="font-size: 10px;color:#178CAE;text-decoration: none">Privacy Notice</a> | <a href="Terms.aspx" style="font-size: 10px;color:#178CAE;text-decoration: none">Terms of Use</a></span> <br/> <a href="http://www.1.com" target="_blank" style="font-size: 10px;color: #D1D1D1;text-decoration: none"><b> Powered IT</b></a> </td> <td style="width:1px;background-color:#777b7e;height:35px;"></td> <td style="width:543px;" align="center"></td> </tr> </tbody> </table> </td> </tr> </tbody> </table> </td> </tr> </tbody> </table> </td> </tr> </table> </div> </form> </body> </html>
مع العلم انه قبل التعديل كان يعمل بشكل صحيح

ما هو الجزء الذي عدلته؟
الخطأ سيكون فى الـ behind code ,, كودasp
غالبا
وليس فى كود الhtml
لله في الآفاق آيات لعـــل = أقلهـــا هو ما إليه هداكا
ولعل ما في النفس من آياته = عجبٌ عجابٌ لو ترى عيناكا
والكون مشحون بأسرار إذا = حاولت تفسيراً لهــا أعياكا