2013-11-15 58 views
0

只有內容控件直接允許包含內容 和它顯示紅色的錯誤內容網頁的內容網頁允許直接.. 只有內容控件中包含內容控制

我是越來越以上在源代碼中發佈iis網站後發生錯誤,它不會顯示任何錯誤,但在iis中會顯示錯誤。

和一件事是在本地服務器(IIS)和源代碼沒有問題,但在客戶端IIS中的上述問題正在添加

我有25所形成的25所形成3是給同樣的問題.. 。 我從每種形式獲得母版頁.. u能PLZ給我任何suggesions .. PLZ ..

回答

1

看來你已經寫了腳本標籤或標籤以外的一些其他內容。從外面取出並放入標籤內。你的錯誤可能會消失。

謝謝。

+0

嗨monika謝謝你的回覆..我會發布我的代碼plz等.. –

+0

嗨莫妮卡可以üPLZ看看下面的鏈接我添加了我的代碼在記事本http://www.megafileupload.com/en/文件/ 469114/leave-txt.html PLZ給我建議 –

+0

@SrinivasRachumallu這個文件是完美的,你也可以檢查其他3個文件,它會給出錯誤。 – Monika

0
<%@ Page Language="VB" MasterPageFile="~/MasterPage1.master" AutoEventWireup="false" 
    CodeFile="App_form.aspx.vb" Inherits="App_form" Title="Untitled Page" %> 


<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="Server"> 

    <asp:LinkButton ID="LinkButton4" runat="server" Style="z-index: 100; left: 757px; 
     position: absolute; top: 434px; height: 15px; width: 77px;" Font-Bold="True" 
     Font-Names="Times New Roman" Font-Size="Medium" Visible="false">LogOut</asp:LinkButton> 
    <asp:Label ID="Label11" runat="server" Font-Bold="True" 
    Font-Names="Cambria" Font-Size="Large" 
     Style="z-index: 102; left: 0px; position: absolute; top: -1px; width: 1125px; 
     text-align: center; height: 25px;" Text="Appraisal Form" BorderColor="#8CB1DA" 
     ForeColor="Black" BackColor="#666666"></asp:Label> 
    <br /> 
    <asp:Panel ID="Panel1" runat="server" Font-Bold="False" Style="top: 57px; z-index: 103; 
     left: 9px; position: absolute; height: 275px; width: 1111px;"> 
     <br /> 
     <asp:Label ID="Label1" runat="server" Font-Bold="False" Font-Names="Cambria" ForeColor="Black" 
      Style="z-index: 100; left: 10px; position: absolute; top: 38px; width: 107px;" 
      Text="Employee Code" Font-Size="Medium"></asp:Label> 
     <asp:TextBox ID="txtDepartment" runat="server" Font-Bold="True" Font-Names="Cambria" 
      ForeColor="#0000C0" Style="z-index: 101; left: 348px; position: absolute; top: 63px; 
      width: 135px; bottom: 193px;"></asp:TextBox> 
     <asp:TextBox ID="txtDesignation" runat="server" Font-Bold="True" Font-Names="Cambria" 
      ForeColor="#0000C0" Style="z-index: 101; left: 119px; position: absolute; top: 63px; 
      width: 134px;"></asp:TextBox> 
     <asp:TextBox ID="txtemp" runat="server" Font-Bold="True" Font-Names="Cambria" 
      ForeColor="#0000C0" Style="z-index: 101; left: 120px; position: absolute; top: 37px; 
      width: 133px;"></asp:TextBox> 
     <asp:Label ID="Label2" runat="server" Font-Bold="False" Font-Names="Cambria" ForeColor="Black" 
      Style="z-index: 102; left: 264px; position: absolute; top: 37px; width: 66px;" 
      Text="Name" Font-Size="Medium"></asp:Label> 
     <asp:TextBox ID="txtname" runat="server" Font-Bold="True" Font-Names="Cambria" 
      ForeColor="#0000C0" Style="z-index: 103; left: 349px; position: absolute; top: 37px; 
      width: 135px;"></asp:TextBox> 
     <asp:Label ID="Label3" runat="server" Font-Bold="False" Font-Names="Cambria" ForeColor="Black" 
      Style="z-index: 104; left: 8px; position: absolute; top: 89px; height: 20px; 
      bottom: 166px;" Text="Date of Join" Width="107px" Font-Size="Medium"></asp:Label> 
     <asp:TextBox ID="txtdt" runat="server" Font-Bold="True" Font-Names="Cambria" 
      ForeColor="#0000C0" Style="z-index: 105; left: 119px; position: absolute; top: 89px; 
      width: 135px;"></asp:TextBox> 
     <asp:Label ID="Label4" runat="server" Font-Bold="False" Font-Names="Cambria" ForeColor="Black" 
      Style="z-index: 106; left: 492px; position: absolute; top: 38px; width: 81px;" 
      Text="Designation" Font-Size="Medium"></asp:Label> 
     <asp:TextBox ID="txtpos" runat="server" Font-Bold="True" Font-Names="Cambria" 
      ForeColor="#0000C0" Style="z-index: 107; left: 575px; position: absolute; top: 37px; 
      width: 135px;"></asp:TextBox> 
     <br /> 
     <asp:Label ID="lblReviewer" runat="server" Font-Bold="False" Font-Names="Cambria" 
      Font-Size="Medium" ForeColor="Black" Style="z-index: 100; left: 493px; position: absolute; 
      top: 89px; width: 77px;" Text="Reviewer"></asp:Label> 
     <asp:Label ID="lblLocation" runat="server" Font-Bold="False" Font-Names="Cambria" 
      Font-Size="Medium" ForeColor="Black" Style="z-index: 100; left: 264px; position: absolute; 
      top: 87px; width: 72px;" Text="Location"></asp:Label> 
     <asp:Label ID="lblDepartment" runat="server" Font-Bold="False" Font-Names="Cambria" 
      Font-Size="Medium" ForeColor="Black" Style="z-index: 100; left: 262px; position: absolute; 
      top: 60px; width: 81px;" Text="Department"></asp:Label> 
     <asp:Label ID="lblManager" runat="server" Font-Bold="False" Font-Names="Cambria" 
      Font-Size="Medium" ForeColor="Black" Style="z-index: 100; left: 10px; position: absolute; 
      top: 65px" Text="Manager" Width="107px"></asp:Label> 
     <br /> 
     <br /> 
     <br /> 
     <asp:Label ID="Label5" runat="server" Font-Bold="False" Font-Names="Cambria" ForeColor="Black" 
      Style="z-index: 109; left: 494px; position: absolute; top: 62px; width: 47px;" 
      Text="Grade" Font-Size="Medium"></asp:Label> 
     &nbsp; 
     <asp:DropDownList ID="DropDownList3" runat="server" AutoPostBack="True" Font-Bold="True" 
      Font-Names="Cambria" ForeColor="#0000C0" Style="z-index: 110; left: 119px; 
      position: absolute; top: -30px; width: 130px;"> 
     </asp:DropDownList> 
     <asp:DropDownList ID="DropDownList2" runat="server" AutoPostBack="True" 
      Font-Bold="True" Font-Names="Cambria" ForeColor="#0000C0" Style="z-index: 110; left: 574px; 
      position: absolute; top: 62px; width: 136px; height: 19px;"> 
     </asp:DropDownList> 
     <br /> 
     <br /> 
     <br /> 
     <br /> 
     <div id="divGV" style="overflow: scroll; height: 150px; width: 100;"> 
      <asp:Label ID="Label19" runat="server" Font-Bold="True" Font-Names="Cambria" 
       Font-Size="Medium" ForeColor="Black" Style="z-index: 103; left: 265px; position: absolute; 
       top: -32px; height: 29px; width: 446px;"></asp:Label> 
      <asp:Label ID="Label18" runat="server" Font-Bold="True" 
       Font-Names="Cambria" Font-Size="Medium" ForeColor="Black" Style="z-index: 103; left: 7px; position: absolute; 
       top: -32px; height: 29px; width: 104px;" Text="Document No"></asp:Label> 
      <asp:Label ID="Label17" runat="server" Font-Bold="True" 
       Font-Names="Cambria" Font-Size="Medium" ForeColor="Black" Style="z-index: 103; left: 11px; position: absolute; 
       top: 5px; height: 29px; width: 92px;" Text="From Month"></asp:Label> 
      <asp:Label ID="Label15" runat="server" Font-Bold="True" Font-Names="Cambria" 
       Font-Size="Medium" ForeColor="Black" Style="z-index: 103; left: 323px; position: absolute; 
       top: 5px; height: 29px; width: 84px;" Text="To Month"></asp:Label> 
      <asp:TextBox ID="txttyear" runat="server" AutoPostBack="True" Font-Bold="True" Font-Names="Cambria" 
       ForeColor="#0000C0" Style="z-index: 108; left: 528px; position: absolute; top: 5px; 
       width: 61px; right: 126px; height: 19px;" TabIndex="5"></asp:TextBox> 
      <asp:TextBox ID="txtfyear" runat="server" AutoPostBack="True" Font-Bold="True" Font-Names="Cambria" 
       ForeColor="#0000C0" Style="z-index: 108; left: 253px; position: absolute; top: 7px; 
       width: 61px; right: 797px;" TabIndex="5"></asp:TextBox> 
      <asp:TextBox ID="txttmonth" runat="server" AutoPostBack="True" Font-Bold="True" Font-Names="Cambria" 
       ForeColor="#0000C0" Style="z-index: 108; left: 401px; position: absolute; top: 7px; 
       width: 55px; right: 259px;" TabIndex="5"></asp:TextBox> 
      <asp:Label ID="lblFrmYear" runat="server" Font-Bold="True" Font-Names="Cambria" 
       Font-Size="Medium" ForeColor="Black" Style="z-index: 102; left: 167px; position: absolute; 
       top: 6px; right: 864px; width: 80px; height: 22px;" Text="From Year"></asp:Label> 
      <asp:Label ID="Label16" runat="server" Font-Bold="True" Font-Names="Cambria" 
       Font-Size="Medium" ForeColor="Black" Style="z-index: 103; left: 467px; position: absolute; 
       top: 5px; height: 21px; width: 83px;" Text="To Year"></asp:Label> 
      <asp:GridView ID="Gridview1" runat="server" ShowFooter="True" AutoGenerateColumns="False" 
      OnRowDeleting="OnRowDeleting" 
       Height="28px" Width="705px" BackColor="#666666" BorderColor="#666666" 
       CellPadding="2" ForeColor="Black" GridLines="None" Font-Names="Cambria" 
       Font-Size="Small"> 
       <Columns> 
        <asp:BoundField DataField="RowNumber" HeaderText="S.No" /> 
        <asp:TemplateField HeaderText="Key Results Area"> 
         <ItemTemplate> 
          <asp:TextBox ID="TextBox1" runat="server" TextMode="MultiLine"></asp:TextBox> 
         </ItemTemplate> 
        </asp:TemplateField> 
        <asp:TemplateField HeaderText="KPI"> 
         <ItemTemplate> 
          <asp:TextBox ID="TextBox9" runat="server" TextMode="MultiLine"></asp:TextBox> 
         </ItemTemplate> 
        </asp:TemplateField> 
        <asp:TemplateField HeaderText="Target"> 
         <ItemTemplate> 
          <asp:TextBox ID="TextBox2" runat="server" TextMode="MultiLine"></asp:TextBox> 
         </ItemTemplate> 
        </asp:TemplateField> 
        <asp:TemplateField HeaderText="Weightage(%)"> 
         <ItemTemplate> 
          <asp:TextBox ID="TextBox3" runat="server"></asp:TextBox> 
         </ItemTemplate> 
        </asp:TemplateField> 
        <asp:TemplateField HeaderText="Target Achieved (Self-Assessment)"> 
         <ItemTemplate> 
          <asp:TextBox ID="TextBox4" runat="server"></asp:TextBox> 
          <%-- <asp:DropDownList ID="TextBox4" runat="server" Width="150" AppendDataBoundItems="true" Enabled="false"> 
          <asp:ListItem Text="-- Select --" Value="-1" /> 
          <asp:ListItem Text="Needs Improvements" Value="Needs Improvements" /> 
          <asp:ListItem Text="Party Meets Expectation" Value="Party Meets Expectation" /> 
          <asp:ListItem Text="Meets Expectation" Value="Meets Expectation" /> 
          <asp:ListItem Text="Sometime Exceeds Expected" Value="Sometime Exceeds Expected" /> 
          <asp:ListItem Text="OutStandaing" Value="OutStandaing" /> 
          </asp:DropDownList>--%> 
         </ItemTemplate> 
        </asp:TemplateField> 
        <asp:TemplateField HeaderText="Remarks"> 
         <ItemTemplate> 
          <asp:TextBox ID="TextBox5" runat="server" Enabled="false"></asp:TextBox> 
         </ItemTemplate> 
        </asp:TemplateField> 
        <asp:TemplateField HeaderText="Target Achieved (Appraiser)"> 
         <ItemTemplate> 
          <asp:TextBox ID="TextBox6" runat="server" Enabled="false"></asp:TextBox> 
         </ItemTemplate> 
        </asp:TemplateField> 
        <asp:TemplateField HeaderText="Final Achievement."> 
         <ItemTemplate> 
          <asp:TextBox ID="TextBox7" runat="server" Enabled="false"></asp:TextBox> 
         </ItemTemplate> 
        </asp:TemplateField> 
        <asp:TemplateField HeaderText="Reviewer's Comment"> 
         <ItemTemplate> 
          <asp:TextBox ID="TextBox8" runat="server" Enabled="false"></asp:TextBox> 
         </ItemTemplate> 
         <FooterStyle HorizontalAlign="Right" /> 
         <FooterTemplate> 
          <asp:Button ID="ButtonAdd" runat="server" Text="Add New Row" OnClick="ButtonAdd_Click" /> 
         </FooterTemplate> 
        </asp:TemplateField> 
        <asp:ButtonField ButtonType="Button" CommandName="Delete" HeaderText="Delete" 
         ShowHeader="True" Text="Delete" /> 
       </Columns> 
       <FooterStyle BackColor="#666666" /> 
       <PagerStyle BackColor="PaleGoldenrod" ForeColor="DarkSlateBlue" HorizontalAlign="Center" /> 
       <SelectedRowStyle BackColor="DarkSlateBlue" ForeColor="GhostWhite" /> 
       <HeaderStyle BackColor="#666666" Font-Bold="True" /> 
      </asp:GridView> 
     </div> 
     <br /> 
     <br /> 
     <br /> 
     <br /> 
     <br /> 
     <br /> 
     <br /> 
     <br /> 
     <br /> 
     <asp:TextBox ID="txtfmonth" runat="server" AutoPostBack="True" Font-Bold="True" Font-Names="Times New Roman" 
      ForeColor="#0000C0" Style="z-index: 120; left: 108px; position: absolute; top: 7px; 
      height: 19px; width: 51px;" TabIndex="4"></asp:TextBox> 
     <asp:TextBox ID="txtReviewer" runat="server" Font-Bold="True" Font-Names="Cambria" 
      ForeColor="#0000C0" Style="z-index: 101; left: 574px; position: absolute; top: 90px; 
      width: 135px;"></asp:TextBox> 
     <asp:TextBox ID="txtLocation" runat="server" Font-Bold="True" Font-Names="Cambria" 
      ForeColor="#0000C0" Style="z-index: 101; left: 348px; position: absolute; top: 89px; 
      width: 135px;"></asp:TextBox> 
     <br /> 
     <br /> 
     <br /> 
     <asp:Button ID="btnProcess" runat="server" Font-Bold="True" Font-Names="Cambria" 
      Font-Size="10pt" ForeColor="White" Style="z-index: 111; left: 611px; position: absolute; 
      top: 4px; height: 22px; width: 96px;" Text="Process" ValidationGroup="add" 
      BackColor="#666666" BorderColor="Blue" BorderStyle="Solid" /> 
     <asp:Button ID="add" runat="server" Font-Bold="True" Font-Names="Cambria" 
      Font-Size="10pt" ForeColor="White" Style="z-index: 111; left: 557px; position: absolute; 
      top: 400px; height: 26px; width: 66px;" Text="Submit" 
      ValidationGroup="add" BackColor="#666666" BorderColor="Blue" 
      BorderStyle="Solid" /> 
     <asp:Button ID="cancel" runat="server" Font-Bold="True" Font-Names="Times New Roman" 
      Font-Size="10pt" ForeColor="White" Style="z-index: 113; left: 628px; position: absolute; 
      top: 400px; height: 26px; width: 66px;" Text="Cancel" BackColor="#666666" 
      BorderColor="Blue" BorderStyle="Solid" /> 
     <br /> 
     <br /> 
     <br /> 
     <br /> 
     <br /> 
     <asp:ImageButton ID="ImageButton1" runat="server" AlternateText="Add" BorderStyle="None" 
      ImageUrl="~/Images/btn.jpeg" Style="z-index: 114; left: 661px; position: absolute; 
      top: 96px; height: 17px; width: 50px;" Visible="False" /> 
     <asp:TextBox ID="txtAppraiser0" runat="server" Style="z-index: 170; left: 201px; 
      position: absolute; top: 360px; width: 493px; height: 32px;" 
      TextMode="MultiLine" Font-Names="Cambria"></asp:TextBox> 
     <asp:TextBox ID="txtAppraiser" runat="server" Style="z-index: 170; left: 201px; position: absolute; 
      top: 323px; width: 493px; height: 31px;" TextMode="MultiLine" 
      Font-Names="Cambria"></asp:TextBox> 
     <asp:TextBox ID="txtTraining" runat="server" Style="z-index: 170; left: 201px; position: absolute; 
      top: 287px; width: 493px; height: 30px;" TextMode="MultiLine" 
      Font-Names="Cambria"></asp:TextBox> 
     <asp:Label ID="Label14" runat="server" Font-Bold="False" Font-Names="Cambria" Font-Size="Medium" 
      ForeColor="Black" Style="z-index: 109; left: 13px; position: absolute; top: 362px; 
      width: 179px; height: 24px;" Text="Final Comments - Reviewer"></asp:Label> 
     <asp:Label ID="Label13" runat="server" Font-Bold="False" Font-Names="Cambria" Font-Size="Medium" 
      ForeColor="Black" Style="z-index: 109; left: 12px; position: absolute; top: 326px; 
      width: 189px; height: 25px;" Text="Final Comments - Appraiser"></asp:Label> 
     <asp:Label ID="Label12" runat="server" Font-Bold="False" Font-Names="Cambria" Font-Size="Medium" 
      ForeColor="Black" Style="z-index: 109; left: 14px; position: absolute; top: 290px; 
      width: 131px; height: 21px;" Text="Training Needs"></asp:Label> 
     <asp:GridView ID="gvApprList" runat="server" AutoGenerateColumns="False" BackColor="#DEBA84" 
      BorderColor="#DEBA84" BorderStyle="None" BorderWidth="1px" CellPadding="3" CellSpacing="2" 
      Height="174px" Width="729px" DataKeyNames="DocEntry"> 
      <RowStyle BackColor="#FFF7E7" ForeColor="#8C4510" /> 
      <Columns> 
       <asp:ButtonField ButtonType="Link" Text="Select" CommandName="SLK" HeaderText="Select" 
        ItemStyle-Font-Bold="true" ItemStyle-HorizontalAlign="Center" ItemStyle-ForeColor="DarkBlue" /> 
       <asp:BoundField DataField="DocEntry" HeaderText="Doc Entry" ItemStyle-Font-Bold="true" 
        ItemStyle-HorizontalAlign="Center" Visible="false"/> 

       <asp:BoundField DataField="U_NAME" HeaderText="Employee Name" ItemStyle-Font-Bold="true" 
        ItemStyle-HorizontalAlign="Center" /> 
       <asp:BoundField DataField="U_DSIG" HeaderText="Designation" ItemStyle-Font-Bold="true" 
        ItemStyle-HorizontalAlign="Center" /> 
       <asp:BoundField DataField="U_FrmMth" HeaderText="From Month" ItemStyle-Font-Bold="true" 
        ItemStyle-HorizontalAlign="Center" /> 
       <asp:BoundField DataField="U_FrmYer" HeaderText="From Year" ItemStyle-Font-Bold="true" 
        ItemStyle-HorizontalAlign="Center" /> 
       <asp:BoundField DataField="U_ToMth" HeaderText="To Month" ItemStyle-Font-Bold="true" 
        ItemStyle-HorizontalAlign="Center" /> 
       <asp:BoundField DataField="U_ToYer" HeaderText="To Year" ItemStyle-Font-Bold="true" 
        ItemStyle-HorizontalAlign="Center" /> 
      </Columns> 
      <FooterStyle BackColor="#F7DFB5" ForeColor="#8C4510" /> 
      <PagerStyle ForeColor="#8C4510" HorizontalAlign="Center" /> 
      <SelectedRowStyle BackColor="#738A9C" Font-Bold="True" ForeColor="White" /> 
      <HeaderStyle BackColor="#A55129" Font-Bold="True" ForeColor="White" /> 
     </asp:GridView> 
    </asp:Panel> 
</asp:Content> 

把這段代碼。

+0

確定給我一些時間,我會做出改變,我會在這裏測試,謝謝你,我會檢查它.. –

+0

嗨莫妮卡上面的代碼,我試過...本地iis工作正常但客戶端服務器不工作相同的錯誤正在像以前一樣http://www.megafileupload.com/en/file/469130/Errror-JPG.html來看看上面的圖像 –

+0

嗨任何身體幫助我..實際上是什麼問題..客戶端有沒有iis問題.. –