473,405 Members | 2,373 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,405 software developers and data experts.

Viewstate folder files stopped working after upgrade to 2.0

Hi

I have an unusual problem. I have a webapp compiled for asp.dotnet 1.1,
and it uses server side viewstate files. If i run the iis in 1.1 mode
it works fine, but when i switch to 2.0 it generate an error (see
below). Have anyone ecountered this before?

My server viewstate class inherits from page, uses
LoadPageStateFromPersistenceMedium and
SavePageStateToPersistenceMedium.

I use a folder under the webapproot to save my vs files, and as I said,
it works perfectly...

Any ideas anyone?

/erik

::::ERROR:::::

Could not find file
'C:\_tortoise\Main\Client\TES_Web\TESWeb\vs{B1745D BF-90E7-4AB8-AAC7-214C6BC546E4}_tesweb_serviceorder_createaspx+perso nid=%7b04EE142C-1DA7-4AC2-8FC2-05F73D2BBF5E%7d.vs'.

at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess
access, Int32 rights, Boolean useRights, FileShare share, Int32
bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String
msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path,
FileMode mode, FileAccess access, FileShare share, Int32 bufferSize,
FileOptions options) at System.IO.StreamReader..ctor(String path,
Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32
bufferSize) at System.IO.StreamReader..ctor(String path) at
TESWeb.ServerViewStatePage.LoadPageStateFromPersis tenceMedium() in
C:\_tortoise\Main\Client\TES_Web\TESWeb\ServerView StatePage.vb:line 45
at System.Web.UI.Page.LoadAllState() at
System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Jun 15 '06 #1
0 963

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

Similar topics

2
by: STEPHEN GOODE | last post by:
I had a client upgrade his PHP from 4.? to 4.3.9. An important script stopped working. It seems to work fine, but it uses the mail() function and sendmail to send notifications. The email never...
3
by: Trevor Andrew | last post by:
Hi There, I have a small ASP.NET application under development. I am using VS.NET 2002 (2003 upgrade is on the way) with .NET Framework 1.1. It is hosted on a web hosting service in the US. I am...
2
by: Ryan Ternier | last post by:
I'm playing around with Cache and Viewstate. I've made a small little example that reminds me of grade 12: if(!IsPostBack) { ArrayList alTest = new ArrayList(); alTest.Add("This is from...
12
by: TB | last post by:
Hi All: I am trying to create a variation on the standard datagrid, whereby the datagrid is only shown after pressing some buttons. This reason for this is that I would like to use the same...
0
by: news | last post by:
If anyone can recommend a more appropriate newsgroup for this question? We recently upgraded from php 4.1.2 to php 4.3.9 and ImageMagick 5.5.7 to version 6.2.5. I have a script that creates a...
1
by: JJ | last post by:
Is there way in webconfig to disable viewstate for all aspx files in a certain folder? I know there is a way to do that for the whole application and i am wondering same concept is available for...
1
by: Ritu | last post by:
Hi, I get a viewstate error on my machine when trying to load a page with grids. The error is The viewstate is invalid for this page and might be corrupted. The bizzare part is that the...
6
by: LP | last post by:
Hi there, Sorry if this is a little off-topic here but can anyone explain why, when I launch my website from within VS, it can find my image files ok when they're in the root like so: <img...
3
by: sck10 | last post by:
Hello, I have a web project (VS 2008 c#). I have a page that opens, but when I try to call an assembly (managed c++) on a submit event, I get the following error on the web server, but not on...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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:
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...
0
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,...
0
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...
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,...
0
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...

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.