Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: viewtopic.php?t=37864

Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://twitter.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc

Invalid VNC server specified error

Post Reply
quatermass
8
8
Posts: 13
Joined: 2006-06-27 14:23
Contact:

Invalid VNC server specified error

Post by quatermass »

I'm using V1.02 in Windows XP pro sp2 and when I connect to a remote PC and save the .vnc file then when I double click on it I get the error -

invalid vnc server specified. Usage includes:...

Popping up.

How can I fix this?

The contents of the file look ok.


Isn't the .vnc file meant to be double-clicked upon?

I've tried using 'open with..' and assigning it to the vncviewer.exe but it didn't help.

Can someone help?
bevtech
800
800
Posts: 2168
Joined: 2005-08-03 14:07
Location: Pennsylvania, United States

Re: Invalid VNC server specified error

Post by bevtech »

When installing uvnc did you have it associate with the *.vnc extension??
Bevtech

Windows XP Home, Pro SP2, Windows 2003 SBS server SP2(EN), Windows Media Center Editon 2005,Windows Vista Home Prem.,Fedora Core 6,Win9X, PChelpware Rel 1.0,
UVNC V 1.0.8.2

User not developer..;)
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Re: Invalid VNC server specified error

Post by redge »

this not work as my experience for unknown reason.

work around.
uninstall uvnc and install uvnc and don't forget to see v checked "associate UltraVNC viewer with the .vnc extension
Image
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
quatermass
8
8
Posts: 13
Joined: 2006-06-27 14:23
Contact:

Re: Invalid VNC server specified error

Post by quatermass »

bevtech wrote:When installing uvnc did you have it associate with the *.vnc extension??
I can't remember. What's the registry setting so I can check it?

regedit shows .vnc has a default value of 'VncViewer.Config'

and Classes root of 'VncViewer.Config' has:

Code: Select all

[HKEY_CLASSES_ROOT\VncViewer.Config]
@="VNCviewer Config File"

[HKEY_CLASSES_ROOT\VncViewer.Config\DefaultIcon]
@="C:\\UVNC\\vncviewer102.exe,0"

[HKEY_CLASSES_ROOT\VncViewer.Config\Shell]

[HKEY_CLASSES_ROOT\VncViewer.Config\Shell\open]

[HKEY_CLASSES_ROOT\VncViewer.Config\Shell\open\command]
@=""C:\\UVNC\\vncviewer102.exe" -config "%1""
Looks ok to me.
Last edited by quatermass on 2007-12-24 23:10, edited 1 time in total.
bevtech
800
800
Posts: 2168
Joined: 2005-08-03 14:07
Location: Pennsylvania, United States

Re: Invalid VNC server specified error

Post by bevtech »

I would try to completely uninstall reboot the machine then install it making sure that you check the option by redge above. I have seen really weird things happen once in a while and if you get a fresh clean install of it. The problems seem to go away..


Tip: Other flavors of vnc can cause issues with uvnc because they are alike. Any kind of spyware and registry defender can also cause issues if they stop uvnc from installing properties
Bevtech

Windows XP Home, Pro SP2, Windows 2003 SBS server SP2(EN), Windows Media Center Editon 2005,Windows Vista Home Prem.,Fedora Core 6,Win9X, PChelpware Rel 1.0,
UVNC V 1.0.8.2

User not developer..;)
quatermass
8
8
Posts: 13
Joined: 2006-06-27 14:23
Contact:

Re: Invalid VNC server specified error

Post by quatermass »

bevtech wrote:I would try to completely uninstall reboot the machine then install it making sure that you check the option by redge above. I have seen really weird things happen once in a while and if you get a fresh clean install of it. The problems seem to go away..
Is there not a simple list of the registry settings it requires somewhere?
Then I can simply do a comparison?
Jymi
Posts: 1
Joined: 2009-11-09 09:47

Re: Invalid VNC server specified error

Post by Jymi »

Just change in registry:

HKEY_CLASSES_ROOT/vnc_auto_file/shell/open/command to

C:\folder_name\vncviewer.exe /config %1

where folder_name is Your vnc location folder
rah
Posts: 6
Joined: 2009-10-08 18:46
Contact:

Re: Invalid VNC server specified error

Post by rah »

I was just trying to resolve this issue on a Windows 7 PC. I tried to use the regedit setting suggested earlier but with Win 7 there's double-quotes to contend with. Below is the combination that finally got it working for me.

"C:\Program Files\uvnc bvba\UltraVNC\vncviewer.exe" -config "%1"

Hopefully, it will save you some time.
clemo
Posts: 1
Joined: 2021-01-27 10:47

Re: Invalid VNC server specified error

Post by clemo »

None of the answers deals with the original problem. You are discussing file association, but file association is ok. When I double-click a vnc file, UVNC says "invalid vnc server specified". This is a message by UVNS so it means UVNC is opening the file by default. This is very weird because the vnc file was created by UVNC itself from a running session so the ip:port should be stored properly.
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6832
Joined: 2004-04-23 10:21
Contact:

Re: Invalid VNC server specified error

Post by Rudi De Vos »

Did you check the file association ?
If this is wrong (like you manual attach .vnc to the vncviewer) the association is
"C:\Program Files\uvnc bvba\UltraVNC\vncviewer.exe "%1" and not "C:\Program Files\uvnc bvba\UltraVNC\vncviewer.exe" -config "%1"
In that case
vncviewer myhost.vnc is executed and vncviewer give the error that he can't find server "myhost.vnc"
The vncviewer is using the filename as hostname and not as config file.
Post Reply