Re: Printing from ASP.NET code behind
From: Hans Kesting (news.2.hansdk_at_spamgourmet.com)
Date: 01/19/05
- Next message: Peter Chadwick (MCP): "Re: open page and set session var. with one click"
- Previous message: Rolf Barbakken: "Re: Showing a Exchange 2000/2003 resource calendar on a webpage"
- In reply to: Gravy: "Printing from ASP.NET code behind"
- Next in thread: Gravy: "Re: Printing from ASP.NET code behind"
- Reply: Gravy: "Re: Printing from ASP.NET code behind"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 19 Jan 2005 13:50:04 +0100
Gravy wrote:
> I have a requirement that I need to print a crystal report from ASP.NET.
>
> Now, the problem I have is that the default account for ASPNET_WP.EXE is
> ASPNET under windows XP. I want to change this to another account that has a
> printer setup on. In W2k3 I know it is possible to change the process
> identity but is it possible to do the same in XP?
>
> One thing I don't want to do is to change the machine.config file, I only
> want this one web site to run with this different user account.
>
> I did read that if you set the Application Protection (in IIS) to high then
> it is possible to change the identity of the resulting COM+ package this is
> created. However, having changes this setting to High my web app still uses
> the one ASPNET_WP.exe process (when looking at Task Manager). The new COM+
> package for this site isn't activated either.
>
> Can anyone tell me what I'm doing wrong? Why don't I see more than one
> ASPNET_WP.EXE? Is there a better way to give me ASP.NET the ability to print
> without user intervention?
>
> Thanks for any help.
Question: where do you expect the printing to occur?
When you succeed in printing from code-behind, it will be on the server,
not on the client!
Hans Kesting
- Next message: Peter Chadwick (MCP): "Re: open page and set session var. with one click"
- Previous message: Rolf Barbakken: "Re: Showing a Exchange 2000/2003 resource calendar on a webpage"
- In reply to: Gravy: "Printing from ASP.NET code behind"
- Next in thread: Gravy: "Re: Printing from ASP.NET code behind"
- Reply: Gravy: "Re: Printing from ASP.NET code behind"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|