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

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.
aspsitAsked:
Who is Participating?
 
aspsitAuthor Commented:
My solution was to get my job to move to Visual Studio 2012.  :-)
0
 
CodeCruiserCommented:
You would attach to w3wp.exe processes not iexplorer.
0
 
aspsitAuthor Commented:
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?
AttachError.png
0
Cloud Class® Course: Certified Penetration Testing

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

 
CodeCruiserCommented:
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.
0
 
aspsitAuthor Commented:
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.
0
 
aspsitAuthor Commented:
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.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.