This project is read-only.


bATR errors after installing .NET 3.5 sp1 on Windows Vista


After installing SP1 for .net framework 3.5 my bATR stopped working saying:
"The program issued a command but the command length is incorrect. (Exception from HRESULT: 0x80070018)"


BartDeVries wrote Aug 24, 2008 at 4:20 PM

The bug is described on the following url: [url:] and since a few days a workaround is presented.

Microsoft says:
We are still investigating a potential fix for this issue. In the meantime, you should be able to work-around the crash by running your service in "Windows XP SP2" compatibility mode. To do this, right click on your service’s executable and select “Properties”. Select the "Compatibility" tab and click on the "Show settings for all users" button. Enable "Run this program in compatibility mode" and choose "Windows XP SP2" from the drop down. Apply the changes and restart your service. You should not see the crash anymore.

Note that changing the compatibility mode might have other side effects. Also note that WPF has not been tested to run inside of a system service. Depending on what you are doing, your mileage may vary.

BartDeVries wrote Aug 26, 2008 at 4:44 PM

I was not able to reproduce the workaround. If someone does, please let us know!


BartDeVries wrote Aug 29, 2008 at 8:08 AM

Two updates:
  • Good: Microsoft says they are creating a fix for it, can't wait to get it!
  • Bad: It also is a problem on Windows 2008

BartDeVries wrote Nov 8, 2008 at 8:55 AM

finally an update again! MS has confirmed the fix will be available late december. Until that time the bATR will not work on .net 3.5 sp1

wrote Feb 18, 2009 at 2:29 PM

wrote Feb 2, 2013 at 2:36 AM

wrote May 14, 2013 at 9:55 AM

wrote May 14, 2013 at 9:55 AM

wrote Jun 6, 2013 at 1:43 AM