   [.net] Frustrating Deployment Issues
  I have made a simple modeler app that runs DX9. I wrote the code using VB.NET 2002 (I know, upgrades coming soon, I hope).I compiled and everything runs PERFECT on my dev machine. I sent it to several friends to try out and even tried it on my other XP machine that has the .NET framework and I am getting an error:Modeler.exe - Common Language Runtime Debugging ServicesApplication has generated an exception that could not be handled.Process id=0xd84 (3460), Thread id=0xda4(3492).Any ideas? Is there something I need to do to associate DX9 or something?   
  This might be a silly question, but did you compile in Debug or Release mode?   ;  Not a silly question... :)But I did compile in Release mode. I have one user that could run it and so far, me and one other user could not. The user that could run it does not have .NET Development Suite on his computer, just the framework. Also, he's running the same version of DX9 as the PC that I have that doesn't run it.There is no optional data for the code... it simply runs the same way on everyone's machine. Cannot understand where the bug may come from.   ;  You need to do a stack trace on "Process id=0xd84 (3460), Thread id=0xda4(3492)"There are plenty of tools in Visual Studio (.NET 2003 I'm assuming?). .NET is like that. Do all of your buds have the same version of the .NET runtime? I have seen that cause issues before.   ;  As far as I know DirectX by default doesn't install the MDX extensions, so you'll need to ship those binaries with the exe.   ;  I had the same problem in my project, even after installing the Managed DX extensions (which is necessary too).The problem ended up being a version problem with Direct3DX.  When you build your project against the Direct3DX dll you have on your dev machine, you need to make sure the user's machine has the same version of Direct3DX installed.  You can't include the dll with your program because it's against the EULA or something for DirectX.  You need to include the redistributable for whatever version of the SDK you're building against with your program.  During the install run DXSETUP.EXE with the /silent switch.  It will check to make sure everything is installed properly for that version and only display a installation wizard if something needs to be installed.  You can download the redistributables for the SDKs on MS's website.One more note: when I ran the release version of my project here at work, I got roughly the error you mentioned, not the nice "Direct3DX.dll file not found error" other people have gotten for the problem I described above.  However, the log file my program outputs when it catches an exception did have the detailed error message.  For some reason the message box that popped up didn't.EDIT: This page has additional information about the problem...http://www.ircomm.net/forums/50/ShowPost.aspx   