By default, when you attach to the ASP worker process in Visual Studio 2005, it'll try and attach to debug all types of code (Managed, Native, Script, and T-SQL). By default, this will cause most people issues unless you've set your environment up to handle it. So, simply click 'Select' before you attach, and change the option from "Automatically determine the type of code to debug", and select Managed code only.