RE: Diagnostics.Process.Start as another user from ASP.NET 2.0
- From: Noremac <Noremac@xxxxxxxxxxxxxxxxx>
- Date: Tue, 8 May 2007 05:43:05 -0700
That's funny! I was unsuccessful in getting similar code like the post you
provided to work with ASP.NET 1.1 and then I saw references to the
username/password in 2.0 and so I upgraded my code.
Oh well, perhaps I can get the pinvoke unmanaged stuff to work this time
around knowing there is no other way.
Thanks for setting me back on the right path Steven.
"Steven Cheng[MSFT]" wrote:
Hi Noremac,.
For the Process.Start with a specific user, there exists some problem when
executing in ASP.NET application context as I've also met some former
issues discussing on this problem. Currently, the recommended means for
launch a process running under a specific user account is to call unmanaged
API through Pinvoke. Here is a former thread you can reference:
#Run app as specified user from ASP.NET 2.0 Options
http://groups.google.com/group/microsoft.public.dotnet.framework.aspnet/brow
se_thread/thread/51584884d09edfa5/bbfcbd72a6957085
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
- Follow-Ups:
- RE: Diagnostics.Process.Start as another user from ASP.NET 2.0
- From: Steven Cheng[MSFT]
- RE: Diagnostics.Process.Start as another user from ASP.NET 2.0
- References:
- Diagnostics.Process.Start as another user from ASP.NET 2.0
- From: Noremac
- RE: Diagnostics.Process.Start as another user from ASP.NET 2.0
- From: Steven Cheng[MSFT]
- Diagnostics.Process.Start as another user from ASP.NET 2.0
- Prev by Date: Re: Ajax contol
- Next by Date: Re: Implement IIS on WAN
- Previous by thread: RE: Diagnostics.Process.Start as another user from ASP.NET 2.0
- Next by thread: RE: Diagnostics.Process.Start as another user from ASP.NET 2.0
- Index(es):
Relevant Pages
|