473,566 Members | 3,004 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

VersionNotFound Exception: 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).ToStri ng() = _
row2(item, DataRowVersion. Proposed).ToStr ing() 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 1070

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

Similar topics

0
2286
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 end of this post. Please read the email before you respond to it. Generally, the struct module is for packing and unpacking of binary data. It...
16
2676
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 he calls what I am suggesting "brittle", his own Javascript JSON parser is not valid JSON, but rather conforms to my proposed variation on JSON!!...
2
1968
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 suggestions for re-wording provided by Michael Winter. Other changes are listed below. Fore those interested, a zipped snapshot of the entire FAQ...
0
1801
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 multiple simultaneous postmasters, which are wanted by people hosting several database clusters. I assume these proposals may also be of interest...
0
963
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 Custom Combo Column Style when I access column value using GetColumnValueAtRow(<CurrencyManager>, <RowNum>), when I used DataRowView instead of that...
3
2103
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 improvement. And of course it's possible there's some serious "gotcha" I've overlooked. Thus I welcome any and all comments. If there's some...
5
1735
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 yet as I couldn't come up with a decent anchor name. Some anchor names are duplicated (#ajax is one), where the idea would be to combine those...
36
2011
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 there any other no-overhead ways that a contained class can access its container? The obvious choice of passing (a pointer or a reference to the...
7
5962
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 (that is selected via a drop down list). Example Field1 - options are "In" or "Out" Field2 - options are "Join" or "Not Joining"
0
7673
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7584
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...
0
7893
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8109
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...
0
5213
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...
0
3643
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...
0
3626
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1202
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
926
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...

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.