A very strange one with a VB.net windows forms thing. Anyone seen anything
like this or have any other comments?
The history...
Straightforward application created in VS 2002 running perfectly happily on
machines running version 1.0 of the framework.
I come across a bug in the app that (after discussion with MS) is fixed by
upgrading to VS 2003 and framework 1.1.
I upgrade the app (i.e. open the project in 2003, VS says "Do you want to
upgrade?" etc). I upgrade client machines by running the 1.1 framework
installer and install the updated app. This was about a month ago.
For two weeks the app works fine.
Then it goes wrong. Intermittently. There's a particular routine that
involves writing data to SQL 2K that it fails on. Meaningless error
message. Something about the index is 0 is non-negative and less than the
total number of rows (no real detail there because I don't think it's
relevant.) Rerun the app and everything is fine. Sometimes. Do something
like reinstall the mdac and everything works fine for a while and then
collapses again. We fall back onto another machine set up in apparently the
exact same way where it works perfectly.
This has been the situation for the last two weeks. Tonight a colleague
finds an .ini file under documents and settings\username which includes
information about what framework is being used (can't remember exactly, but
search for .ini modified in the last day and it leaps out). This says that
the machine that's going wrong is still using the 1.0 framework. Huh?
We have now tried uninstalling the old framework and reran the app. The ini
file is now claiming that it's using 1.1. Don't know, as yet, whether this
is a fix or not.
Were we supposed to uninstall the old framework before installing the new?
Have I missed something there? Anyone want to give me odds that the app in
question will now work perfectly?
--
For real reply address, replace the _surprised_ bits with dots
www.realuk.co.uk