472,127 Members | 1,718 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,127 software developers and data experts.

"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 2503

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

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.