Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


Unable to attach to the process. MSDIS160.dll cannot be loaded

Posted on 2012-08-16
Medium Priority
Last Modified: 2012-11-25
I am having an issue with VS2010 where I am unable to run in debug mode, or even attach to an "iexplorer.exe" process viewing my localhost site.  I get the error "Unable to attach to the process. MSDIS160.dll cannot be loaded".  I am not exactly sure what to do.  I have tried copying the DLL from the VS9\common7\ide folder into VS10\common7\ide folder and also into system32.  Nothing I try seems to work.  I am able to open my site in VS2010 and make changes, but I can not run and debug it.  I have searched the web, but none of the solutions I have found work for me.

If anyone can help I would be greatly appreciative.  Please let me know what other information I can supply.
Question by:aspsit
  • 4
  • 2
LVL 83

Expert Comment

ID: 38300598
You would attach to w3wp.exe processes not iexplorer.

Author Comment

ID: 38300816
Hmm, at my last job I would always attach to the IE process.  For giggles I attempted your suggestion and received an error.  I have attached a screen print.  Also, I get the same error when I try to run/debug the site through VS.  Any thoughts on how I could resolve that issue?
LVL 83

Expert Comment

ID: 38301256
That error is similar to your original error. I have never attached to iexplorer.exe and always attach to w3wp.exe and successfully debug my apps.
Get quick recovery of individual SharePoint items

Free tool – Veeam Explorer for Microsoft SharePoint, enables fast, easy restores of SharePoint sites, documents, libraries and lists — all with no agents to manage and no additional licenses to buy.


Author Comment

ID: 38306004
I am still not able to attach to either process, I keep getting one of any number of errors.  Sometimes it will be the error I posted originally, sometimes a different one.  The one that I am currently getting is "Unable to attach to the process. A dynamic link library (DLL) initialization routine failed."  I get this error whether I try to run and debug the site through VS or attempt to attach to the IE/w3wp process.  This is really starting to get frustrating.  It is extremely difficult to try and troubleshoot an issue that a page is having when I have to keep putting in response.write's to figure out at which point it fails.

I found one solution online that says to go into the V7Debug folder, rename/move the files and do a repair/reinstall of VS.  Tried that, and it still doesn't work.

Accepted Solution

aspsit earned 0 total points
ID: 38618158
My solution was to get my job to move to Visual Studio 2012.  :-)

Author Closing Comment

ID: 38629806
It was never determined as to what the actual problem was and I had to go to a new version of Visual Studio to fix it.

Featured Post

[Webinar] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Enter Foreign and Special Characters Enter characters you can't find on a keyboard using its ASCII code ... and learn how to make a handy reference for yourself using Excel ~ Use these codes in any Windows application! ... whether it is a Micr…

580 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question