MS Office 365 ProPlus, Access 2007 - 2016
I have a simple vbs script that runs a macro inside an MSACCESS DB...
set accessApp = CreateObject("Access.Application")
accessApp.OpenCurrentDatabase "\\sharedfileserver\somedir\mydb.accdb"
accessApp.Visible = false
accessApp.Run "Update_Burndown_Metrics"
accessApp.Quit
This script runs fine when I'm on my laptop (user = me). But when I log into another windows server and try to run the same script, I get...
Script C:\Users\dgauthie\Desktop\dbg.vbs
Line 4
Char 1
Error: Unknown runtime error
Code: 800A9D9F
Source: Microsoft VBScript runtime error
I wish I knew what 800A9D9F means. Not much in google for this one.
It feels like a permissions thing. But I'm logged in as me on both my laptop and the other windows server. (If it makes a diff, I log into the other server using "Remote Desktop Connection").
Any ideas ?
Addendum: Could the problem be rooted in a setting on the server where the problem exists... a safeguard against running code that manipulates external databases ? I'm a linux guy, not that familiar with windows, so I'm just grasping at straws.