Advertisement

05.03.2007 at 01:20PM PDT, ID: 22551501
[x]
Attachment Details

ASP .NET AJAX Error "Sys.WebForms.PageRequestManagerServerErrorException"

Asked by zx10r in Miscellaneous Web Development, Active Server Pages (ASP)

Tags: 500, error

Hello. I receive the folowing error and it seems to have something to do with AJAX.

Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occured while processing the request on the server. The status code retirned by the server was: 500.

Here is the code used on the page. It is really simple and the page works fine if i run it in Visual Studio. As soon as i try to access it through the web i get the error above.

Protected Sub ImageButton1_Click(ByVal sender As Object, ByVal e As System.Web.UI.ImageClickEventArgs)
lblError.Text = ""
        If Page.IsValid = False Then
            Exit Sub
        End If

        Session("Advisor ID") = txtUID.Text
        Session("Advisor Pass") = txtPWD.Text
        Dim dv As DataView = CType(dsLogin.Select(DataSourceSelectArguments.Empty), DataView)

        If dv.Count >= 1 Then
            lblError.Text = "Success......"
            Response.Redirect("Main.aspx")
        Else
            lblError.Text = "Incorrect ID or password. Please reenter and try again . . ."
        End If
End SubStart Free Trial
[+][-]05.24.2007 at 08:48PM PDT, ID: 19154654

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Miscellaneous Web Development, Active Server Pages (ASP)
Tags: 500, error
Sign Up Now!
Solution Provided By: ddrudik
Participating Experts: 1
Solution Grade: A
 
 
[+][-]06.23.2007 at 08:48PM PDT, ID: 19349855

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]06.29.2007 at 08:36AM PDT, ID: 19390723

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32