sometimes clients get : viewstate invalid error , anyone knows why ?

E

Ersin Gençtürk

Server : WEB
System.Web.HttpUnhandledException: Exception of type
System.Web.HttpUnhandledException was thrown. ---> System.Web.HttpException:
The View State is invalid for this page and might be corrupted.
at System.Web.UI.Page.LoadPageStateFromPersistenceMedium()
at System.Web.UI.Page.LoadPageViewState()
at System.Web.UI.Page.ProcessRequestMain()
--- End of inner exception stack trace ---
at System.Web.UI.Page.HandleError(Exception e)
at System.Web.UI.Page.ProcessRequestMain()
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at System.Web.CallHandlerExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&
completedSynchronously)

ALL_HTTP: HTTP_CACHE_CONTROL:no-cache HTTP_CONNECTION:Keep-Alive
HTTP_CONTENT_LENGTH:171920
HTTP_CONTENT_TYPE:application/x-www-form-urlencoded
HTTP_ACCEPT:application/vnd.ms-excel, application/vnd.ms-powerpoint,
application/msword, application/x-shockwave-flash, image/gif,
image/x-xbitmap, image/jpeg, image/pjpeg, */* HTTP_ACCEPT_ENCODING:gzip,
deflate HTTP_ACCEPT_LANGUAGE:tr
HTTP_COOKIE:ASP.NET_SessionId=dmowwzb0l1ebbsanntjjin21;
..ASPXHONESt=FD258EA188BFF75184A48FB66CFFBDD4BC9C9BE9392CF0C00BF24983009F026B
4E5B6B6410926621FADA420392A989581ED00F7FC800AA3A5104A0529754830ADF24A9E8AFC0
3814 HTTP_HOST:kurumsal.horoz.com.tr
HTTP_REFERER:http://kurumsal.horoz.com.tr/honestnet/AnlasmaliMusteri/Vestel/
BayiNoSorgulama.aspx HTTP_USER_AGENT:Mozilla/4.0 (compatible; MSIE 6.0;
Windows 98)
ALL_RAW: Cache-Control: no-cache Connection: Keep-Alive Content-Length:
171920 Content-Type: application/x-www-form-urlencoded Accept:
application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword,
application/x-shockwave-flash, image/gif, image/x-xbitmap, image/jpeg,
image/pjpeg, */* Accept-Encoding: gzip, deflate Accept-Language: tr Cookie:
ASP.NET_SessionId=dmowwzb0l1ebbsanntjjin21;
..ASPXHONESt=FD258EA188BFF75184A48FB66CFFBDD4BC9C9BE9392CF0C00BF24983009F026B
4E5B6B6410926621FADA420392A989581ED00F7FC800AA3A5104A0529754830ADF24A9E8AFC0
3814 Host: kurumsal.horoz.com.tr Referer:
http://kurumsal.horoz.com.tr/honestnet/AnlasmaliMusteri/Vestel/BayiNoSorgula
ma.aspx User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows 98)
APPL_MD_PATH: /LM/W3SVC/1/Root/honestnet
APPL_PHYSICAL_PATH: C:\Inetpub\honestnet\
AUTH_TYPE: Forms
AUTH_USER: VESTEL
AUTH_PASSWORD:
LOGON_USER: VESTEL
REMOTE_USER: VESTEL
CERT_COOKIE:
CERT_FLAGS:
CERT_ISSUER:
CERT_KEYSIZE:
CERT_SECRETKEYSIZE:
CERT_SERIALNUMBER:
CERT_SERVER_ISSUER:
CERT_SERVER_SUBJECT:
CERT_SUBJECT:
CONTENT_LENGTH: 171920
CONTENT_TYPE: application/x-www-form-urlencoded
GATEWAY_INTERFACE: CGI/1.1
HTTPS: off
HTTPS_KEYSIZE:
HTTPS_SECRETKEYSIZE:
HTTPS_SERVER_ISSUER:
HTTPS_SERVER_SUBJECT:
INSTANCE_ID: 1
INSTANCE_META_PATH: /LM/W3SVC/1
LOCAL_ADDR: 10.0.0.10
PATH_INFO: /honestnet/AnlasmaliMusteri/Vestel/BayiNoSorgulama.aspx
PATH_TRANSLATED:
C:\Inetpub\honestnet\AnlasmaliMusteri\Vestel\BayiNoSorgulama.aspx
QUERY_STRING:
REMOTE_ADDR: 81.212.240.94
REMOTE_HOST: 81.212.240.94
REQUEST_METHOD: POST
SCRIPT_NAME: /honestnet/AnlasmaliMusteri/Vestel/BayiNoSorgulama.aspx
SERVER_NAME: kurumsal.horoz.com.tr
SERVER_PORT: 80
SERVER_PORT_SECURE: 0
SERVER_PROTOCOL: HTTP/1.1
SERVER_SOFTWARE: Microsoft-IIS/5.0
URL: /honestnet/AnlasmaliMusteri/Vestel/BayiNoSorgulama.aspx
HTTP_CACHE_CONTROL: no-cache
HTTP_CONNECTION: Keep-Alive
HTTP_CONTENT_LENGTH: 171920
HTTP_CONTENT_TYPE: application/x-www-form-urlencoded
HTTP_ACCEPT: application/vnd.ms-excel, application/vnd.ms-powerpoint,
application/msword, application/x-shockwave-flash, image/gif,
image/x-xbitmap, image/jpeg, image/pjpeg, */*
HTTP_ACCEPT_ENCODING: gzip, deflate
HTTP_ACCEPT_LANGUAGE: tr
HTTP_COOKIE: ASP.NET_SessionId=dmowwzb0l1ebbsanntjjin21;
..ASPXHONESt=FD258EA188BFF75184A48FB66CFFBDD4BC9C9BE9392CF0C00BF24983009F026B
4E5B6B6410926621FADA420392A989581ED00F7FC800AA3A5104A0529754830ADF24A9E8AFC0
3814
HTTP_HOST: kurumsal.horoz.com.tr
HTTP_REFERER:
http://kurumsal.horoz.com.tr/honestnet/AnlasmaliMusteri/Vestel/BayiNoSorgula
ma.aspx
HTTP_USER_AGENT: Mozilla/4.0 (compatible; MSIE 6.0; Windows 98)
 
E

Ersin Gençtürk

Thanks Saravana , I looked them but all these 3 scenarios doesn't match our
situation.We get this error sometimes from our clients.We doesn't change
anything, any other ideas ?
 
C

Charlie Nilsson [MSFT]

There are (as you read already) many reasons for viewstate invalid errors.
And it would be hard to diagnose the problem without reading your code
directly. Some things you may look into:

- Are these happening on the same page?
- Are you using a lot of Javascript in your pages that may modify form
values?
- Are you using a server farm with a load balancer or session forwarder?
(and possibly the request is hitting a different server?)
- Are your clients using the same browser? Or are you seeing these errors
from the same browser/version?


Charlie Nilsson [msft]
Visual Studio Update

--

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm

Note: For the benefit of the community-at-large, all responses to this
message are best directed to the newsgroup/thread from which they
originated.
--------------------
 
E

Ersin Gençtürk

we get only one error (at that page) and wondering why happened ?

we use jscript code to make dhtml operations on pages.these scripts are in
user controls and used in every page.but we dont touch viewstate field.we
dont use a server farm or session forwarder.we just have one server for
now.clients are using different browsers but client which is having error 's
browser was ie.

if new errors happenes I will make you know.



Charlie Nilsson said:
There are (as you read already) many reasons for viewstate invalid errors.
And it would be hard to diagnose the problem without reading your code
directly. Some things you may look into:

- Are these happening on the same page?
- Are you using a lot of Javascript in your pages that may modify form
values?
- Are you using a server farm with a load balancer or session forwarder?
(and possibly the request is hitting a different server?)
- Are your clients using the same browser? Or are you seeing these errors
from the same browser/version?


Charlie Nilsson [msft]
Visual Studio Update

--

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm

Note: For the benefit of the community-at-large, all responses to this
message are best directed to the newsgroup/thread from which they
originated.
--------------------
From: "Ersin Gençtürk" <[email protected]>
References: <#r5#[email protected]>
Subject: Re: sometimes clients get : viewstate invalid error , anyone knows why ?
Date: Fri, 27 Jun 2003 14:21:43 +0300
Lines: 151
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2720.3000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Message-ID: <[email protected]>
Newsgroups: microsoft.public.dotnet.framework.aspnet
NNTP-Posting-Host: horozlojistik.com.tr 212.58.24.140
Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftngp13.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:155391
X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet

Thanks Saravana , I looked them but all these 3 scenarios doesn't match our
situation.We get this error sometimes from our clients.We doesn't change
anything, any other ideas ?
ASPXHONESt=FD258EA188BFF75184A48FB66CFFBDD4BC9C9BE9392CF0C00BF24983009F026B4E5B6B6410926621FADA420392A989581ED00F7FC800AA3A5104A0529754830ADF24A9E8AFC0HTTP_REFERER:http://kurumsal.horoz.com.tr/honest...nestnet/AnlasmaliMusteri/Vestel/BayiNoSorgula
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top