Skip to Content

Quickbooks Enterprise Upgrade .net unsupported qbXML version

This drove me crazy for a little while so I decided to post it. I realize that most people will not get any use from this but I decided to post it none the less

Basically I had a client that I was trying to upgrade from quickbooks enterprise version 9 to 10. Everything went smooth on the install, but when I went to use a program made in house for inventory management I found that it didn't quite work Below is a little snippet that you must change. ( This example assumes you've used the template to create the application) So without further delay here is the change

Somewhere around line 1160 in Session Framework/SessionManager.cs

Change This

  1. for (i = 0; i <= supportedVersions.Count - 1; i++)
  2. {
  3. svers = supportedVersions.GetAt(i);
  4. vers = Convert.ToDouble(svers);
  5. if (vers > _qbsdkVersion)
  6. _qbsdkVersion = vers;
  7. }

To This

  1. for (i = 0; i <= supportedVersions.Count - 1; i++)
  2. {
  3. svers = supportedVersions.GetAt(i);
  4. vers = Convert.ToDouble(svers);
  5. if (vers >= 8.0)
  6. _qbsdkVersion = 8.0;
  7. }

That's really all there is to it. Your program will now act as if nothing ever happened.