Drive Redirection virtual channel hangs when copying a file from server to client over RDP 8.1

Problem Summary:
A UTF-8 without BOM Web RoE XML file output from a line of business application will not drag and drop copy nor copy/paste from a Server 2012 R2 RD Session Host running RD Gateway to a Windows 7 Remote Desktop client over an RDP 8.1 connection and the Drive
Redirection virtual channel hangs.  The same issue affects a test client/server with only Remote Desktop enabled on the server.
Other files copy with no issue.  See below for more info.
Environment:
Server 2012 R2 Standard v6.3.9600 Build 9600
the production server runs RDS Session Host and RD Gateway roles (on the same server).  BUT,
the issue can be reproduced on a test machine running this OS with simply Remote Desktop enabled for Remote Administration
Windows 7 Pro w SP1v6.1.7601 SP1 Build 7601 running updates to support RDP 8.1
More Information:
-the file is a UTF-8 w/o BOM (Byte Order Marker) file containing XML data and has a .BLK extension.  It is a Web Record of Employment (RoE) data file exported from the Maestro accounting application.
-the XML file that does not copy does successfully validate against CRA's validation XML Schema for Web RoE files
-Video redirection is NOT AFFECTED and continues to work
-the Drive Redirection virtual channel can be re-established by disconnecting/reconnecting
-when the copy fails, a file is created on the client and is a similar size to the original.  However, the contents are incomplete.  The file appears blank but CTRL-A shows whitespace
-we can copy the contents into a file created with Notepad and then that file, which used to copy, will then NOT copy
-the issue affects another Server 2012 R2 test installation, not just the production server
-it also affects other client Win7 Pro systems against affected server
-the issue is uni-directional i.e. copy fails server to client but succeeds client to server
-I don't notice any event log entries at the time I attempt to copy the file.
What DOES WORK
-downgrading to RDP 7.1 on the client WORKS
-modifying the file > 2 characters -- either changing existing characters or adding characters (CRLFs) WORKS
-compressing the file WORKS e.g. to a ZIP file
-copying OTHER files of smaller, same, and larger sizes WORKS
What DOES NOT WORK?
-changing the name and/or extension does not work
-copying and pasting affected content into a text file that used to have different content and did copy before, then does not work
-Disabling SMB3 and SMB2 does not work
-modifying TCP auto-tuning does not work
-disabling WinFW on both client and server does not work
As noted above, if I modify the affected file to sanitize it's contents, it will work, so it's not much help.  I'm going to try to get a sample file exported that I can upload since I can't give you the original.
Your help is greatly appreciated!
Thanks.
Kevin

Hi Dharmesh,
Thanks for your reply!
The issue does seem to affect multiple users.  I'm not fully clear on whether it's multiple users and the same employee's file, but I suspect so.
The issue happens with a specific XML file and I've since determined that it seems to affect the exported RoE XML file for one employee (record?) in the software.  Other employees appear to work.
The biggest issue is that there's limited support from the vendor in this scenario.  Their app is supported on 2012 R2 RDS.
What I can't quite wrap my head around are
why does it work in RDP 7.1 but not 8.1?  What differences between the two for drive redirection would have it work in 7.1 and not 8.1?
when I examine the affected file, it really doesn't appear any different than one that works.  I used Notepad++ and it shows the encoding as the same and there doesn't appear to be any invalid characters in the affected file.  I wondered
if there was some string of characters that was being misinterpreted by RDP or some other operation and blocked somehow but besides having disabled AV and firewall software on both ends, I'm not sure what else I could change to test that further
Since it seems to affect only the one employee's XML file AND since modifying that file to change details in order to post it online would then make that file able to be copied, it seems I won't be able to post a sample.  Too bad.
Kevin

Similar Messages

  • Copying hangs when copying large files from DVD

    I'm having trouble copying large files (>2GB) from DVDs to my built-in hard drive. When I drag the file icon from the DVD window to the desktop, the progress bar pops up almost immediately, and says "0 KB of 2.3 GB copied" and "Estimated time left: 1 minute" -- and then it just sits there, doing nothing. In some cases, after five minutes or so of inactivity, the copy finally begins... but most of the time it never does. Force-Quit doesn't help; the only way out is to do an emergency restart and try again.
    This problem began when I upgraded to Tiger, and several members of my office group have been experiencing the same problem on their own computers as well.
    I've poked around the forum looking for answers but the only thing I could find that looked related was a conflict between iSight and some third-party external hard drives... but none of us have iSight, and none of us are using third-party external drives, so clearly that's not the issue we'rehaving.
    Any help out there?
    iBook G4   Mac OS X (10.4.6)  

    Michael, I occasionally notice anomolous behaviour when files get dragged between volumes. Mostly the copying window shows an accurate and immediate indication of what's going on, but other times it just looks like nothing's happening, the display never changes, yet, it is in fact copying the files over. Now, if you're copying 2gb files from DVD to HD, it's gonna take some time, more than 5 minutes, so I'm wondering how long you've left it before forcing it to quit?

  • When copying raw files from Extreme IV card to hardrive, finder copies a few files then exits task and wipes the card clean of all images.

    When copying raw files from Extreme IV card to hardrive, finder copies a few files then exits task and wipes the card clean of all images.  Have tried new card and card-reader to no avail.  Have done this many times on other macs with no problems.
    Can edit files off the card, in CameraRaw, prior to 'copying' them, ie can 'save as' to the hard drive, so files seem okay on card, before I try to copy them using copy and paste.
    Running OS 10.8.3 on a new macbook pro.

    Rita,
    The process for determining what is causing the files to be corrupt can be a tedious one depending on the following:
    1. Can you review the images on your camera's LCD screen without problems? If not then the problem is most probably either a corrupted/faulty memory card or a faulty camera. If this is the case then your best bet at recovery (of sorts) is to use a program such as BrezzeBrowser from BreezeSys to extract the embedded jpeg versions of the corrupted RAW files from within each RAW file. Chances are, you won't manage to actually repair the corrupted RAW file but the jpegs are better than nothing.
    2. If the images review ok on your camera but are corrupted when viewing on your computer and there seems to be no other problem with other files on your computer then it may be either a faulty card reader or usb/firewire cable between the card reader and the computer that is the culprit. Try the card reader with a different cable and also try a different card reader to determine the cause of the corruption.
    3. If your symptoms are that you get different files corrupting over time when viewing them on your computer then the problem may be any one of either failing RAM memory, hard disk, hard disk controller or IDE/SATA hard disk cables. This is where the troubleshooting can be pretty tedious testing then eliminating each item from the list of suspicious pieces of hardware. Try the card and card reader on an altogether different computer to see if the files transfer correctly to that computer. If so then the problem lies with your computer hardware. If you haven't already done so at this stage, backup all your important data immediately (hopefully you keep backs anyway).
    Hope this helps.

  • Can't shown chinese text when copy & paste data from server to Outlook, Word & notepad, etc.( Office 2013)

    Can't shown chinese text when copy & paste data from server to Outlook, Word & notepad, etc.( Office 2013)

    Hi
    As per the information and details provided by you, when you copy & paste a data from server to Outlook, word, notepad, then you do not receive the Chinese text.
    For Outlook, please follow these steps: -
    Close and reopen Outlook in your western locale (or switch the windows system to your Western locale if you changed that),
    Manually change the message from Western to Chinese encoding, which you can do in all versions up to Outlook 2007.
    If you want to stay in your Chinese locale in Outlook 2007, then:
    After you hit reply, go to the Option tab > More Options.
    In the Encoding drop-down menu, select the Chinese encoding you are working in (Not the encoding used by the person who will receive the message)
    Note:
    To set the Chinese locale in all versions up to 2007 the controls are under.
    Tools > Options. In Outlook 2010 File tab > Options > Advanced > International options.
    Unicode (UTF-8)
    is a good setting for multilingual users.
    Check the
    Auto select 2007)/ Automatically select (2010) encoding box.
    I hope this information will be helpful for you.
    Thanks and regards
    Shweta@G 

  • OS X 10.4.7 server: Samba leaking ram when copying large files from windows

    Hi.
    I'm having problems with:
    Copying files from windows clients to OS X Server 10.4.7 uses up the RAM needed for the files to be copied.
    If I copy a 3GB file, it uses 3GB of RAM
    If I copy a 5GB file, it uses its 4GB of RAM, plus VM.
    If I copy 11GB of files (that is several little files, plus some big by dropping a folder to the share), it consumes all the RAM the machine has, and because of VM paging, whatever other clients are reading from the disk (XRaid) start to have hiccups.
    The RAM of the machine NEVER gets flushed after the copying has finished. So Samba is unusable as it is. I have four Xserves with 4GB of RAM, with 4 XRaids connected each one to each Xserve with its Apple Fiber Channel card and cables.
    I already did the ack=0 thing, got the size of inet.tcp.sendspace and rcvspace to 8388608 and the buffer to 16777216.
    The transfers rates are up to 70MB/s with 2 channel 1gb trunking, and at very sustained rates..
    We are using these to edit video content (DV 25) in Sony Vegas with 2 or 3 clients for each server.
    Any suggestions?
    Thanks very much.
    XServe G5 cluster node (4) / XRaid 7TB (4)   Mac OS X (10.4.7)  

    Michael, I occasionally notice anomolous behaviour when files get dragged between volumes. Mostly the copying window shows an accurate and immediate indication of what's going on, but other times it just looks like nothing's happening, the display never changes, yet, it is in fact copying the files over. Now, if you're copying 2gb files from DVD to HD, it's gonna take some time, more than 5 minutes, so I'm wondering how long you've left it before forcing it to quit?

  • Error code 8084 when copying large files from VNX servers

    Hi,
    We are experiencing problems when attempting to copy large files from our central VNX servers (EMC) using the connection format of smb://<host>/.  With Mavericks this will be SMB2, presumably.  Anything over a few MB in size fails with the error:
    The operation can’t be completed because an unexpected error occurred (error code -8084)
    Looking in the Console logs we see the following:
    kernel[0]: smb2_smb_read_write_fill: len got reduced, must be running low on credits
    If we attempt this on OS X Mountain Lion or below we have no problems.
    If, with Mavericks, we connect using the format cifs://<host>/ then file transfers work.
    Has anyone come across this before?  Thinking I should also post a bug...
    Cheers,
    Ian
    IT Infrastructure, Open University, UK

    Not helping but others are having the same problem...
    http://discussions.apple.com/thread.jspa?messageID=2564624

  • Copy a file from server to the client - URLConnection to a Portal page

    Hello:
    I have an application running on the client side. When the app startup it must open a file which is at the server side, to be more specific, the file is at KM content of the portal.
    I try to read it with URLConnection to copy the file from the server to the client, the app will do it, but "Server returned HTTP response code: 401 for URL:"
    If you copy&paste the url's file directly on the browser (http://host:port/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/ImagenesIM/file.txt) a login popup (look and feel windows) is display. After entering the user and psw the file is open without problem.
    Any idea what can I use or how do it ?.
    I think that probably I have to move the app to a was directory instead of portal directory.
    The app is execute via *.jnlp with a link at a portal page.
    Thanks a lot for your time.

    Javier,
    401 means authentication error, i.e. your application is not authenticated to KM.
    What you can do? Actually, it depends. Check current cookies in your application, probably there are SSO coockie or J2EE authentication cookie. You may try to set this cookies in URLConnection (via addHeader). Otherwise you have to supply authentication creadentials to URLConnection (also via addHeader, most probably, via Basic HTTP authentication scheme).
    Valery Silaev
    EPAM Systems
    http://www.NetWeaverTeam.com

  • Error -1309 when copying a file from internal to external HD

    I am trying to copy a disk image of an iDVD project over to an external hard drive.
    I want to transfer the file to my laptop which burns DVDs at 8x as opposed to the 2x of my iMac 20.
    During repeated attempts, near the very end of the copying process, I get this error:
    “Sorry, the operation could not be completed because an unexpected error occurred
    (Error code -1309)”
    I can find no reference to this error code number in Apple’s site or from a Google search.
    I have verified and repaired permissions on the disk being copied from (the startup disk) and have verified the disk of the external (Western Digital 120GB).
    I have also verified that the file in question plays correctly in DVD player on the iMac 20.
    I have also tried copying other files to the external (including disk images) and they copy fine, which leads me to believe there is a problem with this particular file.
    I can try re-creating the disk image again in iDVD, but because its almost a 2 hour program, it took most of the day to do that.
    So before I take that step again:
    can anyone please shed some light on what my problem could be, or ways to troubleshoot further? Thank you.

    Can I reformat in Disk Utility?
    Yes - keep in mind that reformating will erase anything on the drive.
    From the Disk Utility Help files:
    1. If you want to erase an external disk, connect the disk to your computer.
    2. In Disk Utility, select the disk or volume in the list on the left.
    3. Click Erase.
    4. Choose a format from the Volume Format pop-up menu. Usually you will choose Mac OS Extended (Journaled).
    5. Type a name for the disk or volume.
    6. If you're erasing a disk and plan to use the disk with Mac OS 9, select the checkbox to install the Mac OS 9 drivers.
    7. You do not need to install the Mac OS 9 drivers to use the disk with the Classic environment.
    8. If you want to erase the entire contents of the disk by writing zeros, click Security Options, then select the option you want and click OK.
    9. Click Erase.

  • Copying design files from server to Synology NAS

    We have moved the Design files from one server to another - Now the links are broken. How can I fix that automatically, so all the files would find their links again? Indesign finds the links automatically, so everything works with indesign, but adobe Illustrator doesn't find the links. The path of the both servers are exactly the same(shown in illustrator).

    Drive letters are user specific. When you run jboss it runs as you, with your shared drives. When you run it as a service, it runs as guest or another user so your drive letters are meaningless.
    Either setup the user or use UNC

  • Loosing of object state when it is called from server to client side

    Hi,
    Iam loosing an object values when that object is returning from server side to client side.
    Even my server class implements serilizable interface, the object is not retaing its values..
    can any one suggest regarding this Issue..
    Regards,
    Dev

    got the solution

  • Error message -36 when copying large  files from Firewire drive

    I have kept several large audio files as backup on an external LaCie Firewire drive. When trying to copying them back, almost all of them starts to copy, then stops and (after a minute or so) report error message -36.
    I have run both Apple's Disktools and the latest Diskwarrior, but no errors are reported. I gues the audio files must have become corrupted... What do you suggest that I do? The contain valuable audio information that I really don't want to get lost.
    Helge K.

    Not helping but others are having the same problem...
    http://discussions.apple.com/thread.jspa?messageID=2564624

  • LabView 2012 hangs when opening a file from LabView 8.5

    I have a program originally built in LabView 8.5. I am attempting to migrate it to a new machine running LabView 2012. I can open the program for the first time and make the adjustments needed to clear a few errors having to do with updated VI's and controls. I can then run the VI but after this I close out of LabView and when I attempt to reopen the file LabView hangs on the splash screen while loading the VI.
    Any help would be appriciated. Thank you.
    -Sam

    Please post your original VI and the converted one so we can take a look.
    This account is no longer active. Contact ShadesOfGray for current posts and information.

  • PC session hangs when launch a query from Oracle 9i client to 10g database

    I have a pc with Oracle 9.2.0.1.0 client installed. The database server level is 10.1.0.5.
    When I launch a query from a client session the pc sesssion locks up and doesn't return any results. When I launch the same query from the database server , or from other pcs with Oracle client 10 installed , I get results almost immediately from the query.
    The pc in question is running Windows XP Service pack 2. Other queries run fine from the pc.
    Are there are any known issues with Oracle 9 clients querying an Oracle 10 database ?

    Thank you for your reply. No, I must admit I didn't think of looking at the wait events. I will look at this as soon as I get a chance.
    Thanks again for your suggestion.

  • How to copy file from server to another machine in network through JSP

    Hello!
    any body can solve my problem.
    i m working in JSP. i want to copy a file from server on which JSP engine is running to another computer in the same network.
    i used Java File Object to copy file from one machine to another in network. and its working fine on network. but the problem is when i used the same code in web page there is exception which is Access is Denied. what i should do now.
    i m writing the code i m using in my JSP page
    String fileToCopy = "C:/oracle/Apache/Apache/htdocs/FAO/FAO_MiddleFrame.jsp";
         String destinationDir = "\\\\af09\\c";
    File source = new File(fileToCopy);
    String fileName1 = source.getName();
    if ((!destinationDir.endsWith("\\")) && (!destinationDir.endsWith("/"))) {
    destinationDir = destinationDir + "\\";
    File destination = new File(destinationDir + fileName1);
    if (!destination.exists()) {
    if (!destination.createNewFile()) {
    //throw new IOException("Unable to create file. May be you don't have permissions.");
    byte[] buffer = new byte[1024];
    FileInputStream in = new FileInputStream(source);
    FileOutputStream outStream = new FileOutputStream(destination);
    int bytesRead = 0;
    while ((bytesRead = in.read(buffer)) != -1) {
    outStream.write(buffer, 0, bytesRead);
    out.println("File copied successfully ....");
    plz reply me as soon as possible.
    i will be very thankful
    Saad

    Thats the way it works. Cause servlet contaner doesnot allow other machines in the network to access other than machine which it came from as in case of applets. What you can do is if the other machine is also based on webserver or app server .. you can upload the file as it gets to that page do the process.
    I would like to hear more on my comments..
    Suggestions ??
    Ban

  • Unresponsive system when copying large files drive-to-drive (x86_64)

    I'm running Arch x86_64 on a quad core Xeon processor/P35 motherboard w/ 4 gigs of RAM.  I also have two SATAII, 7200 RPM HDDs.  For the most part, Arch is a VERY responsive platform.  I am noticing some really odd unresponsiveness that only happens when I copy large files from one hdd to another hdd.
    Symptoms:
    -Mouse cursor skips (doesn't move smoothly)
    -Windows such as firefox or shell don't move smoothly across the screen if I move them
    -Keyboard lag - as I type this post ) my fingers are going faster than the text is appearing
    Once the copy is finished, everything is normal again.  I swear I read someone else reporting this behavior, I just can't find it. Two questions:
    1) Is normal for the x86_64 kernel?
    2) If not, what can I tweak to remedy it?
    EDIT: Ack!  Found the post I remembered reading:
    http://bbs.archlinux.org/viewtopic.php?id=70525
    Last edited by graysky (2009-07-04 10:51:35)

    if the file is bigger than 4gig(uncompressed) then u need swap partition, as the first thing it does is copy the file to memory and if it overflows it is bad. then your server is 1/3 options, either server/middle/desktop. if it is server, it doesn't care what framerate u get on X. then there is the timer. I'm running mine at 300 but arch's default should be 1000. the higher it is the more it "checks" what needs to be done with files, events, etc. then there is the file system type and block size factor. if ur block size is really low like me(1024k) then ur hd has to write more times(on and off) just to write out the huge file. so for huge files, format with huge block size(4096k?) so that the hd does less work.
    Last edited by darthaxul (2009-07-04 19:49:07)

Maybe you are looking for

  • Concept of Time-Dependency in BW

    Hello Masters, What is the Concept of Time-Dependency in BW? What are           1.     Time-Dependent Attributes           2.     Time-Dependent Hierarchies           3.     Time-Dependent Aggregates And when why and when do we need/use them? Please

  • What are the most demanded skills in sharepoint 2013 that is most in demand

    I have been working on sharepoint 2010 from past 3.5 years.  Now I have stared to work on sharepoint 2013. SharePoint 2013 is also as vast as SharePoint  2010 is. I want to know which all features or modules of sharepoint 2013 are most in demand acro

  • How to get out of disk mode

    After I reset my iPod in disk mode, I can't seem to get out of it. I try pressing the right buttons, but after the Apple logo shows up, the folder with the ! comes back. What should I do?

  • How can i acess my serial number

    How can i acess my serial number if my Iphone 5C is completly dead and the charger doesn't work.

  • Mobile Web Server installation failure

    Hi Forum, I have used the server on my phone previously. It worked well. Now after a updating my phone, I cannot even install the application. It runs through the installtion and then starts a "installing web server" half way through which it fails!