1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2013
    Rep Power

    Desktop vs. Laptop scripting problem


    We have a somewhat complex scripting problem involving a web site, desktop computers and laptop computers.

    We have an internal web application made in ASP.NET. This web application uses a web service to generate a PDF file that is deposited in a transit folder on server file share. The web service returns the exact path where de PDF file is (something like \\Server\Dev\transit\123\file.pdf). Then, using client side javascript, we copy the file from the share using FileSystemObject. The web application allows us to select more than one file to download.

    Everything works perfectly with Windows XP. However, with Windows 7, the code work correctly on a desktop computer but almost always fails at the second file on a laptop computer. We put some debugging code and we can clearly see that the file exists on the server and that the destination folder exists too.

    The web site is in the Trusted site list so Protected Mode IE is disabled. We tried disabling UAC and running as administrator to no avail. All computers have been installed using the exact same pre-packaged Windows 7 image. Also, if we open in the file share in Windows Explorer (explorer.exe \\server\dev\transit) the download works as expected on laptop computers. We thought of disabling SMB 2.0 but it did not change anything.
    Since this application is used by our laptop users, it is intolerable to ask them to open the file share. Id like to have some ideas about what would be the difference with filesystemobject on a desktop and a laptop.

    Thank you for your help
  2. #2
  3. No Profile Picture
    Lost in code
    Devshed Supreme Being (6500+ posts)

    Join Date
    Dec 2004
    Rep Power
    what would be the difference with filesystemobject on a desktop and a laptop
    There is no difference.

    I have no idea what the problem might be, but the fact that one system is a desktop and another is a laptop isn't it. The problem could be due to the systems have different hardware, but it's not likely.

    Originally Posted by Spad
    Ah USB, the only rectangular connector where you have to make 3 attempts before you get it the right way around

IMN logo majestic logo threadwatch logo seochat tools logo