Re: Chached credentials + ISAPI application print to PDF file
From: Tom Kaminski [MVP] ((A_at_T))
Date: 06/19/03
- Next message: Chris Adams \(IIS\): "Re: Wrong page when accessing URL via SSL"
- Previous message: Jonathan: "Re: hoax virus"
- In reply to: Israel: "Re: Chached credentials + ISAPI application print to PDF file"
- Next in thread: israel: "Re: Chached credentials + ISAPI application print to PDF file"
- Reply: israel: "Re: Chached credentials + ISAPI application print to PDF file"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 19 Jun 2003 14:02:53 -0400
"Israel" <goldfinger38@hotmail.com> wrote in message
news:006101c33689$8812f8b0$a501280a@phx.gbl...
>
> >-----Original Message-----
> >"Israel" <goldfinger38@hotmail.com> wrote in message
> >news:00eb01c3367c$259a4e20$a301280a@phx.gbl...
> >> Hello all,
> >> I have an ISAPI application running on Win2K Server/IIS
> 5.
> >> I use Basic authentication for accessing the
> application.
> >> Problems:
> >> 1.
> >> One of the app functions is to print to a PDF file. The
> >> file must be printed to a certain path under the
> directory
> >> where the ISAPI dll resides (the virtula directory of
> the
> >> application).
> >> This printout is carried out using a printer driver that
> >> takes whatever input it gets and writes out a PDF file
> >> containing the input. It appears as a standard printer
> in
> >> the Printers folder.
> >> The printer driver fails to write to the needed file and
> >> instead prints to a file in the temp dir of the user
> >> accessing the site.
> >> I made user accessing the application an administrator.
> I
> >> gave Write Permission to the application using the
> >> directory security tab for the virtual directory of the
> >> application. Nothing changed the situation.
> >> How can I give the printer driver permissions to write
> the
> >> needed directory?
> >
> >It sounds like the ISAPI is using the system temp
> variable. If it were a
> >permissions issue I would expect you to get an error.
> Chek to see if you
> >can change the temp (or tmp) var.
>
> Thanks Tom,
> There is no error message as the normal behaviour of the
> driver is to print to the USER's temp directory if the
> path given to it does not exist (or unreachable for any
> reason). Thats why I think it's permissions related.
> Using another web server (tiny server used for debugging
> purposes), the problem does not rise. This server of
> course does not support any notion of virtual directory
> security like IIS.
> What can you conclude from that?
Hmmm ... not sure where to go from here.
Are you passing the actual physical path to the ISAPI?
-- Tom Kaminski IIS MVP http://www.iistoolshed.com/ - tools, scripts, and utilities for running IIS http://mvp.support.microsoft.com/ http://www.microsoft.com/windowsserver2003/community/centers/iis/
- Next message: Chris Adams \(IIS\): "Re: Wrong page when accessing URL via SSL"
- Previous message: Jonathan: "Re: hoax virus"
- In reply to: Israel: "Re: Chached credentials + ISAPI application print to PDF file"
- Next in thread: israel: "Re: Chached credentials + ISAPI application print to PDF file"
- Reply: israel: "Re: Chached credentials + ISAPI application print to PDF file"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|