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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VBScript Error 70 Permissions

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
0
0
I am using a VBScript to create mail messages Createobject("Outlook.Application"). The script is called from within a DOS batch file (Yes I know it is state of the ark but thats what the legacy application runs under). All works fine until the batch file is executed using an AT command on NT.
The AT is set up to run under a specific user account. The moment the VBScript tries to create the Outlook object I get an error 70. I guess that some form of registry update is trying to happen but I do not know which one I need to change permissions on. I have checked MSDN but have had no luck.

Please help a very very frustrated person, who's boss is now getting a bit upset that the new e-mailing system he promised his users does not work!.
 
I'm pretty sure that in order for Outlook to function a profile needs to be set up on the machine for the user calling it. In this case it is a service account of some sort. You should be able to figure out the reg keys necessary for a profile to be detected for the service account.

Otherwise, look at the MSDN article below...

HOWTO: Troubleshoot Run-time Error '70' in DCOM Applications

Hope it helps,
Rob
robschultz@yahoo.com
-Focus on the solution to the problem, not the obstacles in the way.-
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top