Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error while trying to run project: Unable to start program. Cannot find the file specified

This project was working fine, then I restarted my computer to install a new GPU, and now it is producing the following error when I try to run it:

Error while trying to run project: Unable to start program:

"E:\Workspace\...\....exe"

Cannot find the file specified.

I have confirmed that the file mentioned does exist at the path specified by the error message.

I have tried to "Clean Solution" and "Rebuild Solution".

Navigating to the executable file manually and running it works. The error above is produced when I press the "Run" button in VS2010.

Does anyone know why this might be happening?

like image 284
Olhovsky Avatar asked May 03 '11 02:05

Olhovsky


People also ask

How do I fix the system Cannot find the file specified?

Run CHKDSK Command to Fix "System Cannot Find File Specified" Device. Right-click the Start button, type cmd in the Search, and select Command Prompt (Admin). Type chkdsk x: /f /r (x represents your target drive) into the Command Prompt window and press Enter Wait while chkdsk tries to repair the corrupted file systems ...

How do I use Solution Explorer in Visual Studio?

By default, the Solution Explorer tool window appears as a pane in the upper-right side of the Visual Studio integrated development environment (IDE). If you don't see the Solution Explorer tool window, you can open it from the Visual Studio menu bar by using View > Solution Explorer, or by pressing Ctrl+Alt+L.


1 Answers

I had this issue on VS2008: I removed the .suo; .ncb; and user project file, then restarted the solution and it fixed the problem for me.

like image 56
gollumullog Avatar answered Oct 03 '22 17:10

gollumullog