C# WebParts.aspx页面挂起在已发布的站点中,但在本地主机上从VS2008运行时有效
我有一个WebParts.aspx页面,看起来像这样-C# WebParts.aspx页面挂起在已发布的站点中,但在本地主机上从VS2008运行时有效,c#,asp.net,C#,Asp.net,我有一个WebParts.aspx页面,看起来像这样- 当我在本地主机上直接从VS2008运行此页面时,它运行正常,但当我将其发布到远程IIS Web服务器时,它只是挂起,没有HTTP响应。检查服务器的防火墙。我在使用AJAX工具包时也经历过同样的行为。检查服务器的防火墙。我在使用AJAX工具包时也经历过同样的行为。您的标题和文章正文对它在哪个环境中工作以及挂起在哪个环境中不一致。请编辑。您的标题和文章正文对它在哪个环境下工作以及挂在哪个环境下不一致。请编辑。 &l
当我在本地主机上直接从VS2008运行此页面时,它运行正常,但当我将其发布到远程IIS Web服务器时,它只是挂起,没有HTTP响应。检查服务器的防火墙。我在使用AJAX工具包时也经历过同样的行为。检查服务器的防火墙。我在使用AJAX工具包时也经历过同样的行为。您的标题和文章正文对它在哪个环境中工作以及挂起在哪个环境中不一致。请编辑。您的标题和文章正文对它在哪个环境下工作以及挂在哪个环境下不一致。请编辑。
<!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>