We help IT Professionals succeed at work.
Get Started

Page Error

DowntownIT asked
Last Modified: 2012-05-12
I am getting the following error and have no idea where to start looking. Also you should know that this page is ran in a 3rd party app and this is where I get the error. In debug and if I hit the page directly I do not get the error. The app returns this User-Agent header from a trace.

Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/5.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; MDDR; InfoPath.3)

 Script Error

<%@ Page Language="VB" CodeFile="PerformancePositions.aspx.vb" Inherits="PerformancePositions" MasterPageFile="MasterPage.master" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:Content ID="content2" ContentPlaceHolderID="cphPageTitle" runat="server">
    <asp:Label ID="lblcontTitle" Text="Position Manager" runat="server" Font-Bold="true"
        Font-Size="36px" ForeColor="#8B0020"> </asp:Label>
<asp:Content ID="Content1" ContentPlaceHolderID="cphMain" runat="server">
            <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server"  EnablePartialRendering="False">
    <asp:Label ID="lbPerfType" runat="server" Text=""></asp:Label>
    <div id="dvOuter" runat="server">
        <div id="divMain">

        <asp:UpdatePanel ID="UpdatePanel2" runat="server">
                <asp:Label ID="lblError" runat="server" ForeColor="Red"></asp:Label>
                <br />
                <asp:Label ID="lbPointsAssigned" runat="server" ForeColor="#FF3300" Visible="False"></asp:Label>
                <br />
                <br />
                <table style="width: 100%;">
                        <td class="style1" colspan="4">
                                Number of rows per page:
                                <asp:TextBox ID="txtBoxNumberofPages" runat="server" Width="32px">15</asp:TextBox>
                                <asp:LinkButton ID="lbRefresh" runat="server">Refresh</asp:LinkButton>
                                <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txtBoxNumberofPages"
                                    ErrorMessage="Only numbers are allowed" SetFocusOnError="True" ValidationExpression="^\d+$"
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtBoxNumberofPages"
                                    ErrorMessage="Number of rows is required" SetFocusOnError="True"></asp:RequiredFieldValidator>
                        <td valign="top" class="style2">
                        <td valign="top">
                        <td class="style1" colspan="2" rowspan="2">
                            <i><span class="style4">Confirm(C) Confirm the Ambassador for the event</span></i><br />
                            <i><span class="style4">Assign(A) Assign the Ambassador to a position</span></i><br />
                            <i><span class="style4">Request(R) Move the Ambassador to requested</span></i><br />
                            <i><span class="style4">Waiting List(W) Move the Ambassador to the Waiting List</span></i><br />
                            <i><span class="style4">Clear(D) Clear new position</span></i>
                        <td valign="top" class="style2" rowspan="2">
                        <td align="center" class="style2" valign="top">
                            <asp:Button ID="cmdMoveToRequested" runat="server" Text="Not Needed" CssClass="TessiButton" />
                            <i><span class="style4">
                                <br />
                                <span class="style5">Warning: This will move all requested to not needed</span></span></i>
                        <td valign="top" rowspan="2">
                        <td rowspan="2">
                        <td class="style2" valign="top">
                    <tr class="tessitura">
                        <td class="style1" valign="top" colspan="4">
                                <asp:GridView ID="GridView1" runat="server" Width="775px" OnPageIndexChanging="GridView1_PageIndexChanging"
                                    AllowPaging="True" Font-Size="10pt" AllowSorting="True" OnSorting="gridView_Sorting"
                                        <asp:ButtonField ButtonType="Link" Text="C" CommandName="Move_To_Confirm" />
                                        <asp:ButtonField CommandName="Assign_To_Position" Text="A" />
                                        <asp:ButtonField CommandName="move_to_requested" Text="R" />
                                        <asp:ButtonField CommandName="Move_To_Wait" Text="W" />
                                        <asp:ButtonField CommandName="clear" Text="D" />
                                    <SelectedRowStyle BackColor="#FFFF99" />
                                    <AlternatingRowStyle CssClass="TessiGridAltRow" />
                            <br />
                        <td valign="top" rowspan="1" class="tessitura" height="230px">
                                    <asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True" CssClass="TessiDropDown">
                                    <br />
                                    <asp:ListBox ID="ListBox1" runat="server" Height="220px" Font-Size="10pt" CssClass="TessiListBox">
                        <td class="style6" valign="top">
                            <asp:Button ID="cmdSubmitChanges" runat="server" Text="Submit Changes" 
                                CssClass="TessiButton" />
                            <asp:UpdateProgress ID="UpdateProgress1" runat="server">
                                    <div id="IMGDIV" align="center" valign="middle" runat="server" style="position: absolute;
                                        left: 45%; top: 75%; visibility: visible;">
                                        <img src="Images/progress_gif.gif" alt="" style="width: 56px; height: 49px" /><br />
                        <td valign="top">
                        <td valign="top" colspan="2">
                            <asp:Label ID="lblWarning" runat="server" Font-Bold="True" Font-Size="Large"></asp:Label>
        <!-- End UpdatePanel2 -->
        <asp:Label ID="lblTest1" runat="server"></asp:Label>
        <br />
        <asp:Label ID="lblTest2" runat="server"></asp:Label>
        <br />
        <br />
        <asp:CheckBox ID="CheckBox1" runat="server" Text="Delete all Seats" Visible="false" />

    <script type="text/javascript">

        function startRequest(sender, e) {
            //disable button during the AJAX call
            document.getElementById('<%=cmdSubmitChanges.ClientID%>').disabled = true;
            document.getElementById('<%=cmdSubmitChanges.ClientID%>').value = 'Updating Records...';
            document.getElementById('<%=cmdMoveToRequested.ClientID%>').disabled = true;
            document.getElementById('<%=cmdMoveToRequested.ClientID%>').value = 'Updating Records...';

        function endRequest(sender, e) {
            //re-enable button once the AJAX call has completed
            document.getElementById('<%=cmdSubmitChanges.ClientID%>').disabled = false;
            document.getElementById('<%=cmdSubmitChanges.ClientID%>').value = 'Submit Changes';
            document.getElementById('<%=cmdMoveToRequested.ClientID%>').disabled = false;
            document.getElementById('<%=cmdMoveToRequested.ClientID%>').value = 'Not Needed';


<asp:Content ID="Content3" runat="server" contentplaceholderid="head">
    <style type="text/css">
            font-size: small;

Open in new window

Watch Question
This problem has been solved!
Unlock 1 Answer and 11 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE