AttachTo icon indicating copy to clipboard operation
AttachTo copied to clipboard

attempt was made to perform an initialization operation when initialization has already been completed

Open mkamoski opened this issue 10 years ago • 0 comments

Dear AttachTo Developers --

This is an excellent tool and a great idea-- a real time-saver.

To make it better, please note the following.

It seems like AttachTo complains about an error when none exists. My test case is a VS 2012 Solution that contains a SharePoint project. It is set to debug in the local instance of IIS. When I run the project in the IDE, in debug mode, and when the SP project comes up in the browser, some of the "wp3.exe" processes are attached and some are not. In my case, I need them all to be attached. Given that, I then ask AttachTo to attach to IIS. AttachTo complains saying "An attempt was made to perform an initialization operation when initialization has already been completed". I thought this meant that AttachTo could not do its function; but, I was wrong. If I check > Debug, > Attach To Process, in the IDE, right away there are some unattached processes, so it takes a few moments for all "wp3.exe" items to get attached by AttachTo, but they do seem to be attached.

Maybe a couple of quick info dialogs would be nice-- (1) AttachTo is attaching. Please wait. (2) AttachTo is done. Or similar. Just an idea.

Regardless, the product is great as-is.

Thanks.

-- Mark Kamoski

mkamoski avatar Mar 28 '14 13:03 mkamoski