You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A quick bit of googling reveals that this isn't a uncommon but it's related to SQL debugging and I wasn't attempting to do that. None of my VS projects had 'Enable SQL Debugging' checked. Fortunately the solution was quite straightforward : when attaching the aspnet_wp.exe process to VS, make sure you are only attach managed code.
Click Tools > Attach to Process
Click the Select button just above the list of available processes to attach to
Select 'Debug these code types' and check only the boxes for Managed (and Native i fnecessary) code.
Click OK
Click Attach
Debug as normal
--------------------------------------
Once we got this error in a Windows Service, reinstalling it solved the problem.