/ .NET

Remote Debugging Issue with ASP.NET - Unable to attach to the process

I have been trying to get remote debugging working on one of our servers so we can share the development work on a WebAPI and I kept getting the following error message on my Visual Studio 2013 Attach to process dialog:

“Unable to attach to the process. The RPC Server is unavailable”

It turns out that all I had to do was add C:Program Files (x86)Microsoft Visual Studio 12.0Common7IDEdevenv.exe to the Firewall allow list.

I knew it had to be something with the firewall, but I was trying to discover which ports the remote debugging RPC was using so I could open them. All I had to do was add the whole process and everything worked.

Now I can happily debug the code on my server.

Michael Earls

Michael Earls

Michael has been a computer nerd since he was ten years old and he begged his parents to buy him a computer for Christmas. In 1982, he was the proud owner of a TI-99/4A. He's been coding since.

Read More
Remote Debugging Issue with ASP.NET - Unable to attach to the process
Share this

Subscribe to cerkit