"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