IE 10-11中的问题在iis上托管Web应用程序时 [英] Problem in IE 10-11 While hosting a web application on iis

查看:58
本文介绍了IE 10-11中的问题在iis上托管Web应用程序时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个弹出窗口,其中分页正在工作。

分页,当我点击下一个按钮时,我收到如下错误:

< big>在服务器上处理请求时发生未知错误。服务器返回的状态代码为:500。

在IE-9中。工作正常。

这个问题来自IIS上托管站点的IE-10和IE 11.

请告诉我这个问题是否有关于iis的任何设置。



这是aspx页面:

I have a pop up in which pagination is working.
in pagination , when i click on next button, i get the error like:
" An unknown error occurred while processing the request on the server. The status code returned from the server was:500.
In IE-9. Its working fine.
This problem is coming in IE-10 and IE 11 from the hosted site on IIS.
Please let me know is there any setting on iis for this issue.

This is aspx page:

<form id="form1" runat="server">
        <input type="hidden" value="V" id="hidOwnerType" runat="server" />
        <input type="hidden" value="10" id="hidPageSize" runat="server" />
        <input type="hidden" value="3" id="hidSearchOption" runat="server" />
        <asp:ScriptManager ID="ScriptManager1" runat="server" EnableScriptGlobalization="true"

            EnableScriptLocalization="true" EnablePartialRendering="true" LoadScriptsBeforeUI="true"

            ScriptMode="release">
        </asp:ScriptManager>
        <div>
            <%-- Begining of the Find Employee(s) popup--%>
            <asp:UpdatePanel ID="upnlFind" UpdateMode="Conditional" runat="server">
                <ContentTemplate>
                    <table class="table-setting" cellpadding="0" border="0" cellspacing="0">
                        <tr>
                            <td width="2" align="left">
                            </td>
                            <td class="popuperrmsgtd">
                                <asp:UpdatePanel ID="upnlFineMsg" runat="server" UpdateMode="Conditional">
                                    <ContentTemplate>
                                        <asp:Label ID="lblFindMsg" runat="server" CssClass="error-msg" />
                                    </ContentTemplate>
                                </asp:UpdatePanel>
                            </td>
                            <td align="right" class="padding-right16" width="25%">
                                <asp:UpdateProgress ID="uProgress" runat="server" DisplayAfter="0" DynamicLayout="false">
                                    <ProgressTemplate>
                                        <asp:Image ID="imgProgress" runat="server" SkinID="ProgressImage" />
                                        <asp:Label ID="lblProgress" CssClass="ProgressLabel" runat="server" Text="<%$ Resources:Strings, rc_ProgressLabel_0023%>" />
                                    </ProgressTemplate>
                                </asp:UpdateProgress>
                            </td>
                        </tr>
                        <tr>
                            <td width="2">
                            </td>
                            <td colspan="2">
                                <asp:UpdatePanel ID="upnlFilterMain" runat="server" UpdateMode="Conditional">
                                    <ContentTemplate>
                                        <asp:HiddenField ID="txtname" runat="server" Value="gvFilterMain_ctl02_txtFindVal1" />
                                        <table cellpadding="1" cellspacing="1">
                                                            <tr>
                                                                <td width="1">
                                                            </td>
                                                                <td class="width70">
                                                                </td>
                                                                <td style="padding-left:5px">
                                                                    <asp:DropDownList ID="ddlSavedFilter" AutoPostBack="true" OnSelectedIndexChanged="ddlSavedFilter_SelectedIndexChanged_E45"

                                                                        SkinID="ddl4filter" runat="server" />
                                                                </td>
                                                                <td  style="padding-left:2px">
                                                                    <asp:TextBox ID="txtSave" runat="server" SkinID="txt4filtername" MaxLength="50" ToolTip="<%$ Resources :Strings ,rcSaveFilter_0023 %>" />
                                                                </td>
                                                                <td>
                                                                    <asp:Button runat="server" ID="btnSave" SkinID="popupbtn" CommandName="SaveFilter"

                                                                        Text="<%$Resources:Strings, rcSave_0023%>" OnClick="btnSave_Click" /></td>
                                                                <td width="12">
                                                                </td>
                                                                <td >
                                                                    <asp:Button ID="btnDelete" runat="server" OnClick="btnDelete_Click" SkinID="popupbtn" CommandName="DeleteFilter"

                                                                        Text="<%$Resources:Strings, rcDelete%>" /></td>
                                                            </tr>
                                            </table>
                                            <table class="" cellpadding="1" cellspacing="1">
                                            <tr>
                                                <td width="1">
                                                </td>
                                                <td>
                                                    <asp:Panel CssClass="width800"  runat="server" ID="pnlMainCriteria">

                                                    </asp:Panel>
                                                </td>
                                            </tr>
                                        </table>
                                    </ContentTemplate>
                                </asp:UpdatePanel>
                                <asp:UpdatePanel ID="upnlFilterAdd" runat="server" UpdateMode="Conditional">
                                    <ContentTemplate>
                                        <table class="" cellpadding="1" cellspacing="2">
                                            <tr>
                                                <td width="1">
                                                </td>
                                                <td>
                                                    <asp:Panel CssClass="width800" runat="server" ID="pnlFilterAdd">
                                                        <asp:GridView GridLines="Both" ID="gvFilterAdd" SkinID="FilterAdditionalGrid" OnRowDeleting="gvFilterAdd_RowDeleting_E44"

                                                            OnRowCommand="gvFilterAdd_RowCommand_E43" runat="server">
                                                            <Columns>
                                                                <asp:TemplateField>
                                                                    <ItemTemplate>
                                                                        <asp:DropDownList ID="ddlUnion1" SkinID="ddl4filterwidth70" CssClass="width52" runat="server">
                                                                            <asp:ListItem Text="<%$Resources:Strings, rcAnd_0023%>" Value="AND"></asp:ListItem>
                                                                            <asp:ListItem Text="<%$Resources:Strings, rcOr_0023%>" Value="OR"></asp:ListItem>
                                                                        </asp:DropDownList>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField>
                                                                    <ItemTemplate>
                                                                        <asp:DropDownList ID="ddlBraces" SkinID="ddl4filterwidth70" CssClass="width70" runat="server">
                                                                            <asp:ListItem Text="<%$Resources:Strings, rcNone_0023%>" Value="NONE"></asp:ListItem>
                                                                            <asp:ListItem Text="(" Value="("></asp:ListItem>
                                                                        </asp:DropDownList>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField>
                                                                    <ItemTemplate>
                                                                        <asp:DropDownList ID="ddlAddDBFields" SkinID="ddl4filter" runat="server" OnSelectedIndexChanged="ddlAddDBFields_SelectedIndexChanged_E68"

                                                                            AutoPostBack="true" />
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField>
                                                                    <ItemTemplate>
                                                                        <asp:DropDownList ID="ddlUnion2" SkinID="ddl4filterwidth70" runat="server" />
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField>
                                                                    <ItemTemplate>
                                                                        <asp:TextBox ID="txtValue2" SkinID="txt4filter" runat="server" MaxLength="50" ToolTip="<%$ Resources :Strings ,rcEnterFilterCriteria_0023 %>" />
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField>
                                                                    <ItemTemplate>
                                                                        <asp:DropDownList ID="ddlBraces1" runat="server" SkinID="ddl4filterwidth70" CssClass="width70">
                                                                            <asp:ListItem Text="<%$Resources:Strings, rcNone_0023%>" Value="NONE"></asp:ListItem>
                                                                            <asp:ListItem Text=")" Value=")"></asp:ListItem>
                                                                        </asp:DropDownList>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:ButtonField ButtonType="Image" CommandName="Delete" ImageUrl="~/Image/filter_delete.gif"

                                                                    Text="<%$Resources:Strings, rcDelete%>" />
                                                            </Columns>
                                                        </asp:GridView>
                                                    </asp:Panel>
                                                </td>
                                            </tr>
                                        </table>
                                    </ContentTemplate>
                                </asp:UpdatePanel>
                            </td>
                        </tr>

                    </table>
                    <asp:UpdatePanel ID="upnlFindGrid" runat="server" UpdateMode="Conditional">
                        <ContentTemplate>
                            <table class="table-setting">
                                <tr>
                                    <td>
                                        <%-- <div  id ="Div1" runat="Server" class="tableHeadBorder">--%>
                                        <div >
                                            <asp:Table runat="server" ID="tblFilterHeader" Width="100%" CellPadding='0' CellSpacing="0">
                                                <asp:TableRow ID="TableRow1" runat="server">
                                                    <asp:TableCell ID="TableCell10" Style="padding-left: 2px;" CssClass="width150 Header height20" runat="server">
                                                        <asp:Label ID="lblCardNumber" runat="server" Text=" <%$Resources:Strings, rcCardNO_0171%>" /></asp:TableCell>
                                                    <asp:TableCell ID="TableCell1" CssClass="width150 Header height20"

                                                        runat="server">
                                                        <asp:Label ID="Label1" runat="server" Text="<%$Resources:Strings, rcName_0023%>" /></asp:TableCell>
                                                    <asp:TableCell ID="TableCell9" CssClass="width150 Header height20"

                                                        runat="server">
                                                        <asp:Label ID="Label2" runat="server" Text="<%$Resources:Strings, FirstName%>" /></asp:TableCell>
                                                    <asp:TableCell ID="TableCell2" runat="server">
                                                        <asp:Label ID="lblDeptFilter" runat="server" Text=" <%$Resources:Strings, rcDepartment1_0023%>" /></asp:TableCell>
                                                    <asp:TableCell ID="TableCell3" runat="server">
                                                        <asp:Label ID="lblSectionFilter" runat="server" Text=" <%$Resources:Strings, rcSection_0023%>" /></asp:TableCell>
                                                    <asp:TableCell ID="TableCell4" runat="server">
                                                        <asp:Label ID="lblGroupFilter" runat="server" Text=" <%$Resources:Strings, rcGroup_0023%>" /></asp:TableCell>
                                                    <%--adding new column for visitor filter--%>
                                                    <asp:TableCell ID="TableCell5" CssClass="width125 Header height20" runat="server"

                                                        Visible="false">
                                                        <asp:Label ID="lblPNo" runat="server" Text="<%$Resources:Strings, rcSearchPersonnelNumber_0023%>" /></asp:TableCell>
                                                    <asp:TableCell ID="TableCell6" CssClass="width225 Header height20" runat="server"

                                                        Visible="false">
                                                        <asp:Label ID="lblReference" runat="server" Text=" <%$Resources:Strings, rcReference%>" /></asp:TableCell>
                                                    <asp:TableCell ID="TableCell7" CssClass="width225 Header height20" runat="server"

                                                        Visible="false">
                                                        <asp:Label ID="lblCompany" runat="server" Text=" <%$Resources:Strings, rcCompany_0004%>" /></asp:TableCell>
                                                    <asp:TableCell ID="TableCell8" CssClass="Header height20" runat="server" Visible="true"></asp:TableCell>
                                                </asp:TableRow>
                                            </asp:Table>
                                        </div>
                                        <%--</div>--%>
                                        <%--<div id="searchResult" runat="Server" class="FilterPopupDiv FilerPadding">--%>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <asp:Panel ID="searchResult" runat="server" style="overflow-x:hidden; overflow-y:auto; white-space:normal" Height="330px" Wrap="false" >
                                            <asp:GridView ID="gvEmpFilter" ShowHeader="false" CellSpacing="0"

                                                CellPadding="0" runat="server" DataKeyNames="PersonnelNumber" OnRowDataBound="gvEmpFilter_RowDataBound_E55">
                                                <Columns>
                                                    <%--<asp:TemplateField ControlStyle-CssClass ="width125"><ItemTemplate><div class ="width125" ><%# String.Format("{0:00000000}", Eval("PersonnelNumber"))%></div></ItemTemplate></asp:TemplateField>--%>
                                                    <asp:TemplateField ControlStyle-CssClass="width300">
                                                        <ItemTemplate>
                                                                <%# Eval("Cardnumber") %>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:TemplateField ControlStyle-CssClass="width300">
                                                        <ItemTemplate>
                                                            <div class="width300">
                                                                <%# Eval("Name") %>
                                                            </div>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:TemplateField ControlStyle-CssClass="width300">
                                                        <ItemTemplate>
                                                            <div class="width300">
                                                                <%# Eval("FirstName") %>
                                                            </div>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:TemplateField ControlStyle-CssClass="width225">
                                                        <ItemTemplate>
                                                            <div class="width225">
                                                                <%# Eval("DepartmentName") %>
                                                            </div>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:TemplateField ControlStyle-CssClass="width225">
                                                        <ItemTemplate>
                                                            <div class="width225">
                                                                <%# Eval("SectionName") %>
                                                            </div>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:TemplateField ControlStyle-CssClass="width225">
                                                        <ItemTemplate>
                                                            <div class="width225">
                                                                <%# Eval("GroupName")%>
                                                            </div>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                </Columns>
                                            </asp:GridView>
                                            <asp:GridView ID="gvVisFilter" CellSpacing="0" CellPadding="0" ShowHeader="False"

                                                runat="server" DataKeyNames="VisitorID" Visible="False" OnRowDataBound="gvVisFilter_RowDataBound_E55">
                                                <Columns>
                                                <asp:TemplateField ControlStyle-CssClass="width300">
                                                        <ItemTemplate>

                                                                <%# Eval("Cardnumber") %>

                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:TemplateField HeaderText="">
                                                        <ItemTemplate>
                                                            <div class="width300">
                                                                <%# Eval("Name") %>
                                                            </div>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:TemplateField HeaderText="">
                                                        <ItemTemplate>
                                                            <div class="width300">
                                                                <%# Eval("FirstName") %>
                                                            </div>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <%--<asp:TemplateField>
                                                        <ItemTemplate>
                                                            <div class="width125">
                                                                <%# String.Format("{0:00000000}", Eval("VisitorID"))%>
                                                            </div>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>--%>
                                                    <asp:TemplateField>
                                                        <ItemTemplate>
                                                            <div class="width225">
                                                                fgf<%# Eval("Reference") %></div>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:TemplateField>
                                                        <ItemTemplate>
                                                            <div class="width225">
                                                                <%# Eval("Company") %>
                                                            </div>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                </Columns>
                                            </asp:GridView>
                                        </asp:Panel>
                                        <%--</div>--%>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <table width="996px" class="positionfixed">
                                            <tr>
                                                <asp:HiddenField ID="Min" runat="server" Value="0" />
                                                <asp:HiddenField ID="Max" runat="server" Value="0" />
                                                <asp:HiddenField ID="TotalRecords" runat="server" Value="0" />
                                                <td align="right" valign="middle" class="width800">
                                                    <%--<asp:Label runat="Server" ID="lblpages" CssClass="width700 success-msg"></asp:Label>--%>
                                                </td>
                                                <td align="right" valign="middle">
                                                   <%-- <asp:Label runat="Server" ID="Label2" CssClass="width800 success-msg"></asp:Label>--%>
                                                   <asp:Label runat="Server" ID="lblpages" CssClass="width700 success-msg"></asp:Label>&nbsp;&nbsp;
                                                    <asp:ImageButton ID="imgbtnFilterFirst" SkinID="NavigateFirst" runat="server" ToolTip="<%$Resources:Strings,rcNavigateFirst_0023%>"

                                                        CommandArgument="First" OnClick="ImageButtonSearchNavigation_Click_E47" />&nbsp;
                                                    <asp:ImageButton ID="imgbtnFilterPrev" SkinID="NavigatePrevious" runat="server" ToolTip="<%$Resources:Strings,rcNavigatePrevious_0023%>"

                                                        CommandArgument="Previous" OnClick="ImageButtonSearchNavigation_Click_E47" />&nbsp;
                                                    <asp:ImageButton ID="imgbtnFilterNext" SkinID="NavigateNext" runat="server" ToolTip="<%$Resources:Strings,rcNavigateNext_0023%>"

                                                        CommandArgument="Next" OnClick="ImageButtonSearchNavigation_Click_E47" />&nbsp;
                                                    <asp:ImageButton ID="imgbtnFilterLast" SkinID="NavigateLast" runat="server" ToolTip="<%$Resources:Strings,rcNavigateLast_0023%>"

                                                        CommandArgument="Last" OnClick="ImageButtonSearchNavigation_Click_E47" />&nbsp;
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>
                            </table>
                        </ContentTemplate>
                    </asp:UpdatePanel>
                </ContentTemplate>
            </asp:UpdatePanel>
            <%-- End of the Find Employee(s) popup--%>
        </div>
    </form>





additional information copied from comment below

I have found one solution for this problem

in my code enablepartialrendering for script manager is true





additional information copied from comment below
I have found one solution for this problem
in my code enablepartialrendering for script manager is true

<asp:ScriptManager ID="ScriptManager1" runat="server" EnableScriptGlobalization="true"
            EnableScriptLocalization="true" EnablePartialRendering="true" LoadScriptsBeforeUI="true"
            ScriptMode="release">







when i do enablepartialrendering = \"false\". then this error is not coming .



but if enablepartialrendering =\"false\" then complete page postback to the server i.e full page get refresh.



so this is not a good solution for it. kindly provide a suitable solution for this problem.




when i do enablepartialrendering = "false". then this error is not coming .

but if enablepartialrendering ="false" then complete page postback to the server i.e full page get refresh.

so this is not a good solution for it. kindly provide a suitable solution for this problem.

推荐答案

Resources:Strings, rc_ProgressLabel_0023%>\" />
</ProgressTemplate>
</asp:UpdateProgress>
</td>
</tr>
<tr>
<td width=\"2\">
</td>
<td colspan=\"2\">
<asp:UpdatePanel ID=\"upnlFilterMain\" runat=\"server\" UpdateMode=\"Conditional\">
<ContentTemplate>
<asp:HiddenField ID=\"txtname\" runat=\"server\" Value=\"gvFilterMain_ctl02_txtFindVal1\" />
<table cellpadding=\"1\" cellspacing=\"1\">
<tr>
<td width=\"1\">
</td>
<td class=\"width70\">
</td>
<td style=\"padding-left:5px\">
<asp:DropDownList ID=\"ddlSavedFilter\" AutoPostBack=\"true\" OnSelectedIndexChanged=\"ddlSavedFilter_SelectedIndexChanged_E45\"

SkinID=\"ddl4filter\" runat=\"server\" />
</td>
<td style=\"padding-left:2px\">
<asp:TextBox ID=\"txtSave\" runat=\"server\" SkinID=\"txt4filtername\" MaxLength=\"50\" ToolTip=\"<%
Resources:Strings, rc_ProgressLabel_0023%>" /> </ProgressTemplate> </asp:UpdateProgress> </td> </tr> <tr> <td width="2"> </td> <td colspan="2"> <asp:UpdatePanel ID="upnlFilterMain" runat="server" UpdateMode="Conditional"> <ContentTemplate> <asp:HiddenField ID="txtname" runat="server" Value="gvFilterMain_ctl02_txtFindVal1" /> <table cellpadding="1" cellspacing="1"> <tr> <td width="1"> </td> <td class="width70"> </td> <td style="padding-left:5px"> <asp:DropDownList ID="ddlSavedFilter" AutoPostBack="true" OnSelectedIndexChanged="ddlSavedFilter_SelectedIndexChanged_E45" SkinID="ddl4filter" runat="server" /> </td> <td style="padding-left:2px"> <asp:TextBox ID="txtSave" runat="server" SkinID="txt4filtername" MaxLength="50" ToolTip="<%


Resources :Strings ,rcSaveFilter_0023 %>\" />
</td>
<td>
<asp:Button runat=\"server\" ID=\"btnSave\" SkinID=\"popupbtn\" CommandName=\"SaveFilter\"

Text=\"<%
Resources :Strings ,rcSaveFilter_0023 %>" /> </td> <td> <asp:Button runat="server" ID="btnSave" SkinID="popupbtn" CommandName="SaveFilter" Text="<%


Resources:Strings, rcSave_0023%>\" OnClick=\"btnSave_Click\" /></td>
<td width=\"12\">
</td>
<td >
<asp:Button ID=\"btnDelete\" runat=\"server\" OnClick=\"btnDelete_Click\" SkinID=\"popupbtn\" CommandName=\"DeleteFilter\"

< span class =code-attribute> < span class=\"code-attribute\"> Text=\"<%
Resources:Strings, rcSave_0023%>" OnClick="btnSave_Click" /></td> <td width="12"> </td> <td > <asp:Button ID="btnDelete" runat="server" OnClick="btnDelete_Click" SkinID="popupbtn" CommandName="DeleteFilter" Text="<%


这篇关于IE 10-11中的问题在iis上托管Web应用程序时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆