We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you a podcast all about Citrix Workspace, moving to the cloud, and analytics & intelligence. Episode 2 coming soon!Listen Now


Receiving VBSCript runtime error number 70

jejuca asked
Medium Priority
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?
Watch Question


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?


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.

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.


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


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?


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???
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.

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts


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
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.