I get this error
System.NullReferenceException: Object reference not set to an instance of an object
when processing this line (**):
the stack trace gives line 655 (which is the line that the END CASE statement is on).
If I comment out the system.drawing.xxx line then the program works just fine.
The wrinkle is that the same program works fine for me in development and runtime on my machine (Vista), but not on the production machine (Windows 2003 terminal server).
The worrying thing is that this code worked just fine all week until today when it was recompiled. We have rebuilt the code from subversion to ensure that there was no "adjustments" and recompiled to no avail.
Anyone got any clues ?
There are problems with the compile order of classes that will be fixed in SP1.
Your code probably works fine uncompiled on the production machine but you probably don't have a compiler there. If this is indeed the problem that I am refering to above, you could try to figure out how to manually compile your stuff in the right order...
BTW I am glad we decided to wait at least for SP1 before going in production
thanks Peter
Any idea when SP1 is on the way ?
March 2009.
bugger. Oh well, we'll have to use the workarounds
Let us know what workaround works for you.