473,554 Members | 3,166 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ERROR: The state information is invalid for this page and might be corrupted

I am recieving the following error on the second postback of a page I have
written:
The state information is invalid for this page and might be corrupted

Stack Trace:

[FormatException : Invalid character in a Base-64 string.]
System.Convert. FromBase64Strin g(String s) +0
System.Web.UI.O bjectStateForma tter.Deserializ e(String inputString) +72
System.Web.UI.O bjectStateForma tter.System.Web .UI.IStateForma tter.Deserializ e(String
serializedState ) +4
System.Web.UI.U til.Deserialize WithAssert(ISta teFormatter formatter,
String serializedState ) +37
System.Web.UI.H iddenFieldPageS tatePersister.L oad() +140

[ViewStateExcept ion: Invalid viewstate.
Client IP: 156.12.154.213
Port: 4212
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET
CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)
ViewState:
/wEPDwUKMTU5MTA2 ODYwOWRkss85+lC wdpXAiRIXg3K0QP iFDCk=,/wEPDwUJNzM0NTM2 OTI4ZGR70CFkynU OZFCdEqpCi5JMYQ iXmw==
Referer: http://www.nathansokalski.com/screenscraper.aspx
Path: /screenscraper.a spx]

[HttpException (0x80004005): The state information is invalid for this page
and might be corrupted.]
System.Web.UI.V iewStateExcepti on.ThrowError(E xception inner, String
persistedState, String errorPageMessag e, Boolean macValidationEr ror) +116
System.Web.UI.H iddenFieldPageS tatePersister.L oad() +240
System.Web.UI.P age.LoadPageSta teFromPersisten ceMedium() +83
System.Web.UI.P age.LoadAllStat e() +35
System.Web.UI.P age.ProcessRequ estMain(Boolean
includeStagesBe foreAsyncPoint, Boolean includeStagesAf terAsyncPoint) +6953
System.Web.UI.P age.ProcessRequ est(Boolean includeStagesBe foreAsyncPoint,
Boolean includeStagesAf terAsyncPoint) +154
System.Web.UI.P age.ProcessRequ est() +86
System.Web.UI.P age.ProcessRequ estWithNoAssert (HttpContext context) +18
System.Web.UI.P age.ProcessRequ est(HttpContext context) +49
ASP.screenscrap er_aspx.Process Request(HttpCon text context) +4
System.Web.Call HandlerExecutio nStep.System.We b.HttpApplicati on.IExecutionSt ep.Execute()
+154
System.Web.Http Application.Exe cuteStep(IExecu tionStep step, Boolean&
completedSynchr onously) +64

--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.507 27.42; ASP.NET
Version:2.0.507 27.210

The page is supposed to allow you to enter a URL and then display that page
below the small form that is in my code, which is as follows:
ScreenScraper.a spx:

<%@ Page Language="vb" AutoEventWireup ="false"
CodeBehind="Scr eenScraper.aspx .vb" Inherits="WebAp plication1.Scre enScraper"
EnableViewState ="false" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dt d">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>ScreenSc raper</title>
</head>
<body>
<form id="form1" runat="server">
<asp:TextBox ID="txtSourcePa th" runat="server" Width="800px"/>
<asp:Button ID="btnGetSourc e" runat="server" Font-Bold="True"
Text="Get Source" Width="85px"/><br/><br/>
<asp:Label ID="lblSource" runat="server"/>
</form>
</body>
</html>
ScreenScraper.a spx.vb:

Partial Public Class ScreenScraper : Inherits System.Web.UI.P age
Protected Sub btnGetSource_Cl ick(ByVal sender As System.Object, ByVal e
As System.EventArg s) Handles btnGetSource.Cl ick
Dim source As New System.Net.WebC lient()
Dim utf8 As New System.Text.UTF 8Encoding()
lblSource.Text =
utf8.GetString( source.Download Data(txtSourceP ath.Text))
End Sub
End Class
Most of the web pages I could find about this error said it was related to
ViewState, but my *.aspx file has EnableViewState ="false" in the Page
directive. My code works fine with every URL I have tried it with when it is
the first URL I try, but the second one always gives me the error shown
above. I tried everything I could think of, but nothing seemed to help.
Although it may not be sufficient for other applications or pages, for this
page just having a way to make it act as if it being opened for the first
time would make it work (kind of like a reset or restart command?). Thanks.
--
Nathan Sokalski
nj********@hotm ail.com
http://www.nathansokalski.com/
Dec 9 '06 #1
3 8695
Nathan,

have you tried checking for IsPostback in the Page_Load event ?

i.e., let the code run if it's *not* a Postback and if it *is* a Postback, not let it run.

Sub Page_Load

If Not IsPostBack
' your screen scrape code

End If
End Sub

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
=============== =============== =====
"Nathan Sokalski" <nj********@hot mail.comwrote in message
news:O3******** ********@TK2MSF TNGP06.phx.gbl. ..
>I am recieving the following error on the second postback of a page I have written:
The state information is invalid for this page and might be corrupted

Stack Trace:

[FormatException : Invalid character in a Base-64 string.]
System.Convert. FromBase64Strin g(String s) +0
System.Web.UI.O bjectStateForma tter.Deserializ e(String inputString) +72
System.Web.UI.O bjectStateForma tter.System.Web .UI.IStateForma tter.Deserializ e(String
serializedState ) +4
System.Web.UI.U til.Deserialize WithAssert(ISta teFormatter formatter, String serializedState ) +37
System.Web.UI.H iddenFieldPageS tatePersister.L oad() +140

[ViewStateExcept ion: Invalid viewstate.
Client IP: 156.12.154.213
Port: 4212
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR
2.0.50727; .NET CLR 3.0.04506.30)
ViewState:
/wEPDwUKMTU5MTA2 ODYwOWRkss85+lC wdpXAiRIXg3K0QP iFDCk=,/wEPDwUJNzM0NTM2 OTI4ZGR70CFkynU OZFCdEqpCi5JMYQ iXmw==
Referer: http://www.nathansokalski.com/screenscraper.aspx
Path: /screenscraper.a spx]

[HttpException (0x80004005): The state information is invalid for this page and might be
corrupted.]
System.Web.UI.V iewStateExcepti on.ThrowError(E xception inner, String persistedState, String
errorPageMessag e, Boolean macValidationEr ror) +116
System.Web.UI.H iddenFieldPageS tatePersister.L oad() +240
System.Web.UI.P age.LoadPageSta teFromPersisten ceMedium() +83
System.Web.UI.P age.LoadAllStat e() +35
System.Web.UI.P age.ProcessRequ estMain(Boolean includeStagesBe foreAsyncPoint, Boolean
includeStagesAf terAsyncPoint) +6953
System.Web.UI.P age.ProcessRequ est(Boolean includeStagesBe foreAsyncPoint, Boolean
includeStagesAf terAsyncPoint) +154
System.Web.UI.P age.ProcessRequ est() +86
System.Web.UI.P age.ProcessRequ estWithNoAssert (HttpContext context) +18
System.Web.UI.P age.ProcessRequ est(HttpContext context) +49
ASP.screenscrap er_aspx.Process Request(HttpCon text context) +4
System.Web.Call HandlerExecutio nStep.System.We b.HttpApplicati on.IExecutionSt ep.Execute() +154
System.Web.Http Application.Exe cuteStep(IExecu tionStep step, Boolean& completedSynchr onously) +64

--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.507 27.42; ASP.NET Version:2.0.507 27.210

The page is supposed to allow you to enter a URL and then display that page below the small form
that is in my code, which is as follows:
ScreenScraper.a spx:

<%@ Page Language="vb" AutoEventWireup ="false" CodeBehind="Scr eenScraper.aspx .vb"
Inherits="WebAp plication1.Scre enScraper" EnableViewState ="false" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dt d">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>ScreenSc raper</title>
</head>
<body>
<form id="form1" runat="server">
<asp:TextBox ID="txtSourcePa th" runat="server" Width="800px"/>
<asp:Button ID="btnGetSourc e" runat="server" Font-Bold="True" Text="Get Source"
Width="85px"/><br/><br/>
<asp:Label ID="lblSource" runat="server"/>
</form>
</body>
</html>
ScreenScraper.a spx.vb:

Partial Public Class ScreenScraper : Inherits System.Web.UI.P age
Protected Sub btnGetSource_Cl ick(ByVal sender As System.Object, ByVal e As System.EventArg s)
Handles btnGetSource.Cl ick
Dim source As New System.Net.WebC lient()
Dim utf8 As New System.Text.UTF 8Encoding()
lblSource.Text = utf8.GetString( source.Download Data(txtSourceP ath.Text))
End Sub
End Class
Most of the web pages I could find about this error said it was related to ViewState, but my
*.aspx file has EnableViewState ="false" in the Page directive. My code works fine with every URL I
have tried it with when it is the first URL I try, but the second one always gives me the error
shown above. I tried everything I could think of, but nothing seemed to help. Although it may not
be sufficient for other applications or pages, for this page just having a way to make it act as
if it being opened for the first time would make it work (kind of like a reset or restart
command?). Thanks.
--
Nathan Sokalski
nj********@hotm ail.com
http://www.nathansokalski.com/


Dec 10 '06 #2
Other than the first time, doesn't it have to be a postback in order for
Page_Load to even get triggered? I know how to check whether something is a
postback, but since I am expecting this to always be a postback, I don't see
much point in checking since if btnGetSource_Cl ick is being called I know it
is a postback, since I never call btnGetSource_Cl ick from within the code.
If I am misunderstandin g your suggestion, could you try posting it? The code
that you posted would not let the user specify the URL, and it would only do
one screenscrape. Thanks.
--
Nathan Sokalski
nj********@hotm ail.com
http://www.nathansokalski.com/

"Juan T. Llibre" <no***********@ nowhere.comwrot e in message
news:uG******** ******@TK2MSFTN GP03.phx.gbl...
Nathan,

have you tried checking for IsPostback in the Page_Load event ?

i.e., let the code run if it's *not* a Postback and if it *is* a Postback,
not let it run.

Sub Page_Load

If Not IsPostBack
' your screen scrape code

End If
End Sub

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
=============== =============== =====
"Nathan Sokalski" <nj********@hot mail.comwrote in message
news:O3******** ********@TK2MSF TNGP06.phx.gbl. ..
>>I am recieving the following error on the second postback of a page I have
written:
The state information is invalid for this page and might be corrupted

Stack Trace:

[FormatException : Invalid character in a Base-64 string.]
System.Convert. FromBase64Strin g(String s) +0
System.Web.UI.O bjectStateForma tter.Deserializ e(String inputString) +72

System.Web.UI. ObjectStateForm atter.System.We b.UI.IStateForm atter.Deseriali ze(String
serializedStat e) +4
System.Web.UI.U til.Deserialize WithAssert(ISta teFormatter formatter,
String serializedState ) +37
System.Web.UI.H iddenFieldPageS tatePersister.L oad() +140

[ViewStateExcept ion: Invalid viewstate.
Client IP: 156.12.154.213
Port: 4212
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET
CLR 1.1.4322; .NET CLR
2.0.50727; .NET CLR 3.0.04506.30)
ViewState:
/wEPDwUKMTU5MTA2 ODYwOWRkss85+lC wdpXAiRIXg3K0QP iFDCk=,/wEPDwUJNzM0NTM2 OTI4ZGR70CFkynU OZFCdEqpCi5JMYQ iXmw==
Referer: http://www.nathansokalski.com/screenscraper.aspx
Path: /screenscraper.a spx]

[HttpException (0x80004005): The state information is invalid for this
page and might be
corrupted.]
System.Web.UI.V iewStateExcepti on.ThrowError(E xception inner, String
persistedState , String
errorPageMessa ge, Boolean macValidationEr ror) +116
System.Web.UI.H iddenFieldPageS tatePersister.L oad() +240
System.Web.UI.P age.LoadPageSta teFromPersisten ceMedium() +83
System.Web.UI.P age.LoadAllStat e() +35
System.Web.UI.P age.ProcessRequ estMain(Boolean
includeStagesB eforeAsyncPoint , Boolean
includeStagesA fterAsyncPoint) +6953
System.Web.UI.P age.ProcessRequ est(Boolean
includeStagesB eforeAsyncPoint , Boolean
includeStagesA fterAsyncPoint) +154
System.Web.UI.P age.ProcessRequ est() +86
System.Web.UI.P age.ProcessRequ estWithNoAssert (HttpContext context) +18
System.Web.UI.P age.ProcessRequ est(HttpContext context) +49
ASP.screenscrap er_aspx.Process Request(HttpCon text context) +4

System.Web.Cal lHandlerExecuti onStep.System.W eb.HttpApplicat ion.IExecutionS tep.Execute()
+154
System.Web.Http Application.Exe cuteStep(IExecu tionStep step, Boolean&
completedSynch ronously) +64

--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.507 27.42;
ASP.NET Version:2.0.507 27.210

The page is supposed to allow you to enter a URL and then display that
page below the small form
that is in my code, which is as follows:
ScreenScraper. aspx:

<%@ Page Language="vb" AutoEventWireup ="false"
CodeBehind="Sc reenScraper.asp x.vb"
Inherits="WebA pplication1.Scr eenScraper" EnableViewState ="false" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dt d">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>ScreenSc raper</title>
</head>
<body>
<form id="form1" runat="server">
<asp:TextBox ID="txtSourcePa th" runat="server" Width="800px"/>
<asp:Button ID="btnGetSourc e" runat="server" Font-Bold="True"
Text="Get Source"
Width="85px"/><br/><br/>
<asp:Label ID="lblSource" runat="server"/>
</form>
</body>
</html>
ScreenScraper. aspx.vb:

Partial Public Class ScreenScraper : Inherits System.Web.UI.P age
Protected Sub btnGetSource_Cl ick(ByVal sender As System.Object, ByVal
e As System.EventArg s)
Handles btnGetSource.Cl ick
Dim source As New System.Net.WebC lient()
Dim utf8 As New System.Text.UTF 8Encoding()
lblSource.Text =
utf8.GetString (source.Downloa dData(txtSource Path.Text))
End Sub
End Class
Most of the web pages I could find about this error said it was related
to ViewState, but my
*.aspx file has EnableViewState ="false" in the Page directive. My code
works fine with every URL I
have tried it with when it is the first URL I try, but the second one
always gives me the error
shown above. I tried everything I could think of, but nothing seemed to
help. Although it may not
be sufficient for other applications or pages, for this page just having
a way to make it act as
if it being opened for the first time would make it work (kind of like a
reset or restart
command?). Thanks.
--
Nathan Sokalski
nj********@hotm ail.com
http://www.nathansokalski.com/



Dec 10 '06 #3
re:
My code works fine with every URL I have tried it with when it is
the first URL I try, but the second one always gives me the error
Hi, Nathan.

I checked the page and what it produces is really curious.

I was able to get several pages in a row from my domain without problem.
Then I requested Microsoft's main page. No problem, either.
Then I requested Google's main page. It faulted with this error text :

---000---
Invalid postback or callback argument. Event validation is enabled using
<pages enableEventVali dation="true"/in configuration or
<%@ Page EnableEventVali dation="true" %in a page.

For security purposes, this feature verifies that arguments to postback or callback
events originate from the server control that originally rendered them.
If the data is valid and expected, use the ClientScriptMan ager.RegisterFo rEventValidatio n
method in order to register the postback or callback data for validation.
---000---

You might want to consider looking into that.

Also, I notice that you have different versions of the .Net Framework installed :
Version Information: Microsoft .NET Framework Version:2.0.507 27.42; ASP.NET Version:2.0.507 27.210
That could certainly be a problem in many scenarios,
including the ones in your post and my response.

It looks like you installed SBS or some other Windows 2003 server OS
which was running a beta version of ASP.NET (version 2.0.50727.210),
and when you upgraded to the RTM/release, some part of the setup didn't complete.

It would be highly advantageous for you to fully upgrade to the RTM version (2.0.50727.42).

Running aspnet_regiis -i should do it( from the .Net Framework 2.0 directory ),
if you don't have ASP.NET 1.1 apps running.

If you do have ASP.NET 1.1 apps running, you can re-register them with
aspnet_regiis -s ( from the .Net Framework 1.1 directory )

Remember to run 1.1 apps and 2.0 apps in different Application Pools.

Re your comment about it always being a postback, yes, you're right.
Sorry for misunderstandin g the purpose of the page.

Hope these comments help you sort the situation.

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
=============== =============== =====
"Nathan Sokalski" <nj********@hot mail.comwrote in message
news:Ow******** ******@TK2MSFTN GP04.phx.gbl...
Other than the first time, doesn't it have to be a postback in order for Page_Load to even get
triggered? I know how to check whether something is a postback, but since I am expecting this to
always be a postback, I don't see much point in checking since if btnGetSource_Cl ick is being
called I know it is a postback, since I never call btnGetSource_Cl ick from within the code. If I
am misunderstandin g your suggestion, could you try posting it? The code that you posted would not
let the user specify the URL, and it would only do one screenscrape. Thanks.
--
Nathan Sokalski
nj********@hotm ail.com
http://www.nathansokalski.com/

"Juan T. Llibre" <no***********@ nowhere.comwrot e in message
news:uG******** ******@TK2MSFTN GP03.phx.gbl...
>Nathan,

have you tried checking for IsPostback in the Page_Load event ?

i.e., let the code run if it's *not* a Postback and if it *is* a Postback, not let it run.

Sub Page_Load

If Not IsPostBack
' your screen scrape code

End If
End Sub

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
============== =============== ======
"Nathan Sokalski" <nj********@hot mail.comwrote in message
news:O3******* *********@TK2MS FTNGP06.phx.gbl ...
>>>I am recieving the following error on the second postback of a page I have written:
The state information is invalid for this page and might be corrupted

Stack Trace:

[FormatException : Invalid character in a Base-64 string.]
System.Convert. FromBase64Strin g(String s) +0
System.Web.UI.O bjectStateForma tter.Deserializ e(String inputString) +72

System.Web.UI .ObjectStateFor matter.System.W eb.UI.IStateFor matter.Deserial ize(String
serializedSta te) +4
System.Web.UI.U til.Deserialize WithAssert(ISta teFormatter formatter, String serializedState )
+37
System.Web.UI.H iddenFieldPageS tatePersister.L oad() +140

[ViewStateExcept ion: Invalid viewstate.
Client IP: 156.12.154.213
Port: 4212
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR
2.0.50727; .NET CLR 3.0.04506.30)
ViewState:
/wEPDwUKMTU5MTA2 ODYwOWRkss85+lC wdpXAiRIXg3K0QP iFDCk=,/wEPDwUJNzM0NTM2 OTI4ZGR70CFkynU OZFCdEqpCi5JMYQ iXmw==
Referer: http://www.nathansokalski.com/screenscraper.aspx
Path: /screenscraper.a spx]

[HttpException (0x80004005): The state information is invalid for this page and might be
corrupted.]
System.Web.UI.V iewStateExcepti on.ThrowError(E xception inner, String persistedState, String
errorPageMess age, Boolean macValidationEr ror) +116
System.Web.UI.H iddenFieldPageS tatePersister.L oad() +240
System.Web.UI.P age.LoadPageSta teFromPersisten ceMedium() +83
System.Web.UI.P age.LoadAllStat e() +35
System.Web.UI.P age.ProcessRequ estMain(Boolean includeStagesBe foreAsyncPoint, Boolean
includeStages AfterAsyncPoint ) +6953
System.Web.UI.P age.ProcessRequ est(Boolean includeStagesBe foreAsyncPoint, Boolean
includeStages AfterAsyncPoint ) +154
System.Web.UI.P age.ProcessRequ est() +86
System.Web.UI.P age.ProcessRequ estWithNoAssert (HttpContext context) +18
System.Web.UI.P age.ProcessRequ est(HttpContext context) +49
ASP.screenscrap er_aspx.Process Request(HttpCon text context) +4

System.Web.Ca llHandlerExecut ionStep.System. Web.HttpApplica tion.IExecution Step.Execute() +154
System.Web.Http Application.Exe cuteStep(IExecu tionStep step, Boolean& completedSynchr onously)
+64

--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.507 27.42; ASP.NET
Version:2.0.5 0727.210

The page is supposed to allow you to enter a URL and then display that page below the small form
that is in my code, which is as follows:
ScreenScraper .aspx:

<%@ Page Language="vb" AutoEventWireup ="false" CodeBehind="Scr eenScraper.aspx .vb"
Inherits="Web Application1.Sc reenScraper" EnableViewState ="false" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dt d">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>ScreenSc raper</title>
</head>
<body>
<form id="form1" runat="server">
<asp:TextBox ID="txtSourcePa th" runat="server" Width="800px"/>
<asp:Button ID="btnGetSourc e" runat="server" Font-Bold="True" Text="Get Source"
Width="85px "/><br/><br/>
<asp:Label ID="lblSource" runat="server"/>
</form>
</body>
</html>
ScreenScraper .aspx.vb:

Partial Public Class ScreenScraper : Inherits System.Web.UI.P age
Protected Sub btnGetSource_Cl ick(ByVal sender As System.Object, ByVal e As System.EventArg s)
Handles btnGetSource.Cl ick
Dim source As New System.Net.WebC lient()
Dim utf8 As New System.Text.UTF 8Encoding()
lblSource.Text = utf8.GetString( source.Download Data(txtSourceP ath.Text))
End Sub
End Class
Most of the web pages I could find about this error said it was related to ViewState, but my
*.aspx file has EnableViewState ="false" in the Page directive. My code works fine with every URL
I
have tried it with when it is the first URL I try, but the second one always gives me the error
shown above. I tried everything I could think of, but nothing seemed to help. Although it may
not
be sufficient for other applications or pages, for this page just having a way to make it act as
if it being opened for the first time would make it work (kind of like a reset or restart
command?). Thanks.
--
Nathan Sokalski
nj********@hotm ail.com
http://www.nathansokalski.com/

Dec 10 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
1472
by: Rob Reckless | last post by:
I'm creating a web application using c# and keep getting the following error: The viewstate is invalid for this page and might be corrupted. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
2
1763
by: sarvjeet Saini | last post by:
My application is working fine on our local server.We tried on two local servers for testing purpose. But when we host on our main server ,we got the following error: some it work Fine but not always... *********************************************************** Server Error in '/' Application. The viewstate is invalid for this page...
2
374
by: Thiago Temple | last post by:
I have a site that is is a web farm with 2 servers using road robin load balance... Sometimes when I submit a form the following error shows up. Does anyone know what to do?? I'm using the Framework 1.1 Thanks Thiago Server Error in '/' Application.
3
1867
by: yma | last post by:
Hi, I put a .aspx page inside Server.Transfer() within a button. The page was created for testing so it only has button and I did not add code. When I click the button, it gave me an error below. Could try this and help me? Thank a lot. --Chris Server Error in '/mysite/WebApplication1' Application....
2
3184
by: Vinod I | last post by:
Hi Team, When I tryed following code, I am getting the Runtime Error as "The View State is invalid for this page and might be corrupted." Exception Details: System.Web.HttpException: The View State is invalid for this page and might be corrupted. Stack Trace: System.Web.UI.Page.LoadPageStateFromPersistenceMedium() +150...
1
289
by: Hillary Hill | last post by:
I am getting the following error. Ths steps are 1. A Page with Datagrid and literal control. 2. View state is the default one for all the controls. (Not changed). 3. When user clicks the HTML button, I am redirecting the user to myNext.aspx page from the client side code as shown. document.frmForm.action="myNext.aspx";...
9
4904
by: Jamie | last post by:
I am receiving an Invalid ViewState error after posting back to the same page twice. Consistently the error occurs after the second postback and not after the first. I have looked into creating a static machinekey in the machine.config and that did not help. I believe that issue only occurred when there was an inconsistent viewstate...
0
1032
by: Michael | last post by:
Hi, Most of my site works fine. The problem is that when I try to log out I get an error: Server Error in '/MyApp' Application. -------------------------------------------------------------------------------- The state information is invalid for this page and might be corrupted.
3
3346
by: Nathan Sokalski | last post by:
I am recieving the following error on the second postback of a page I have written: The state information is invalid for this page and might be corrupted Stack Trace: System.Convert.FromBase64String(String s) +0
0
7512
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7783
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7547
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7879
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6129
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5426
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5144
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
1
2009
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
828
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.