I built a SSRS 2005 report, which calls a stored proc on SQL Server 2005. The proc contains following code: CREATE TABLE #promo (promo VARCHAR(1000)) BULK INSERT #promo FROM '\\aseposretail\c$z\promo_names.txt' WITH ( --FIELDTERMINATOR = '', ROWTERMINATOR = '' ) SELECT * from #promoIt's ok when I manually execute the proc in SSMS.When I try to run the report from BIDS I got following error:*Cannot bulk load because the file "\aseposretail\c$z\promo_names.txt" could not be opened. Operating system error code 5(Access is denied.).*Note: I have gooled a bit and saw many questions on this but they are not relevant because I [b]CAN [/b]run the code no problem in [b]SSMS[/b]. It's the SSRS having the issue. I am gussing it's related to the security of SSRS but know little about this.
↧