Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


VBScript Error 70 Permissions

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,97
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> VBScript Error 70 Permissions
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 VBScript Error 70 Permissions - 6/3/2001 10:43:37 PM   
  jennyd

 

Posts: 6
Score: 0
Joined: 6/1/2001
From: USA
Status: offline
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!.
 
 
Post #: 1
 
 Re: VBScript Error 70 Permissions - 6/3/2001 10:44:53 PM   
  berand

 

Posts: 13
Score: 0
Joined: 5/29/2001
From: USA
Status: offline
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

(in reply to jennyd)
 
 
Post #: 2
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> VBScript Error 70 Permissions Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts