I am working on plain box that has all of my VS 2005 .NET 2.0 stuff on it. I am using the mainboard graphics processor. My box does not have a graphics card.
I got the same error on DeviceType.Hardware.
I changed to DeviceType.reference and the code woked. At least past that line. I am having other DX9 issues.
I am getting a runtime error on this line...
device.DrawUserPrimitives( PrimitiveType.LineStrip, 6, this.CreateCrossHairVertexArrayTop() );
I just starting writing this tutorial about 3 hours ago, so I am still tweaking.