在使用Lotus Enterprise Integrator (LEI) Administrator新建与ODBC的连接时,选择Data Source时出现
"You pressed BREAK, but your request is still running on the server. Do you want to wait for it to complete? If you answer NO, the request will continue to execute on the server -- you just won't be waiting for it to finish."
查看LOG可以看到错误信息:
"xx/xx/xxxx 10:54:33 Error validating execution rights for agent 'CacheExecutor' in database 'decsadm.nsf'. Agent signer 'Enterprise Connector Products/Lotus Notes Companion Products', effective user 'Enterprise Connector Products/Lotus Notes Companion Products'.
Examine 'Programmability Restrictions' field in the Server Record."
在IBM网站可查看到错误原因与解决方案:
https://www-304.ibm.com/support/docview.wss?uid=swg21330648
根据这个来个图文解决方案(...因为本人刚接触lotus不到几天,找这些东西所在地方都找了好久,记下来先)
1.进入到Notes工作台
看到XXX`s Directory没,这里位于第二个。
2.进入Directory,展开Servers,选择All Server Documents,再选择对应的服务器进入
3.切换到Security标签栏
点击左上角Edit Server
看到Programmability Restrictions栏目,Run unrestricted methods and operations项,点击下拉框按钮
4.出现如图所示
在添加不在列表中的名称输入框中输入
Enterprise Connector Products/Lotus Notes Companion Products
点击添加,确定。
5.同样需要在Server Access栏目中的Access server添加上,步骤同4
这里注意下:还需要添加你当前需要访问的账号,要不然以后就无权限访问服务器了
6.IBM网站说还需要在“Run Unrestricted Lotus Script/Java Agents ”项上添加,但是7.0版未找到对应项
不加发现亦可正常添加ODBC链接了。
7.在添加Connection to ODBC的页面选择Data Source可以出现服务器上的ODBC数据源了