DrM wrote:
Frans - I followed your advise and still had no luck. Then I made two changes at once (which I had made them one at a time) so I would know which was the culprit but hindsight etc etc.
I deleted my LLBLGen project and recreated it - it was a small project so it was quick.
I deleted my VSWebcache.
Now it works fine. I'm thinking the VSWebcache might be the real issue here - what do you think? Also I have the May 26th ver of 2004.2 - is the 8th June version much different?
It could be there was indeed an old dll in use somewhere. Anyway, you shouldn't have re-created the llblgen pro project, re-compiling and if nothing else helps, regenerating the code, should have been enough.
The 8th june version throws an exception when it detects no PK is present when saving an entity, instead of a nullreference exception. Though if it works now, I think the problem was the 2 vs.net projects being out of sync (dbspecific and dbgeneric). You've still the old .lgp file ? If so, could you please check if you load it, the PK fields are actually marked as PK in the designer?