Home > database > Within the local area network (LAN), the SQL server agent read access Shared file error. Cries for h
Within the local area network (LAN), the SQL server agent read access Shared file error. Cries for h
Time:11-05
Within the local area network (LAN), A, B two computers, computer B read table data in A computer to access the file A and B are equipped with SQL server2014
Computer communication, A, B and B computer already get the Shared access file permissions completely
Execute the following statement: The delete from newtable Insert into newtable SELECT * FROM OPENDATASOURCE (' Microsoft. Jet. The OLEDB. 4.0 ', 'Data Source=" \ \ 192.168.0.20 \ document \ BGKDB_GT MDB ". User ID=Admin; Password=')... LastData
Insert into BGKDB select * from newtable
An error is as follows: 11/04/2020 08:49:20, SSS, Error, 1, PC02 \ WINCC, SSS, SS, and Executed as user: NT AUTHORITY \ SYSTEM. Always initialize the data source object of OLE DB provider ". Microsoft Jet. The OLEDB. 4.0 "for linked server" (null) ". (SQLSTATE 42000) (7303) Error OLE DB provider ". Microsoft Jet. The OLEDB. 4.0 "for linked server" (null) "returned message" Microsoft Jet database engine can't open file '\ \ 192.168.0.20 \ document \ BGKDB_GT MDB', it has been opened by other users in the exclusive way or do not have permission to view the data, "the [SQLSTATE 01000] (Error 7412). The step failed., 00:00:00, 16741 2, 0,,,
1. The above statement in the query can be normal execution; 2. The above statement to replace the IP address for the local path to normal execution,
Yesterday a day didn't understand it, novice small white, cries for help
CodePudding user response:
You are creating a BI project, BI project permissions of the default user is the NT AUTHORITY \ SYSTEM, database so you also want to assign permissions to the user,