You know the message „This application has failed to start beacuse the application configuration is incorrect. Reinstalling the application may fix this problem“ when trying to test an Debug Build on another Machine which has no VS 2008 installed?
You are shoure that you copied the crt and mfc libraries with the application?
Anyway of that, it’s windows WinSxS ( some call it WinSuckS ).
Solution:
Copy all \Windows\WinSxs\x86_Microsoft.VC90.Debug* directories from your developer machine to the same place on your test machine.
Copy all \WIndows\WinSxS\Policies\x86_policy.9.0.Microsoft.VC90.Debug* directories from your developer machine to the same place on your test machine.
Copy all \windows\WinSxs\Manifests\x86_Microsoft.VC90.Debug* Files from your developer machine to the same place on your test machine.
You can also do this by your own setup
If you use Inno Setup, copy the above directories to a source directory and place the followin line into your inno setup file in the [Files] section:
Source: yourdirectory\*.*; DestDir: {win}\WinSxS; Flags: recursesubdirs ignoreversion createallsubdirs