visual studio .net debugging:
I have tried to set up remote debugging of a web application but still get
this error message:
Error while trying to run project: Unable to start debugging on the web
server. The RPC server is unavailable.
Checking the server shows that RPC is in fact running. Here is the
environment:
Local LAN contains 2 Windows 2003 Servers (SP1 installed) and one PC
workstation - all machines in peer-to-peer using WORKGROUP.
One of the Windows 2003 Server machines is a development machine for web
applications and contains a directory for all the projects. That directory
is accessible from the PC workstation where Visual Studio is running. Visual
Studio can create and work with projects on that server and uses file access
to post and update files in the project. The web server is also running the
DNS (with forward zones only) and WINS headers are specified for the web
sites within this environment.
Here is setup of the workstation and the web server:
1) My PC user account, which is an admin account, is duplicated on the
server (same name and password) and is also an admin account on the web
development server.
2) My user account (and a whole lot of others including everyone) was added
to both the VS Developers and Deugger Users groups.
3) Visual Studio Remote Debug Components were successfully installed on the
server.
4) Project configuration: Enabled Remote Debugging, Set Remote Debug Machine
to Webdev (the machine name of the web server), Set the working directory as
the one containing the project. (This directory was mapped as a network
drive to the workstation.)
5) Set DCOM permission on the server: used dcomcnfg.exe and set the Catalog
Class->Security Access Permissions to 'Customize' and then added
Administrator and my user account to this security. Identity is set to the
launching user.
Nothing works. None of the MS documentation is helpful or there are so many
details and convolutions of the debug environment that it is next to
impossible to know all the details to set up the debug environment
successfully. Does anyone really know how to do this or are you guys just
lucky? What is the development environment that appears to be a good
development environment? Help with this would really be appreciated.
Thanks,
Gery
--
Gery D. Dorazio
Development Engineer
EnQue Corporation
1334 Queens Road
Charlotte, NC 28207
(704) 377-3327