Today I made a simple console application using Visual C++ 2008 and it was runs well on my development machine. But the problem occurred when I run the application on another machine, the error says “The system cannot execute the specified program“. I was guessing the problem occurred because of missing library or something, after short analysis both machine have the correct and the same library. So what’s going on??
I googled for this error and found this article, it explains how this problem occurred on compiled C++ application. There’s two type of build on VC++ ( Debug and Release), my application was built in debug mode and we can’t re-distribute the application on debug mode. The built program in debug mode only runs on development machine, so in order to distribute my app I should build my application in ‘Release’ mode. Time to switch from ‘Debug’ to ‘Release’ mode,
Open your Visual Studio->(Open Project)->Project->(project name) properties
select the Build Tab, in configuration option choose “Release”.
Rebuild your project, you will find “Release” folder, your released application is in there.
Hi there, today I was trying to install IIS on my local computer and I got an error “Setup was unable to open information file setupqry.inf Contact your system admin. The specific error code is 0x2 at line 0“.
This problem occured after I upgrade my Windows XP SP2 to SP3.
The error showed up because some file are missing when system upgraded to SP3. Here’s the list of missing file.
Paste those inf file to your
Windows\inf directory and paste the dll file to
windows\system32\setup. It’s fix my problem.
You can download those file here, just extract it to your windows directory.
Hi there, I had an error “An Error Has Occurred A project profile was not found” on Zend framework command line when I tried to generate an action for my project. I’m using Windows XP and for the web server I’m using XAMPP. The “An Error Has Occurred A project profile was not found” happened because we have wrong include path in our php.ini.
Open your php.ini and find the include_path line, insert your zend framework library path into the line before the PEAR path.
include_path = ".;E:\xampp\htdocs\ZendFramework\library;E:\xampp\php\PEAR"
Save the file and restart your Apache. Good luck 🙂