linked server to excel permissions -
ok, give up, have no clue , desperately need help. loath excel storing data but... can do?
what want do:
allow user data .xls file via stored procedure , linked server (using microsoft.ace.oledb.12.0)
tthe problem:
user gets error:
ole db provider "microsoft.ace.oledb.12.0" linked server "ls" returned message "the microsoft access database engine cannot open or write file ''. opened exclusively user, or need permission view , write data.". msg 7303, level 16, state 1, line 1 cannot initialize data source object of ole db provider "microsoft.ace.oledb.12.0" linked server "ls".
administrator runs select * ls...[data$]
, gets full rowset
what did:
i gave user permissions temp in sql service account directory.
user has full control on file linked server connected.
what sure of:
file not opened user.
resolved
there custom *.mdw file provider (i found somewhere in registry, hkey_local_machine/software/microsoft) turned out user didn't have permissions open file.
thx answers :)
Comments
Post a Comment