June 25, 2004 at 12:36 pm
I'm tangled up in permissions and could sure use a bit of help here. I have an application and a database that work fine in SQL 7, but as I'm moving to SQL 2000 (on a server with much tighter security) things are breaking all over the place.
the newest situation is as follows:
So, I think that the BULK INSERT stored procedure somehow has to run as the bulkuser account, yet be able to access the temp tables that were created in the context of the user running the import process.
So...finally...the questions:
Thanks in advance!
p.s. I found this link and have switched to a staging table in my db, but it still hasn't fixed the problem...BUG: Cannot Perform BULK INSERT with Bulkadmin Privileges. I assume my bulkuser account was not granted db_owner or ddl_admin on TEMPDB...
June 28, 2004 at 8:00 am
This was removed by the editor as SPAM
June 28, 2004 at 11:17 am
If you are moving to a SQL 2000 box with 'much tighter security', why not make the security the same as the original box and begin 'tightening' one piece at a time? It may be the result of something you have changed.
Linda
June 28, 2004 at 3:12 pm
Thanks for the response, Linda. The 'much tighter security' is out of my control! My database is being moved from a departmental server (mine) to a corporate server in which I have no control. I'm a dbo of my database, but have no sysadmin priveledges.
The big issue is letting users BULK INSERT without being BULK ADMINS. From various posts here and in the security forum I've given up on this approach. What I'm doing now is creating a separate connection from my client app that uses the bulk_user account to do the bulk insert to a staging table. THEN the data can be handled normally by my DB.
Still, it confuses me. I wish there were some documentation explaining why I can't do what I was trying to do. Testing makes me believe that the BULK INSERT priveledge is not transferrable via Stored procedure in the way that typical GRANT permissions are, but I'd still like to see it in print somewhere!
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply