这个问题解决了。
挺尴尬,这个设置之前看过,也检查过,一共试了3台电脑,2台电脑是因为这个设置不正确却没有检查,唯一一个检查了这个设置的是另外一个错误提示,但没有注意,以为是一样的问题就来提问了。不过这里带来另一个问题,我已经设置了信任,但还是提示错误
已经设置在信任中心中设置了信任,但还是有这个错误
Programmatic access to Visual Basic Project is not trusted. StackTrace: 在 System.Dynamic.ComRuntimeHelpers
.CheckThrowException(Int32 hresult, ExcepInfo& excepInfo, UInt32 argErr, String message)
在 CallSite.Target(Closure , CallSite , ComObject )
在 System.Dynamic.UpdateDelegates.UpdateAndExecute1[T0,TRet](CallSite site, T0 arg0)
在 CallSite.Target(Closure , CallSite , Object )
在 System.Dynamic.UpdateDelegates.UpdateAndExecute1[T0,TRet](CallSite site, T0 arg0)
在 o5byLMZ3xl6Q5fjwlN.Fwk8XEGG9XMupNCD09.LbJg7kdJD(Command )
在 o5byLMZ3xl6Q5fjwlN.Fwk8XEGG9XMupNCD09.EwoHPV5QaT(Command )
在 LPAgent.Program.Ukw3wk8XE(NamedPipeConnection`2 , String )
步骤(sys:officehelper)执行失败,原因:命令返回失败,错误:Programmatic access to Visual Basic Project is not trusted.
停止动作:命令返回失败,错误:Programmatic access to Visual Basic Project is not trusted.