469,903 Members | 2,031 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,903 developers. It's quick & easy.

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

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.
Feb 22 '06 #1
2 2391

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.
Fredrik G wrote:
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.


Feb 22 '06 #2
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

"Fredrik G" <a@a.a> wrote in message news:43********@proxy.mimer.no...
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.

Feb 23 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

24 posts views Thread by Charles Crume | last post: by
10 posts views Thread by Andreas Müller | last post: by
reply views Thread by U S Contractors Offering Service A Non-profit | last post: by
1 post views Thread by Waqarahmed | last post: by
reply views Thread by Salome Sato | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.