Here's my scenario.
I have a PDF form that gets populated dynamically by XFDF files.
I create the XFDFs when needed using
myFSO.CreateTextFile(myFileName,true)
Works great first through. My problem occurs when you try to do this multiple times.
We get a
Microsoft JScript runtime error '800a0046'
Permission denied
/fso.asp, line 150
What I am guessing is happening is the asp page creates the XFDF file like it is suppose to, but is not releasing it afterward.
Here's my code
Is there something I am missing to get the web server to release the XFDF file to be written to or deleted again quickly?
"Every day is like a precious gift, you have to make it count" James Birrell 1993-2001
I have a PDF form that gets populated dynamically by XFDF files.
I create the XFDFs when needed using
myFSO.CreateTextFile(myFileName,true)
Works great first through. My problem occurs when you try to do this multiple times.
We get a
Microsoft JScript runtime error '800a0046'
Permission denied
/fso.asp, line 150
What I am guessing is happening is the asp page creates the XFDF file like it is suppose to, but is not releasing it afterward.
Here's my code
Code:
myFSO = Server.CreateObject("Scripting.filesystemobject")
myFSO.CreateTextFile(myFileName,true)
myWorkingText = myFSO.openTextFile(myFileName,ForWriting,true)
myWorkingText.write('<?xml version="1.0" encoding="UTF-8"?>');
myWorkingText.write('<xfdf xmlns="[URL unfurl="true"]http://ns.adobe.com/xfdf/"[/URL] xml:space="preserve">');
.
.
.
myWorkingText.write('</fields></xfdf>');
myWorkingText.Close();
myWorkingText = null;
Is there something I am missing to get the web server to release the XFDF file to be written to or deleted again quickly?
"Every day is like a precious gift, you have to make it count" James Birrell 1993-2001