views:

2208

answers:

4

I'm getting the error message: "error 2" when I try to connect to local ports Computer -> Connect local using portmon.exe v. 3.02

I run the tool as an administrator (if not, I get error 6).

By the way this is a Windows 7 x64, in Windows 7 x86 it works fine. Any ideas?

A: 

Just to test that the hardware is working, you could perhaps boot a linux live cd and run the statserial and/or minicom program to verify that it works? The Knoppix distribution seems to contain both those programs.

Serial ports on linux are named /dev/ttyS0 for COM1, /dev/ttyS1 for COM2, etc.

hlovdal
Thanks for your suggestions. The hardware is working just fine, it's just portmon app. I've tested in W7 x86 and it works without problems.It seems to be an incompatibility with Windows 7 x64.
JAG
It is also incompatible with Windows Vista x64... in case there was any doubt.
Scott Fletcher
+4  A: 

Sysinternals Portman works only on x86 versions of Windows. It does not support x64 (probably its driver is not signed).
From portmon homepage:
Runs on: Client: Windows XP (32-bit) and higher (32-bit). Server: Windows Server 2003 (32-bit) and higher (32-bit).

swatkat
Thanks, you're right. I hope they'll update soon.
JAG
A: 

I haven't tried it yet, but this question mentions com0com. It creates two virtual serial ports and emulates a null modem cable between them. It claims to be able to run on 64 bit Windows. I'm not sure whether it comes with software that lets you just pipe input from a real port into one of the virtual ports. One of the FAQ's says that you can turn on logging.

I guess in the worst case, you could write your own small program that pipes data from a real port to one of the virtual ports and logs it all.

Don Kirkby
A: 

Don't start PortMon from network drive/path or something else.

Copy on harddrive e.g. Desktop, restart and try again!

Found elswhere