The version of Remote Debug monitor on remote machine should be compatible with the IDE you are using to debug the application.We must have the same codebase for the website as deployed on IIS. In development environment, we will debug website using Visual Studio. Setting to be Done on Development Machine Now any website running under IIS on Remote machine can be debugged by the user who is given the permissions. We are done with the settings on the remote machine. Some more settings are required to be done on Remote machine, but we will discuss them in conjunction with settings to be done on developer machine. Go to web.config file of the site and add the compilation Tag mentioned below.Īs we want to debug the application on IIS we have to enable it for debugging. Check name,user should be on the same subnet. Enter name of the user who wants to debug the IIS.Click on "Tools"'"Permissions", then click "Add" Tab.Double Click "msvsmon.exe", below is the similar display."C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\Remote Debugger\x86 ", depending on the installation. Go to path "C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\Remote Debugger\x86" or.
#Visual studio remote debugging iis windows#
Make sure "Anonymous Authentication" and "Integrated Windows Authentication" checkbox is checked. Then click "Directory security" and then click "Edit" Tab.Right Click particular WebSite (e.g SampleHostApplication),Click "properties".Ĭheck all check boxes.Under "AddPort Tab", Click on Change Scope Tab, select My Network (subnet only),then click OK twice.Under "AddPort" Tab, provide a friendly Name, Port of IIS (i.e 80 default)and select TCP.Click on Exceptions, under Exceptions click "Add Port Tab".Go to Start'Control Panel'Windows Firewall (path may vary according to OS). Allowing IIS process to be accessed from remote machine.in a site deployed on IIS on remote machine. There are some situations,when there is a need for finding the cause of any error occuring due to some environmental factors like OS settings,directory settings, Web Server settings etc.
#Visual studio remote debugging iis how to#
This article helps you to learn how to debug the website deployed on IIS on remote machine using visual studio