Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: https://forum.uvnc.com/viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/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://x.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc

"The server running as application" error

Post Reply
thetao
Posts: 5
Joined: 2010-04-28 21:45

"The server running as application" error

Post by thetao »

Hello,

I was originally trying to understand why the UltraVNC server was crashing at our remote office when I tried connecting, by setting up a local test. Now am finding a completely different error. When I try connecting to a server, the viewer returns the error "The server running as application". I found several references to this error online, but no really good solutions. Here is my setup:

1) Both server and viewer are installed from the 1.0.8.2 .exe. The server PC gets "Server Only" and the viewer PC gets "Viewer Only". I have the service set to start manually, and for testing purposes am logged-in as Administrator on both PC's. Each is running WinXP SP3 and on the office LAN.
2) I am using the AESV2Plugin for encryption, generating a keyfile, and typing a password in the settings. I rename the key to aesv2.key and place a copy in the viewer's directory. I am not using any additional files (i.e the repeater). I'm also not using the Java interface.
3) I use "Start VNC Service" from the Programs menu, and confirm that port 5900 is open, and also open in the Windows Firewall. Winvnc.exe appears twice in the Task Manager, which apparently is normal.
4) From the Viewer PC, I run the viewer, enable and select the DSM Plugin, click Config, and connect to the server using host::port.
5) The viewer hangs on "Connecting" for roughly 30 seconds, and then return the error above.

For my last test, I disabled major portions of the server's virus checker (Avast).

I also had a look at the server logs, and nothing seems out of the ordinary. Here is a snip of the logs from a second connection attempt:

Wed Apr 28 18:18:04 2010
.\vsocket.cpp : VSocket() m_pDSMPlugin = NULL
.\vncsockconnect.cpp : accepted connection from 192.168.1.39
.\vncserver.cpp : AddClient() started
.\vncclient.cpp : vncClient() executing...
.\vncclient.cpp : TEST 4
.\vncserver.cpp : AddClient() done
.\vncclient.cpp : client connected : 192.168.1.39 (1)
.\vncclient.cpp : DSMPlugin Pointer to socket OK

and then the viewer displays the error. So what is happening here? What other information would you like for troubleshooting? If somebody would explain exactly what this error message means, I might be able to do more work on my own....

Thanks,

Todd
thetao
Posts: 5
Joined: 2010-04-28 21:45

Re: "The server running as application" error

Post by thetao »

Don't you hate it when you write a long post and then solve the problem yourself 15 minutes later? :(

In my case, this error is apparently caused by a bad interaction between the legacy AESV2Plugin and the Java port setting. Enabling the Java port with a reasonable port number (mine was disabled with a port of 0) made the problem vanish, revealing the crash problem I'd originally intended to report.

But that was solved, too, when I realized there are two new DSM plugins...so life is good again. All I'd like to see now is a warning message on the original encryption page....
B
800
800
Posts: 2338
Joined: 2009-09-09 14:05

Re: "The server running as application" error

Post by B »

Yeah, the web site <b>and</b> the forums are overdue for a rewrite, which I believe is well into the planning stage. Glad to hear your problems are gone.
Post Reply