Solved

SSIS Temp Buffer

Posted on 2009-07-07
11
1,728 Views
Last Modified: 2013-11-30
I am running a series of DTS package on SQL Server 2005 each night. They are configured to run with the SQL Agent one after another.
However every night, there is at least one job (different every night) that fails to run, and I get the error about the BufferTempStoragePath:

The buffer manager cannot create a temporary storage file on any path in the BufferTempStoragePath property. There is an incorrect file name or no permission.  

The server is running Windows 2008, each of the Data Flow tasks is set to use the recommended 10Mb, and I am using an SSIS Configurations to set the BufferTempStoragePath to a folder on a different drive from the OS.
The server has 4GB of memory, and as recommended only 2GB are assigned to SQL. The user under which the jobs run has full permissions on the alloted folder.

Can anyone shed any light on this please?


0
Comment
Question by:ilikemycar
  • 5
  • 5
11 Comments
 
LVL 57

Expert Comment

by:Raja Jegan R
ID: 24792351
As message says, the temporary files are created in directory specified by BufferTempStoragePath property of data flow task. By default it uses user's temporary files folder (%TEMP%), but can be overridden for each data flow task. There is a problem with this path, and data flow can't create temporary files there. Check that the path is correct, you have permissions to write to this path, and there is enough free space during package execution.

http://www.safnet.com/writing/tech/archives/2008/02/ssis_suddenly_c.html

Hope this helps
0
 

Author Comment

by:ilikemycar
ID: 24792423
Thanks for your response. I'd come the article before I got to posting here.
The %temp% folder does exist, and also the path I have configured in SSIS Configurations is valid, and I do have full permissions. There is also over 30GB free space on the drive.
The path & permissions must be valid as its a different package that fails each night, and it appears to be completely random which.
0
 
LVL 57

Expert Comment

by:Raja Jegan R
ID: 24792472
Is there by any possibility that package uses some other user credentials for execution since it is scheduled in a job
0
Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

 

Author Comment

by:ilikemycar
ID: 24792591
No. Have created a SQL proxy account for a domain user account specifically for this task.
All analysis steps in job are set to run under this proxy account.
0
 
LVL 57

Expert Comment

by:Raja Jegan R
ID: 24792613
Kindly verify whether this proxy account holds privileges to create the temp files in the mentioned path.
0
 

Author Comment

by:ilikemycar
ID: 24792666
That's a tricky one.
How would I go about verifying that?
The domain account that the proxy is linked definitely has, but how do I check the sql proxy account directly?
0
 
LVL 57

Expert Comment

by:Raja Jegan R
ID: 24793157
Try creating some file in that path using your SSIS package itself.
It would tell you whether you have access or not right.
0
 

Author Comment

by:ilikemycar
ID: 24794552
Sorry, should have thought about that before I responded.
It must have because I'm outputting raw files of all the data processed to an adjacent directory and they have identical permissions
0
 
LVL 57

Expert Comment

by:Raja Jegan R
ID: 24794573
Can you kindly confirm that for this folder.
0
 

Author Comment

by:ilikemycar
ID: 24795042
I just tweaked one of the packages to write this raw file output the same folder as the temp buffer storage and there's now a raw file there.
Any other ideas would be very much appreciated?
0
 
LVL 2

Accepted Solution

by:
fullyblaze earned 500 total points
ID: 24799148
Does it run sucessfully when you're not doing it through the agent - ie using dtexec or in visual studio?
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
SQL SERVER - Index skipped a number 2 26
Row insertion failed. Array 5 48
Download ms sql express. 2 27
SQL Error when trigger fires in SQL Server 2008 R2 6 14
JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question