473,405 Members | 2,185 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.

VersionNotFoundException: There is no Proposed data to access

Hello,

a running application was transfered to another server an now brings above
error message. .NET Framwork Version 2.0.50727.42, ASP.NET Version
2.0.50727.210

Backround: I create a dataset with information from a database request. I
create a Session, add the dataset and one row of data. Then I have the
statement "row.BeginEdit()".

If eg. a textbox is changed I write the changes:

Dim row As DataRow = _
CType(Session("DS"), DataSet).Tables(0).Rows(0)
row("Name") = txtName.Text

At the end, I want to show the user, which data was changed with original
and changed data by the following coding:

Dim row1 As DataRow = CType(Session("DS"), DataSet).Tables(0).Rows(0)
Dim row2 As DataRow = CType(Session("DS"), DataSet).Tables(0).Rows(0)

Dim tblUI As New Table
Dim tblUIrow As TableRow
Dim tblUITcell As TableCell
Dim tblUIcell As TableCell
Dim item As Integer
Dim numItems As Integer = row1.ItemArray.Length
Dim title As String() = {"GID", "EMail", "Surname", "First name",
"Telephone", _
"Department", "Location", "Country",
"Company", _
"Boss", "Superuser", "SAP-login",
"SAP-printer"}

tblUIrow = New TableRow
tblUIrow.Style.Add("Font", "bold")
tblUIcell = New TableCell
tblUIcell.Text = " "
tblUIrow.Cells.Add(tblUIcell)
tblUIcell = New TableCell
tblUIcell.Text = "old:"
tblUIrow.Cells.Add(tblUIcell)
tblUIcell = New TableCell
tblUIcell.Text = "new:"
tblUIrow.Cells.Add(tblUIcell)
tblUI.Rows.Add(tblUIrow)

For item = 0 To numItems - 1
If Not row1(item, DataRowVersion.Current).ToString() = _
row2(item, DataRowVersion.Proposed).ToString() Then
......

I assume, that with some kind of server settings the proposed data now is
empty if no changes occured. Unfortunately I can not debug on the new server
and in my VMWare I have no problems.

Does anyone have an idea? I'd really appreciate it, as the app hasn't been
working for a week now and users are getting uneasy :-/
If a German developer can help, you can write in German. I'm posting in
English for the larger amount of readers (or so I hope).
--
Regards
THaggy
Mar 12 '07 #1
0 1065

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

Similar topics

0
by: Josiah Carlson | last post by:
Good day everyone, I have produced a patch against the latest CVS to add support for two new formatting characters in the struct module. It is currently an RFE, which I include a link to at the...
16
by: G Matthew J | last post by:
http://htmatters.net/htm/1/2005/07/evaling-JSON.cfm This is more or less in response to Mr Crockford's admonition a few months ago, "fork if you must". Ironically, although in that usenet post...
2
by: Richard Cornford | last post by:
Anyone who has taken a look at the online FAQ today may have noticed that I have updated it. The majority of the changes are the updating of broken links and the implementation of that extensive...
0
by: Oliver Elphick | last post by:
The attached proposal is written primarily for Debian. Its motivation is that the current package upgrade process is pretty flaky and also that the current packaging does not really provide for...
0
by: Shravan | last post by:
When I am accessing a column value in a row using DataRowView, its throwing VersionNotFoundException with message "No original data to access". The exception occurs in - Paint column of my...
3
by: James J. Besemer | last post by:
I would like to champion a proposed enhancement to Python. I describe the basic idea below, in order to gage community interest. Right now, it's only an idea, and I'm sure there's room for...
5
by: Randy Webb | last post by:
The list below has the current section number, proposed anchor name, and then the current title of that section. Some make sense, some don't. There are a few that don't have proposed anchor names...
36
by: Peter Olcott | last post by:
So far the only way that I found to do this was by making a single global instance of the container class and providing access to the contained class, through this single global instance. Are...
7
by: sharsy | last post by:
Hi guys, I would like to setup a validation rule for a database in microsoft access that restricts data entry so that a certain field can only be filled in if another field has a specific answer...
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: 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
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
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
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.