I feel that this has something to do with the fact that this page is opened
with a javascript window.open and also occurs if I response.redirect to this
page. If I open this up directly, it appears to work fine.
"Aaron [SQL Server MVP]" wrote:
> Where do you set objFileStream to nothing? Where do you set objFSO to
> nothing?
>
>
> On 2/28/05 8:13 PM, in article
> 5BBADEF8-6674-4137-A166-, "Salty Dog"
> <> wrote:
>
> > Code:
> > PrinterShare = "\\Garchive\ISLaser"
> >
> > Set objFileStream = objFSO.CreateTextFile(PrinterShare)
> > objFileStream.Write("test")
> > objFileStream.close()
> >
> > This code is on a page that if redirected to or javascript window.opened
> > then I'll get a "Permission denied" error message.
> > If I wait maybe 3-5 minutes, I can refresh the page and the print job will
> > print successfully.
>
>