Yes, it is a regular C# .Net 3.5 program. Basically, the program is creating a ticket and "TicketNumber" is a BIGINT field and it is auto-increment. When the record is inserted, it should increment the ticket #, but it doesn't (on Win7) when I run my code that was compiled on the XP system.. The program works fine in Windows XP. It also works fine on the Windows 7 system if I compile the code on that system. Incidentally, the compiled code from the windows 7 system works both with UAC turned fully on or fully low. I'm using Visual Studio 2008 for the compiler..
The record in the database has the same ticket number after every insert and the rest of the ticket data is the last data entered (meaning that the previous data is overwritten with the new data).
I would agree that it seems that it would be related to the application environment, but there is no difference other than running code compiled on the XP system vs.running the same exact code compiled on the Win7.system.