B
Brian
Hi all,
I have an asp.net 2 application that get an image from SQL reporting
services and sends it to the printer. It works fine as a console application
on all computers and as an asp.net application on my windows xp computer.
However when I run it under IIS on a 2003 server it return the error
message:
"Settings to access printer '\\server\printer' are not valid."
I assume this is a security issue related to printing under IIS but am
unsure where to look. The application is configured with impersonation and
windows authentication etc.
Where can I look? What stops a IIS process from accessing network printers
under a windows account? How come it works on Windows XP but not Windows
2003?
Stack trace below but basically it calls PrintDocument.Print.
Thanks,
Brian
I have an asp.net 2 application that get an image from SQL reporting
services and sends it to the printer. It works fine as a console application
on all computers and as an asp.net application on my windows xp computer.
However when I run it under IIS on a 2003 server it return the error
message:
"Settings to access printer '\\server\printer' are not valid."
I assume this is a security issue related to printing under IIS but am
unsure where to look. The application is configured with impersonation and
windows authentication etc.
Where can I look? What stops a IIS process from accessing network printers
under a windows account? How come it works on Windows XP but not Windows
2003?
Stack trace below but basically it calls PrintDocument.Print.
Thanks,
Brian