473,395 Members | 1,941 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

viewstate promlem on server2003/iis6

hi,

I have an ASP.NET application functioning properly on Windows 2000/iis5,
built using Visual Studio 2003.
The application use viewstate.
when move the application to other computer using server2003/iis6
the viewstate didn't work.

when I compare between the received html from Windows 2000/iis5 and
server2003/iis6
I found that while on Windows 2000/iis5 the view state is OK:

<input type="hidden" name="__VIEWSTATE"
value="dDwxMTQxMzgyODk1O3Q8cDxsPFVuaXRJ........
....few lines........3pyR6IzagTrgW69mqWK24s1Z4O" ID="Hidden3"/>
on server2003/iis6 its look like this :

<input type="hidden" name="__VIEWSTATE"
value="dDwxMTQxMzgyODk1Ozs+UgirENAR/yDk3H+gy/n71BSG018="
ID="Hidden3"/>

much much shorter and different!,
is anyone can help me?
thanks
amihai

Nov 19 '05 #1
2 1392
What are you trying to do with the viewstate? The server should handle it on
its own. You shouldn't mess with it. As for the size, I think there's a
certain amount of randomness in the viewstate (or at least its validation
key) so I wouldn't expect it to be identical from machine to machine.

http://msdn.microsoft.com/library/de...sp11222001.asp
"Amihai" <Am****@discussions.microsoft.com> wrote in message
news:E8**********************************@microsof t.com...
hi,

I have an ASP.NET application functioning properly on Windows 2000/iis5,
built using Visual Studio 2003.
The application use viewstate.
when move the application to other computer using server2003/iis6
the viewstate didn't work.

when I compare between the received html from Windows 2000/iis5 and
server2003/iis6
I found that while on Windows 2000/iis5 the view state is OK:

<input type="hidden" name="__VIEWSTATE"
value="dDwxMTQxMzgyODk1O3Q8cDxsPFVuaXRJ........
...few lines........3pyR6IzagTrgW69mqWK24s1Z4O" ID="Hidden3"/>
on server2003/iis6 its look like this :

<input type="hidden" name="__VIEWSTATE"
value="dDwxMTQxMzgyODk1Ozs+UgirENAR/yDk3H+gy/n71BSG018="
ID="Hidden3"/>

much much shorter and different!,
is anyone can help me?
thanks
amihai


Nov 19 '05 #2
thanks ken for your help,
but all i do with the viewstate is save some int variables and its work
perfect till i try it on server2003/iis6 and found that my properties (using
the viewstate) is return 0 which happens only if the viewstate is null, only
then i checked the html and found not only they different but also on
server2003/iis6
the value of the viewstate is only a few characters while it sould have been
few long lines,
so this have make me belive that i might have some wrong configoration or
others problems that do'nt care what use i do with the viewstate.
Nov 19 '05 #3

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

Similar topics

0
by: Tim Tyler | last post by:
Windows Server2003 IIS SMTP Installed PHP VERSION: 4.3.3 Using Invision Power Board Mail sent from the IPB using PHP mail() ... (which is configured in php.ini to use...
1
by: Claus Haslauer | last post by:
Hi, firstly, I am new to access03 and server03 Originally, I had written an access 2002 database. Then, we transferred (for another reason) to server 2003. Then, we got access 2003. Then I...
9
by: John Kirksey | last post by:
I have a page that uses an in-place editable DataGrid that supports sorting and paging. EnableViewState is turned ON. At the top of the page are several search fields that allow the user to filter...
0
by: Sharon | last post by:
When i try to install my asp net web application on server 2003, it prompts me this error: The specified path 'http://server2003/clinic' is unavailable. The internet Information Server might not...
0
by: Kote | last post by:
Hello, I've got a strange problem - all extensions on my IIS6 are mapped to asp.net, and I've got an HttpHandler that supposed to get all the calls. I also use custom form that is derived from...
5
by: Dominic | last post by:
My question is about how to maintain view state in mobile ASP.NET across postback / request in a web farm environment. First of all, let's assume the web-farm does NOT use stick-session feature....
2
by: Andrew Wan | last post by:
Okay, this is really weird. We have two Windows 2003 Server SP1 PCs. One hosts IIS6 website, and the other hosts our DCOM service program. Our website is ASP/XSL. An ASP page uses...
1
by: bitsmilan | last post by:
I can access my site in Local PC, but i cant access it in server 2003.. A page which ha not asp code can run successfully but a page contains asp code is not execute at that time. It stops the...
2
by: =?Utf-8?B?c3RldmV3YQ==?= | last post by:
Microsoft VBScript runtime error '800a0046' Permission denied ======================= Trying to find the solution is driving me crazy. Using IIS6 on Server2003 SBS Default website localhost...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
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,...

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.