October 26, 2011 at 11:46 am
Hello there,
I am trying to create many XML files to File system, by single call to a stored procedure. The procedure fails and it can generate only x no of files at a time. x is around 70-80. Is there any way, to create 10000 files or call the procedure multiple times ?
I tried looping and placing a delay, but that doesn't help. It starts giving error messages, after generating 70-80 files.
Thanks in advance!
October 26, 2011 at 11:55 am
What are the error messages you are receiving?
October 27, 2011 at 9:29 pm
Thank you Lynn.
The error is (after few files are generated):
Msg 50000, Level 16, State 1, Procedure dbo.WriteFiles, Line 51
Error whilst opening the File System Object
The line has a declaration, so it is not the correct line #.
I am using OLE automation procedures to write the files: sp_OACreate, sp_OADestroy etc.
Thanks again!
Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply