Access is denied. for renderer

Jul 12, 2011 at 4:49 PM

I am trying to use the sample code in VS2010 and ran into a problem. All the code runs down to the line: renderer.Render();

At that point I get a COMException: Access is denied.

I have added the 2 dlls to my references in the project, and there are no warnings or errors on compile. Any ideas as to what could be causing this?

Thanks,

John Vickers