473,665 Members | 2,798 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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="__VIEWSTA TE"
value="dDwxMTQx MzgyODk1O3Q8cDx sPFVuaXRJ...... ..
....few lines........3p yR6IzagTrgW69mq WK24s1Z4O" ID="Hidden3"/>
on server2003/iis6 its look like this :

<input type="hidden" name="__VIEWSTA TE"
value="dDwxMTQx MzgyODk1Ozs+Ugi rENAR/yDk3H+gy/n71BSG018="
ID="Hidden3"/>

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

Nov 19 '05 #1
2 1403
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****@discuss ions.microsoft. com> wrote in message
news:E8******** *************** ***********@mic rosoft.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="__VIEWSTA TE"
value="dDwxMTQx MzgyODk1O3Q8cDx sPFVuaXRJ...... ..
...few lines........3p yR6IzagTrgW69mq WK24s1Z4O" ID="Hidden3"/>
on server2003/iis6 its look like this :

<input type="hidden" name="__VIEWSTA TE"
value="dDwxMTQx MzgyODk1Ozs+Ugi rENAR/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
1674
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 myExternal.MailServer.com) seems to communicate using various ports in the 1190-1199 range. Here's a clip from a recent email header:
1
1848
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 wanted to setup the system in the following way: The database (now in access2003) sits in a shared folder on the server2003 machine. Anybody else who has access to that server and the folder can open the database form that folder, add data, write
9
21639
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 the results in the grid. Say you filter the grid for records that have a certain condition set to "NO" (in this case a checkbox). In this scenario the search returns one result. If I then check the checkbox ("YES") and save it, I now get my message...
0
923
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 be running or the path exists and is redirected to another machine. Please check the status of this virtual directory in the Internet Services Manager. Anybody know what happens, please help (Remark : When i install in my local computer, it...
0
937
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 htmlform with Render overwritten so that it removes __VIEWSTATE from the page. Right away I've got 2 problems - image buttons stopped working but it's ok (I replaced them with hyperlinks) but the bigger problem is that _sometimes_ I don't get some...
5
5153
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. In other words, different web servers may serve different requests in the SAME session. In non-mobile ASP.NET, my understanding is that the view state information is passed between each client browser and server with every post-back. Even if...
2
2760
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 Msxml2.DOMDocument.4.0 to transform a XML top node via XSL stylesheet outputting to HTML. We have set up the website on-site successfully with no problems. However, when we upgraded our client some how IIS6 still references a really old XSL file. No matter how...
1
1317
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 execution and give me a error message as "Page ca not be Displayed"... So please Help me to run my site on Server2003
2
10524
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 IE7 browser running under administrator xp account login
0
8348
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8779
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8636
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7376
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6187
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5660
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4186
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4356
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1761
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.