We recently received 64-bit Windows 7 PCs. Also, we have a new site in our solution that is .Net 4, the others are still .Net 2. I can no longer debug my .Net code in Visual Studio 2010.
If I try try to start the web app in VS with debugging, I get a "mixed-mode" not allowed error.
- I cannot convert all sites to .Net 4 at this time
- My solution platform is ANY CPU with no other options. I suspect this due to web sites as opposed to VS projects.
There was a time I could start the app in IE and attach to a single site in VS and debug, but since IE 10 loaded, I can no longer even do that, even though I backed out of IE 10.
I did run the following, based on another post I found, but did not solve the problem:
regsvr32.exe "%ProgramFiles(x86)%\Common Files\Microsoft Shared\VS7Debug\msdbg2.dll"