Re: Process Running under Wrong Credentials
From: Paul Roberts (PaulRoberts_at_nospam.nospam)
Date: 09/04/04
- Previous message: Bil Simser [MVP]: "Credentials across multiple web service boundaries"
- In reply to: Selden McCabe: "Process Running under Wrong Credentials"
- Messages sorted by: [ date ] [ thread ]
Date: Sat, 4 Sep 2004 10:48:56 +1000
Hi,
I have also found that when you do com interop from within a
webservice/webpage that the com component gets created under the ASPNet
accout regardless of who you impersonate in the web.config file. What we
did was create a com+ application and drop the DLL in there, but I don't
think you could do that with the office dll, but you could try. The other
option you have is to run the application on Windows 2003 server where the
com component will run under the account you specify.
Hope this helps.
Cheers
Paul
"Selden McCabe" <smccabe@integrantInc.com> wrote in message
news:eodbiRdkEHA.1404@TK2MSFTNGP09.phx.gbl...
> I have a web service that launches Winword. (I know that MS does not
> recommend this, but I think I've worked around most of the potential
> problems.)
>
> Anyhow, my problem is this: when word tries to print, I get an error that
> there are no printers installed.
>
> I've set up DCOMCNFG to run Word under a ficticious account
(OfficeAutoAcct)
> which DOES have printers installed.
> But when I watch the task manager during this, Winword is running under
> ASPNET.
>
> I've set the folder security to use OfficeAutoAcct for this web service.
> I've set dcomcnfig to use OfficeAutAcct.
> I can't figure out why it's running under ASPNET...
> Any ideas?
>
> Also, is there any other way to print a Word .Doc file without actually
> running Word?
>
> Thanks,
> ---Selden
>
>
>
- Previous message: Bil Simser [MVP]: "Credentials across multiple web service boundaries"
- In reply to: Selden McCabe: "Process Running under Wrong Credentials"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|