Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to attach to application 'iisexpress.exe'

I am trying to run my web application and I get this error

Unable to attach to application 'iisexpress.exe' (PID 708) using '<my machine name>'.  The version of clr.dll in the target does not match the one mscordacwks.dll was built for.  Do you want to continue anyway?

This was working yesterday. I have a feeling something has gor corrupted somewhere.

Any idea what is going on here?

like image 800
Sachin Kainth Avatar asked Nov 16 '12 11:11

Sachin Kainth


People also ask

What is IISExpress EXE?

IIS Express is a lightweight, self-contained version of IIS optimized for developers. IIS Express makes it easy to use the most current version of IIS to develop and test websites.

How do I disable IISExpress EXE?

Closing IIS Express By default Visual Studio places the IISExpress icon in your system tray at the lower right hand side of your screen, by the clock. You can right click it and choose exit. If you don't see the icon, try clicking the small arrow to view the full list of icons in the system tray.

Where is IISExpress EXE?

This file is located in the %userprofile%\Documents\IISExpress\config folder or %userprofile%\My Documents\IISExpress\config folder, depending on your OS.


1 Answers

I just had the same problem and I stumbled upon your question. But then I also stumbled upon these:

The version of clr.dll does not match the one mscordacwks.dll was built for

The version of clr.dll in the target does not match the one mscordacwks.dll was built for

One of 3 things seemed to work for everyone.

  1. Restart Visual Studio.
  2. If you recently had a windows update but a restart is still pending, then restart your computer.
  3. Install this service pack http://www.microsoft.com/en-us/download/details.aspx?id=23691
like image 94
Joseph Shanak Avatar answered Oct 11 '22 22:10

Joseph Shanak