Click here to Skip to main content
15,885,906 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
See more:
Hi All,

I m developing a web application where i have one gridview. That gridview is continuously refreshes.Gridview has one column having textbox and also one column having button.

Now my problem is, i can write inside textbox as the gridview is in updatepanel.but as gridview continuously refreshing, so when i click on button of gridview it throws an error as under
Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while
processing the request on the server. The status code returned from the server was: 12029

Please be needful.I am waiting for the answer and also if any other control that anyone can suggest me.

Thanks
Posted
Updated 3-Jan-12 19:37pm
v2

Can you please check below points
1) check the time out value in web.config
XML
<authentication mode="Forms">
            <forms loginUrl="Users_Login.aspx" timeout="555555555"/>
        </authentication>


2) can you also verify on clicking on the button if authentication exists for the user. Like are you still getting is authenticated as true

3) Further you can write some thing like below code to check what exactly is the reason for the error
VB
Protected Sub ScriptManager1_AsyncPostBackError(ByVal sender As Object, ByVal e As Microsoft.Web.UI.AsyncPostBackErrorEventArgs) Handles ScriptManager1.AsyncPostBackError
      Dim conn As New SqlConnection
      Try
         conn.ConnectionString = ConfigurationManager.ConnectionStrings("ApplicationDatabase").ConnectionString
         Dim comm As SqlCommand = conn.CreateCommand
         comm.CommandText = "AjaxRecordError"
         comm.CommandType = CommandType.StoredProcedure
         comm.Parameters.AddWithValue("exMessage", e.Exception.Message)
         comm.Parameters.AddWithValue("exStack", e.Exception.StackTrace)
         comm.Parameters.AddWithValue("exSource", e.Exception.Source)
         comm.Parameters.AddWithValue("exServerName", Server.MachineName)
         comm.Parameters.AddWithValue("date", DateTime.UtcNow)
         comm.Parameters.AddWithValue("ip", Request.UserHostAddress)
         conn.Open()
         comm.ExecuteNonQuery()
      Catch ex As Exception
      Finally
         conn.Close()
      End Try

Please let us know the result or in case you find any other possible solution as well....
 
Share this answer
 
v2
Fix link

ASP.NET AJAX 1.0 RTM Bug[^]
EDIT

Based on the error code 12029
12029 ERROR_INTERNET_CANNOT_CONNECT
The attempt to connect to the server failed.
So check your settings (connection ,firewall, etc.,)
Or I think you are getting timeout. So increase the the value for script time out in web.config
 
Share this answer
 
v2
Comments
Ankit At Codeproject 4-Jan-12 1:06am    
Sorry i tried above but the same error still
thatraja 4-Jan-12 1:16am    
Check updated answer
Hi!

I don't speak English. I'm brazilian.
I removed this: ´
My city: Criciúma.
I removed ´ and my city: Criciuma.
No more ú.

For error 12029. Remove ´ or other.
Ok?
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900