2010-07-10 2 views
1

WebParts.aspx 페이지가 다음과 같습니다. < % @ Page Language = "C#"AutoEventWireup = "true"CodeBehind = "WebParts .aspx.cs "상속 ="e.WebParts "%>WebParts.aspx 페이지는 게시 된 사이트에서 멈추지 만 로컬 호스트의 VS2008에서 실행하면 작동합니다.

  <!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 runat="server"> 
       <title></title> 
      </head> 
      <body> 
       <form id="form1" runat="server"> 
       <div> 

        <asp:WebPartManager ID="WebPartManager1" runat="server"> 
        </asp:WebPartManager> 

       </div> 

       <div> 
       <table> 
       <tr> 
       <td> 
        <asp:WebPartZone ID="WebPartZone1" runat="server" HeaderText="News"> 
         <ZoneTemplate> 
          <asp:Label ID="Label1" runat="server" Text="Label" Title="News" ></asp:Label> 
         </ZoneTemplate> 
        </asp:WebPartZone> 
        </td><td> 
         <asp:WebPartZone ID="WebPartZone2" runat="server"> 
         </asp:WebPartZone> 
        </td><td> 
         <asp:WebPartZone ID="WebPartZone3" runat="server"> 
          <ZoneTemplate> 
           <asp:ListBox ID="ListBox1" runat="server" Title="Sponsors"></asp:ListBox> 
          </ZoneTemplate> 
         </asp:WebPartZone> 
        </td> 
       </tr> 

       <tr> 
       <td> 
        <asp:WebPartZone ID="WebPartZone4" runat="server"> 
        </asp:WebPartZone> 
        </td><td> 
         <asp:WebPartZone ID="WebPartZone5" runat="server"> 
         </asp:WebPartZone> 
        </td><td> 
         <asp:WebPartZone ID="WebPartZone6" runat="server"> 
         </asp:WebPartZone> 
        </td> 
       </tr> 

       </table> 

       </div> 
       </form> 
      </body> 
      </html> 

이 페이지는 내가 로컬 호스트에 VS2008에서 직접 실행하면 잘 실행,하지만 난 내 원격 IIS 웹 서버에 게시, 그것은 바로 중단 HTTP 응답 없음.

+0

게시물의 제목과 본문이 어떤 환경에서 작동하고 멈추는 지에 대해서는 동의하지 않습니다. 편집하십시오. –

+0

죄송합니다. 수정 됨. – Das

답변

1

서버의 방화벽을 확인하십시오. AJAX Toolkit을 사용하여 동일한 동작을 경험했습니다.

관련 문제