Ad hoc access to OLE DB provider 'Microsoft.Jet.OLEDB.4.0' has been denied.
用sa执行OpenDataSource语句正常,但是用Network Service执行就报这个错误. 说明是权限问题.把sysadmin的Server Roles赋给此用户,也可以正确执行.但是安全性太恐怖. google了一哈,基本都是引自
http://social.msdn.microsoft.com/Forums/en/sqldatabaseengine/thread/0cec4ce4