Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# ASP.NET
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 3-Jan-12 19:51pm
Edited 3-Jan-12 20:37pm
Mehdi Gholam249.7K
v2
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

Can you please check below points
1) check the time out value in web.config
<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
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....
  Permalink  
v2
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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
  Permalink  
v2
Comments
Ankit At Codeproject at 4-Jan-12 1:06am
   
Sorry i tried above but the same error still
thatraja at 4-Jan-12 1:16am
   
Check updated answer
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

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?
  Permalink  

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

  Print Answers RSS
0 OriginalGriff 587
1 Sergey Alexandrovich Kryukov 479
2 Maciej Los 305
3 Mathew Soji 195
4 Richard MacCutchan 145
0 OriginalGriff 7,356
1 Sergey Alexandrovich Kryukov 6,712
2 DamithSL 5,461
3 Manas Bhardwaj 4,916
4 Maciej Los 4,475


Advertise | Privacy | Mobile
Web01 | 2.8.1411023.1 | Last Updated 29 Apr 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100