کد:Server Error in '/' Application. Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. Parser Error Message: Could not load the assembly 'App_Web_contactus.aspx.cdcab7d2'. Make sure that it is compiled before accessing the page. Source Error: Line 1: <%@ page language="C#" autoeventwireup="true" inherits="Contactus, App_Web_contactus.aspx.cdcab7d2" %> Line 2: Line 3: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> Source File: /Contactus.aspx Line: 1 Version Information: Microsoft .NET Framework Version:2.0.50727.3615; ASP.NET Version:2.0.50727.3618
از دوستان كسي ميدونه علت مشكل بالا چيه ؟ وقتي رو خود سيستم اجرا مي كنم مشكلي پيش نمياد ، اما وقتي سايت روي سرور قرار اين صفحه خطا داره ، باقي صفحات هم مشكلي ندارند ! سورس صفحه هم رو تو پست پايين مي نويسم
---------- Post added at 11:15 AM ---------- Previous post was at 11:13 AM ----------
کد:<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Contactus.aspx.cs" Inherits="Contactus" %> <!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"> <head id="Head1" runat="server"> <title>Pistachio's Company</title> <link href="css.css" rel="stylesheet" type="text/css" /> <style type="text/css"> .style1 { width: 100%; height: 100%; } </style> </head> <body> <form id="form1" runat="server"> <div> <table width="780" border="0" align="center" cellpadding="0" cellspacing="8" bgcolor="#FFFFFF"> <tr> <td width="201" valign="top"><table width="201" border="0" cellspacing="0" cellpadding="0"> <tr> <td valign="top"><a href="index.htm"><img src="images/index_03.gif" alt="" width="201" height="135" border="0" /></a></td> </tr> <tr> <td height="8" valign="top"></td> </tr> <tr> <td valign="top"><table width="185" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td class="menu"><img src="images/index_10.gif" width="12" height="13" alt="" /> <a href="index.htm">Home</a></td> </tr> <tr> <td class="menu"><img src="images/index_10.gif" width="12" height="13" alt="" /> <a href="Gallery.aspx">Gallery</a></td> </tr> <tr> <td class="menu"><img src="images/index_10.gif" width="12" height="13" alt="" /> <a href="product.aspx">Pistachio</a></td> </tr> <tr> <td class="menu"><img src="images/index_10.gif" width="12" height="13" alt="" /> <a href="Contactus.aspx">Contact Us</a></td> </tr> </table></td> </tr> <tr> <td height="8" valign="top"></td> </tr> <tr> <td valign="top"><a href="#"><img src="images/index_21.gif" alt="" width="201" height="157" border="0" /></a></td> </tr> <tr> <td height="8" valign="top"></td> </tr> <tr> <td valign="top"><a href="#"><img src="images/index_15.jpg" alt="" width="201" height="161" border="0" /></a></td> </tr> </table></td> <td width="553" valign="top"> <table width="553" border="0" align="center" cellpadding="0" cellspacing="0" style="height: 601px"> <tr> <td width="391" valign="top"><table width="553" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="350" valign="top"><img src="images/index_05.gif" width="350" height="239" alt="" /></td> <td valign="top"><img src="images/index_06.gif" width="203" height="239" alt="" /></td> </tr> </table></td> </tr> <tr> <td valign="top" class="text"><form id="form2" name="form1" method="post" action=""> <table width="93%" border="0" align="center" cellpadding="2" cellspacing="4" class="border"> <tr> <td height="25" colspan="2" valign="top" class="heading" style="border-width: medium; border-color: #CAE969; padding-top:8px; color:#CAE969; border-bottom-style: dashed;"> <strong style="font-weight: bold; font-size: medium"> Contact Us :</strong></td> </tr> <tr> <td height="25" colspan="2" valign="top" class="heading"> <table class="style1"> <tr> <td align="left" width="15%"> <asp:Label ID="Label1" runat="server" Font-Bold="True" Font-Names="Arial" Font-Size="Small" ForeColor="#FEA841" Text="Phone:"></asp:Label> </td> <td align="left"> <asp:Label ID="Label2" runat="server" Text="0913-286-7357"></asp:Label> </td> </tr> </table> </td> </tr> <tr> <td height="25" colspan="2" valign="top" class="heading"> <table class="style1"> <tr> <td align="left" width="15%"> <asp:Label ID="Label3" runat="server" Font-Bold="True" Font-Names="Arial" Font-Size="Small" ForeColor="#FEA841" Text="Mail:"></asp:Label> </td> <td align="left"> <asp:Label ID="Label4" runat="server" Text="Majidzanjani@hotmail.com"></asp:Label> </td> </tr> </table> </td> </tr> <tr> <td width="28%" class="style3">Your Name:</td> <td width="72%" class="style4"> <asp:TextBox ID="TextBox1" runat="server" Height="16px" Width="250px"></asp:TextBox> </td> </tr> <tr> <td class="style13">Country:</td> <td class="style14"> <asp:TextBox ID="TextBox2" runat="server" Height="16px" Width="250px"></asp:TextBox> </td> </tr> <tr> <td class="style7">Phone no:</td> <td class="style8"> <asp:TextBox ID="TextBox3" runat="server" Height="16px" Width="250px"></asp:TextBox> </td> </tr> <tr> <td class="style11"> email Address:</td> <td class="style12"> <asp:TextBox ID="TextBox4" runat="server" Height="16px" Width="250px"></asp:TextBox> </td> </tr> <tr> <td class="style9">Comment:</td> <td class="style10"> <asp:TextBox ID="TextBox5" runat="server" Height="89px" Width="247px" TextMode="MultiLine"></asp:TextBox> </td> </tr> <tr> <td class="style13"></td> <td class="style14"> <table class="style1"> <tr> <td class="style2"> <asp:Button ID="Button1" runat="server" Height="28px" onclick="Button1_Click" Text="Submit" Width="60px" /> </td> <td> <asp:Button ID="Button2" runat="server" Height="28px" Text="Reset" Width="60px" onclick="Button2_Click" /> </td> </tr> </table> </td> </tr> </table> </form></td> </tr> </table></td> </tr> <tr> <td height="71" bgcolor="#FFC11C"><div align="center"> <pre class="footer" style="color:#990000; font-size:10px;">Copyright © 2011<br />All Rights Reserved</pre> </div></td> <td height="71" valign="middle" bgcolor="#CAE969"><pre class="footer"><a href="index.htm">Home</a> : <a href="Gallery.aspx">Gallery</a> : <a href="product.aspx">Pistachio</a> : <a href="Contactus.aspx">Contact Us</a> </pre></td> </tr> </table> </div> </form> </body> </html>





پاسخ با نقل قول