Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error 70 - Permission denied - Microsoft VBScript runtime error

Status
Not open for further replies.

notrut

Programmer
Feb 6, 2002
87
CA
Hi,

I'm getting this error and its been really stumping me:

70 - Permission denied - Microsoft VBScript runtime error

Here's the line of code where the error is occuring in my ASP page:

Set rsYears = objYrCtrl.GetYrCtrlRecordsSOAPLocal(strUserID,strPassword)

Where rsYears is a recordset and objYrCtrl is a customized VB 6.0 DLL. I can see the DLL get hit in COM+

The weird part about this is that when I stick the ASP code into a test.vbs file and run it, everything works!! This app is alos currently working on a Windows 2000 server and I want to get it working on a Windows 2003 server.


Any ideas????
 
When you run it in a .vbs then it runs in the security context of your login.

When you run it off a web page then by default it runs as the local user named IUSR_MachineName well, except it has the name of your computer instead of MachineName

Try giving that account permissions.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top