Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.


Go Back   Vista Forums > Vista Newsgroups > Vista security

RB

Vista - VS2005 Remote Debugger and Windows Firewall not working

Reply
 
02-24-2007   #1
Noël Danjou


 

VS2005 Remote Debugger and Windows Firewall not working

LH Feb CTP
Visual Studio 2005 Professional


Hello,

I am trying to debug a Windows Firewall-related issue in one of my program
using the Remote Debugger.

The installation of the Remote Debugger (Run as administrator...) went fine
but everytime I run it I am prompted with a "Configure Firewall for Remote
Debugging" dialog box with the following choices:

- Cancel remote debugging
- Unblock remote debugging from computers on the local network
- Unblock remote debugging from any computers

If I tick either of the Unblock options and click OK, I get the following
message:

"Visual Studio Debugging Monitor - Could not configure the Windows
firewall. Incorrect function"

Could someone please explain how I can use the Remote Debugger with the
Windows Firewall in Longhorn February CTP (I had the same issue in the
previous build) ?

"IPSec (IKE NAT-T)" (UDP 4500), "IPSec (IKE)" (UDP 500) and "RPC Endpoint
Mapper and DCOM infrastructure" (TCP 135) exceptions are all ticked in the
Windows Firewall.

Actually the Windows Firewall issue I wanted to debug in my program is also
the "Incorrect function" (or "The system cannot find the file specified")
error message. I'd very much appreciate if anyone had information about how
to fix the issue. Thank you.

--
Noël
http://noeld.com/




My System SpecsSystem Spec
02-24-2007   #2


 

Re: VS2005 Remote Debugger and Windows Firewall not working

"Noël Danjou" <noeld@online.nospam> wrote in message
news:u1jEw8$VHHA.4764@TK2MSFTNGP05.phx.gbl...
> LH Feb CTP
> Visual Studio 2005 Professional



Longhorn questions should be addressed in the Beta newsgroups Microsoft
provides, that way you aren't leaking pre-release information to people who
aren't on the beta.

Alun.
~~~~
--
Texas Imperial Software | Web: http://www.wftpd.com/
23921 57th Ave SE | Blog: http://msmvps.com/alunj/
Woodinville WA 98072-8661 | WFTPD, WFTPD Pro are Windows FTP servers.
Fax/Voice +1(425)807-1787 | Try our NEW client software, WFTPD Explorer.


My System SpecsSystem Spec
02-24-2007   #3
Noël Danjou


 

Re: VS2005 Remote Debugger and Windows Firewall not working

Hello Alun,

Actually the issue applies to Vista as well. I also asked in the LH private
newsgroup but got no reply yet.

Sincerely,
--
Noël
http://noeld.com/


My System SpecsSystem Spec
02-27-2007   #4
Sylvain Boily


 

Re: VS2005 Remote Debugger and Windows Firewall not working


Hi Noel, I was wondering if you found what caused this problem since I'm
having the exact same problem as you.

when I disable the Firewall everything is ok but I need it on.

All the ports are checked in the firewall settings.

Basically I'm having a replica of your problem.

Thanks

Sylvain.


--
Sylvain Boily
------------------------------------------------------------------------
Sylvain Boily's Profile: http://forums.techarena.in/member.php?userid=22609
View this thread: http://forums.techarena.in/showthread.php?t=691029

http://forums.techarena.in

My System SpecsSystem Spec
02-28-2007   #5
Noël Danjou


 

Re: VS2005 Remote Debugger and Windows Firewall not working

Hi Sylvain,

Thanks for your message. Unfortunately no, I still don't have a solution.
Any information or suggestion would be welcome.

Sincerely,
--
Noël
http://noeld.com/


My System SpecsSystem Spec
03-14-2007   #6
Gregg Kowalski


 

Re: VS2005 Remote Debugger and Windows Firewall notworking

Unfortunately I don't have a solution either. I just thought I'd post to say that I am hitting this same problem. I've tried creating/enabling the firewall exceptions that it mentions:
- Authorized Application exception for: msvsmon.exe
- Globally Open Port for: TCP 135 (DCOM)
- Globally Open Port for: UDP 4500 & 500 (IPSec)
- Enabled the File and Printer exception

I even tried enabling all of the File and Printer Sharing rules using wf.msc, but this didn't help either.

The only workaround seems to be disabling the firewall all together.

- Gregg

EggHeadCafe.com - .NET Developer Portal of Choice
http://www.eggheadcafe.com
My System SpecsSystem Spec
Reply

RB


Thread Tools


Similar Threads for: VS2005 Remote Debugger and Windows Firewall not working
Thread Forum
windows debugger not working Vista General
Windows Firewall and WF with Advanced Security rules not working Vista security
windows firewall not working at all .NET General
Vista Businness - Remote Access and Windows Firewall issues Vista General
pspad + free debugger, or simple free debugger ... PowerShell


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd