"The operation could not be completed" every time i start debugging

  • Thread starter Thread starter Fredrik G
  • Start date Start date
F

Fredrik G

Whenever i hit F5, my project builds, but then i get an error "The operation
could not be completed"
Then i have to launch task manager, and end the "myproject.vshost.exe"
process manually.
Now, the next time i build it, it will start.
But next time i start debugging, i have to do the same procedure again.

It was working fine earlier, but suddenly this just started happening, and I
don't understand why. It's very annoying to do this every time you want to
debug something.

Does anyone know what can cause this?

myproject.vshost.exe is running always when the project is loaded, even when
it's not debugging - if i end the process, it just restarts automaticly in
task manager.
 
It sounds like myproject.vshost.exe -- whatever it is -- is leaving pieces
of itself in memory. You might have to build some type of explicit
destructor, to a gc (garbage collection) or review the resources it access
(like db connections) to make sure it's closing things, and cleaning up
after itself.
 
Had same problem - only could get it to stop when removed all automatic
applicationsettings that loaded on starup.

Now myproject.vshost.exe runs everytime VB express startrs but F5 works fine
so I ignore it!


kaypee
 
Back
Top