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

File transfer crashes UVNC when remote folders are listed

Post Reply
tcp
Posts: 3
Joined: 2005-11-01 08:55

File transfer crashes UVNC when remote folders are listed

Post by tcp »

Hi,

I can use UVNC to control the remote machine, but entering 'File transfer' will result in a lockup as soon as I attempt to list the remote machine folders. Some folders do appear, but it all falls over part way through the listing and I have to shut down the viewer.

Is this a remote machine folders access setting issue? Any ideas would be welcome. Thanks!

Terry
bevtech
800
800
Posts: 2168
Joined: 2005-08-03 14:07
Location: Pennsylvania, United States

Post by bevtech »

Terry,

Do you have file transfer enabled on your remote pc??

If you are running it as a service you can also check
User Impersonation ( but only if you are running winvnc as a windows service


Maybe the remote machine does not have these options checked?
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..;)
tcp
Posts: 3
Joined: 2005-11-01 08:55

Post by tcp »

Hi Bevtech,

Many thanks for your suggestion, but this is not the problem. File transfer is enabled, but it still locks up during folder listing. It seems to be something on the server PC that causes it, as another machine works fine.

Thanks,
Terry
Marc_J
8
8
Posts: 11
Joined: 2006-01-23 18:43

Same Problem

Post by Marc_J »

I'm getting the same problem - did you ever find a cause / solution?

Apart from this file transfer problem, Ultra VNC is working great :)
tcp
Posts: 3
Joined: 2005-11-01 08:55

File transfer crash

Post by tcp »

Hi Marc_J,

No, I never solved it. Fortunately, I don't use file transfers very often and so it isn't a huge problem, but it would be nice to sort it out!

Regards,
Terry
bevtech
800
800
Posts: 2168
Joined: 2005-08-03 14:07
Location: Pennsylvania, United States

Post by bevtech »

:idea: Do you have the same version of the Unzip32.dll and Zip32.dll in the directory of the server as well as your viewer?? Some users use the stand alone viewer and forget to put the zip files in the same folder
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

Post by redge »

tcp,

try with vncviewer V2 beta if this happen
http://sc.uvnc.com/V2/vncviewer15BETA.exe

better stable than v1.0.1
topic related to v2 beta
[topic=4072][/topic]
Last edited by redge on 2006-01-25 02:25, edited 1 time in total.
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
Marc_J
8
8
Posts: 11
Joined: 2006-01-23 18:43

Post by Marc_J »

bevtech wrote::idea: Do you have the same version of the Unzip32.dll and Zip32.dll in the directory of the server as well as your viewer?? Some users use the stand alone viewer and forget to put the zip files in the same folder
Thanks bevtech, I checked and the versions are the same. The file transfer is hanging before attempting to transfer any files at all, though - simply browsing folders causes it to crash. Not all folders, but not random either - always the same folders! I can't see why, though!
redge wrote:tcp,

try with vncviewer V2 beta if this happen
http://sc.uvnc.com/V2/vncviewer15BETA.exe
Thanks, I tried this, but got exactly the same results :(

I really need to have file transfer working - and it's the only part that isn't :oops:
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Post by redge »

check on remote computer
check folder properties (readonly or full ? non latin caracter ? mean foreign language unreadabke from FileTransfer
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
Guest

Post by Guest »

start a full check/repair remote computer for hard drive failure (bad sector)
look the event viewer application of remote computer when failure occur.
Marc_J
8
8
Posts: 11
Joined: 2006-01-23 18:43

Post by Marc_J »

redge wrote:check on remote computer
check folder properties (readonly or full ? non latin caracter ? mean foreign language unreadabke from FileTransfer
Nothing unusual, there was a ' in one of the files it stopped at, but I renamed it and got the same problem. Folder properties are OK.

Anonymous wrote:start a full check/repair remote computer for hard drive failure (bad sector)
look the event viewer application of remote computer when failure occur.
Hard Drive is good. Event viewer reports: -

On Server: 26/1/2006 18:05 Client xx.xx.xx.x disconnected
On Viewer: Faulting application vncviewer.exe, version 1.1.0.1, faulting module ntdll.dll, version 5.1.2600.2180, fault address 0x00018fea.

Still trying to investigate further, but can't see any common link between folders causing it to crash, other than it tends to hang on folders with a lot of content.
Marc_J
8
8
Posts: 11
Joined: 2006-01-23 18:43

Update

Post by Marc_J »

Also discovered today, that viewers connected through LAN (same side of router) using 192.169.0.2 to connect to server, can browse folders no problem, and transfer files.

Problem only occurs when connecting over the internet...?
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Post by redge »

at the viewer side,
after update win xp sp2, some software fail.
reading file ODBC.U32 crash ntdll.dll

There the fix, replace old "ODBC.U32" with this new one.
http://www.parystec.demon.co.uk/odbc.u32
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
Marc_J
8
8
Posts: 11
Joined: 2006-01-23 18:43

Post by Marc_J »

redge wrote:at the viewer side,
after update win xp sp2, some software fail.
reading file ODBC.U32 crash ntdll.dll

There the fix, replace old "ODBC.U32" with this new one.
http://www.parystec.demon.co.uk/odbc.u32
Thanks again.

I downloaded the file, but don't have a copy on viewer PC to replace. What do I do with this new file? Where does it go?

WinXP Pro SP2
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Post by redge »

if you dont'have it, (I believe you had search on hidden files and system folders)
you don't need it,
you need to know wish software do you use broken after sp2 installed.
(windows update done ?)
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
Marc_J
8
8
Posts: 11
Joined: 2006-01-23 18:43

Post by Marc_J »

redge wrote:if you dont'have it, (I believe you had search on hidden files and system folders) you don't need it
Yes, I checked hidden and system folders!
redge wrote:you need to know wish software do you use broken after sp2 installed. (windows update done ?)
All windows updates are installed. Nothing else is broken!
dhowe

Same Issue

Post by dhowe »

I have the same symptoms. Connecting locally: no problem. Connecting remotely to my parents' computer 800 miles away: file transfer often (not always) locks up when trying to navigate to the destination folder on the server end. I'm using the MSRC4Plugin, no MS Logon or User Impersonation, from Win XP Pro viewer to Win XP Home Edition server.

I'd be grateful for suggestions on how to debug or resolve it. I have successfully sent one file and one directory (separate sessions), but other times it locks up -- sometimes allowing me to close the FT dialog, sometimes not, which forces me to kill it in Task Manager.

Dave
Marc_J
8
8
Posts: 11
Joined: 2006-01-23 18:43

Post by Marc_J »

For ref, I'm NOT using the MSRC4 Plugin, and using WinXP Pro on both server and viewer PCs.

Apart from that, everything the same as Dave, including the symptoms :(
dhowe

Further detail...

Post by dhowe »

Marc, the fact that you don't use the plugin or XP Home Edition outwardly eliminates them from the puzzle. Maybe we can gain more insight by comparing other details.

When it locks up for me, the server PC's Internet connection hangs (which comes first?). I've taught my mother to reboot the modem/router to clear it, because I haven't been there to experiment with reconnecting. I'll try turning on logging there next time she's standing by to recover from my experimenting.

I'm using port forwarding to permit the traffic through the NAT routers on both ends. I don't suppose the server PC's antispyware software is trapping something, but I'll check the logs.

Dave
Marc_J
8
8
Posts: 11
Joined: 2006-01-23 18:43

Post by Marc_J »

Thanks for the info Dave,

In my case, the Server's internet connection stays on. I've actually been connected through other remote admin software at the same time so that I can watch what happens when UltraVNC hangs!

The Server is port forwarded through a router but my PC (the viewer) has a direct connection to the internet.

You just gave me an idea, though - the server is running Spybot S&D and also Javacool's SpywareBlaster, I'll try disabling protection from both of them. It'll have to be next week, though, as the PSU on the server just died and a replacement is on order!

It'd be interesting to know what your router logs say, that might give us an insight. I'll keep you posted on any findings I have...
dhowe

Narrowing further

Post by dhowe »

I found a round-about way to be on the server end of a remote file transfer. I connected to my parents' server, then launched a viewer back to my wife's server session and transferred a file and a directory from their computer to my wife's. Didn't fail, but if it had, I would be able to explore the server symptoms and restore the Internet connection here.

My parents' router (Westell 2100) doesn't seem to have a logging feature, but they have a Norton firewall, and it shows my connection port.

I looked up VNC configuration on portforwarding.com and noticed that it recommends both TCP and UDP for the 5500, 5800 and 5900 ports. I have only TCP enabled -- wonder if that would hamper file transfers?

The other thought I've had is I notice that my parents' DSL connection drops occasionally, even while they're not on the computer. I drop in, leave a message on Messenger, later find them "offline" on Messenger, still later drop in again and see the message I left untouched, so I know they didn't shut down the system. I wonder if the couple of FT failures I saw were coincidental with random connection drops. If so, I'd like to see UltraVNC recover more gracefully and wow me with that continue-where-you-left-off feature!

Dave
Marc_J
8
8
Posts: 11
Joined: 2006-01-23 18:43

Re: Narrowing further

Post by Marc_J »

dhowe wrote:I looked up VNC configuration on portforwarding.com and noticed that it recommends both TCP and UDP for the 5500, 5800 and 5900 ports. I have only TCP enabled -- wonder if that would hamper file transfers?
The server I'm having problems with is behind a Netgear Router, I've forwarded 5500, 5800 and 5900 for both TCP and UDP, so that's not what's causing the problem, although you probably should for UDP, too.
dhowe

Log for FT Directory Browse Failure

Post by dhowe »

I've transferred files and directories successfully a few times lately, so I thought maybe the issue had disappeared. However, this afternoon it failed again while waiting to browse the server directory (after clicking on the C: drive). It locks up my client viewer and disables the Internet connection on the server side.

I had turned WinVNC logging on, so I captured the following excerpt from the server PC. I wonder if it offers any insight to developers? Is the remote host socket error from my client end, since this is a server log? Is there anything else I can check on either end?

Is there any more graceful way to interrupt the client FT when it hangs -- Ctrl-Break and Escape don't work, so I have to force it out with Task Manager and that drops the viewer session as well. If it means anything, I found two FT apps and one viewer in XP Task Manager.

Dave


from winvnc.log

Sun Feb 12 17:24:06 2006
Owner --The operation completed successfully.
Owner --The operation completed successfully.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vsocket.cpp : socket error 1: 10054
--An existing connection was forcibly closed by the remote host.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncservice.cpp : SelectHDESK to Default (28) from 28
--The operation completed successfully.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncservice.cpp : SelectHDESK failed to close old desktop 28 (Err=170)
--The requested resource is in use.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncclient.cpp : client disconnected : 24.2.150.31 (1)
--The operation completed successfully.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncclient.cpp : disable update thread
--Overlapped I/O operation is in progress.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncclient.cpp : enable/disable synced
--The operation completed successfully.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncclient.cpp : kill update thread
--The operation completed successfully.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncclient.cpp : stopping update thread
--The operation completed successfully.
client sent 6 updates
--The operation completed successfully.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncclient.cpp : update thread gone
--The operation completed successfully.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncserver.cpp : removing authorised client
--The operation completed successfully.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncserver.cpp : deleting desktop server
--The operation completed successfully.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncdesktop.cpp : killing screen server
--The operation completed successfully.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncdesktopthread.cpp : quitting desktop server thread
--The operation completed successfully.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncdesktop.cpp : Monitor2 -1
--The operation completed successfully.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncdesktop.cpp : Monitor3 61808 -1
--The operation completed successfully.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncservice.cpp : SelectHDESK to Default (28) from 28
--Access is denied.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncservice.cpp : SelectHDESK failed to close old desktop 28 (Err=170)
--The requested resource is in use.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncserver.cpp : desktop deleted
--Invalid window handle.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncserver.cpp : RemoveClient() done
--The operation completed successfully.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncclient.cpp : ~vncClient() executing...
--The operation completed successfully.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncclient.cpp : deleting socket
--Invalid window handle.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vsocket.cpp : closing socket
--The operation completed successfully.
Owner --The operation completed successfully.
Sun Feb 12 17:24:11 2006
Owner --The operation completed successfully.

[mod=494,1142090650]Disabled Smilies in this post[/mod]
Last edited by dhowe on 2006-03-11 15:24, edited 1 time in total.
Post Reply