How do I debug an ASP.NET application in remote machine?

I am new to VS.NET and I want to debug ASP.NET application in remote machine. When I try that, the following error occurs:

"Make sure the server is operating correctly. Verify there are no syntax errors in web.config by doing a Debug.Start without debugging. You may also want to refer to the ASP.NET and ATL Server debugging topic in the online documentation."
The first thing you should try is to access the application in the remote machine and verify that it's working (i.e. no errors in web.config). Next, you can attach to the remote aspnet_wp process which hosts ASP.NET, through the Debug - Processes VS menu option. Remember to select the remote machine there. You must have the appropriate permissions to debug the remote machine also.

This was first published in May 2003