Can't copy files to media library with Vista/WMP11 when WMP11 is o

Discussion in 'Windows Media Player' started by Dale, Nov 10, 2006.

  1. Dale

    Dale Guest

    I am trying to copy my media library from my Windows 2003 server to my Vista
    RC2 computer. I executed the copy from the Vista PC to a mapped drive on the
    Windows 2003 server. About every 10 to 20 or so files, the process stops
    with an error that says:

    "The requested operation cannot be performed on a file that has a
    user-mapped section open."

    There is no program open on the server that has the file open.

    In the middle of writing this, I just tried closing WMP11 on the Vista PC
    and the problem goes away. I have always had WMP open when copying large
    numbers of media files so that the file monitoring functions would keep up
    and I don't have to either initiate a manual search or wait for the file
    monitoring to catch up later.

    Apparently this is another Vista/WMP11 bug in that WMP11 is opening the new
    files before they are even finished copying!
     
    Dale, Nov 10, 2006
    #1
    1. Advertisements

  2. Right, I racked my brains about this, as I'm sure I've read something
    similar which might affect this copy process - and "user mapped"
    twigged it a bit.

    Are you actually running windows media services on that server ?

    If so, it would be interesting to temporarily try the procedure listed
    below, to see if it resolves your problem :

    http://www.microsoft.com/windows/wi...nt.aspx#howtoconfigurecachingontheremoteshare

    It may, because that setting is related directly to how WMS caches
    files in memory, hence locking them while they're considered "in use"

    HTH
    Cheers - Neil
     
    Neil Smith [MVP Digital Media], Nov 10, 2006
    #2
    1. Advertisements

  3. Sorry, I also meant to cut and paste the informative text in the
    section above that link :


    "Caching
    When streaming from a file on the local hard disk, the file system
    cache manager buffers blocks of the file in memory. This helps improve
    performance and latency by reducing the need to access the hard disk.
    However, when accessing content on a remote share, file system caching
    will not always occur, because Windows Media Services opens files in
    sharing mode by default. Sharing mode allows other applications to
    read, modify, and delete files while the files are in use by the
    server. This makes it easy to update files, for example. However, in
    many cases, the increase in performance provided by caching can
    outweigh the advantage of being able to update files at any time."

    "In sharing mode, the server caches only a number of the most
    requested files. You can configure the server to cache all files by
    disabling sharing mode. You do this by adding a property and value to
    the servernamespace file. After sharing is disabled, other
    applications cannot modify or delete a file as long as it is being
    accessed by the server. For example, you must wait until no users are
    streaming a file before you can update it."

    HTH
    Cheers - Neil
     
    Neil Smith [MVP Digital Media], Nov 10, 2006
    #3
  4. Dale

    Dale Guest

    I am not running media services or any streaming on the server. And the
    error, as it turned out, was actually generated by Vista trying to access the
    file on Vista as it wrote what it had already successfully copied from the
    server. There is not a lot to be found on the "user-mapped" issue online or
    on MSDN and none of it appears to be about WMP or copying files.

    I still think that WMP 11 is trying to write something to the file before
    the file system even finishes the copy operation.
    --
    Dale Preston
    MCAD C#
    MCSE, MCDBA
     
    Dale, Nov 11, 2006
    #4
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.