Receiving VBSCript runtime error number 70

Posted on 2009-02-19
Last Modified: 2012-05-06
We are recieving the following error message:

Error Source: Microsoft VBScript runtime error
VB Scripting Error Number: 70
VB Scripting Error Description:  Permission denied
Page generating error: PUpload_3.asp
Function Generating Error: processFiles_OnNT

We are running proprietary software.  Within this software, we are able to upload a data file into a batch to enable the user to update transactions with ease.  Of course these are our web pages.  This error led me to believe that it was a page issue.  However, we have four distinct areas ( regions, if you will) on two windows servers.  The web pages that are used to complete this process is the same in all four regions.  However, this process only works in three.  

Is there some type of set up, through IIS, that could be different causing this issue?  I know nothing about IIS.  Or other server security?  Other suggestions on how to resolve this issue?
Question by:jejuca
    LVL 22

    Expert Comment

    What type of file are they uploading?
    If they are binary files of some sort and the region and/or language is different for these regions that it could be that the system cannot handle the language that the file is in, or maybe the person creating the file is using a different language on their machine when they create the file.

    If these are text files then is there authentication on the site that is looking at the user credentials of the person uploading the file?  If so, then there might be an include or something in the code that the person from the region that is not working has not been granted access to ... assuming they can access any of the pages.  

    Does the region that is having a problem experience this on either of the two servers or does it only happen on one server?

    Author Comment

    cj 1969

    They are uploading a text file.  Simple space delimited.  We have four regions:
    Prod server - - Prod and User
    Test server - - Payer and QA

    The process works within User, Payer, and QA.  I use the same text file for upload in all four, but only works in three.
    LVL 22

    Expert Comment

    Can you explain a little more of what the regions or areas are.
    Are these actual sites on the server?  Are they virtual directories within a single site on the server?
    What distinguishes the Prod and User areas on that server?

    My initial thought is that this is going to be a permissions issue.

    Author Comment

    Well, remember I am not real well versed when it comes to server set up.  

    Each server has a C drive and D drive.  

    The C drive, among other things contain all of our web pages, functions, includes files, ect.   There is a different folder for each, WebProd, WebUser, SelfServeProd, etc.
    The D drive contains the application, application security, and data.  There too is a seperate folder for each region.

    There is a seperate online service for each, but only one IIS

    LVL 22

    Expert Comment

    Are you using Windows authentication or just anonymous when accessing the web sites?
    Again, this sounds like a permissions issue.

    At what point is the application in the Prod directory not working?
    Do the pages display and the prompts show up?  or is it just the file upload process that is not working?


    Author Comment

    Serve security or authentication...we have server security down to user groups and folders.  Read, write, delete capabilities.  This is for each folder on the D drive, and the folders within InetPub on the C drive.  Crazy, I know. Controlled by our user name???  However, I have wide open access, to all folders and this process does not work for me in Prod either.  I spoke with the server admin folks, and they say that nothing has been changed.

    The user accesses a web page.  Then he is able to browse for a file to upload.  He selects the file and clicks "process external file' and then he gets the error.  

    Yes, it does sound like a permissions issue.  Could you tell me where to locate these permissions controls?  Perhaps I can look???
    LVL 22

    Accepted Solution

    There are two things to check that I can think of ...
    1. If using .Net, make sure that the version of .Net for this directory/Application is set correctly, check one of the other apps to verify.
    2. Check the file upload routine and see where it is trying to store the file.
         - Check that the code is pointing to the correct location
         - Check that the NTFS file permissions on the correct directory allow who needs access and that there are no deny permissions.

    Author Closing Comment

    Thank you for your time and understanding.  I did look at where the code is pointing to, and this will give me enough to go on when pointing our server techs in the direction they need to look

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Suggested Solutions

    First of all, clustering IIS is something you should rarely consider doing. In almost all cases, Microsoft Network Load Balancing (NLB) ( is a much better solution when you need to p…
    When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
    how to add IIS SMTP to handle application/Scanner relays into office 365.
    In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    7 Experts available now in Live!

    Get 1:1 Help Now