Click here to Skip to main content
15,895,746 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerCan't know reason yet, here is the code for URL rewrite Pin
remex_1980_junyongwu17-May-07 1:22
remex_1980_junyongwu17-May-07 1:22 
QuestionCustom Controls - changing properties Pin
mrJuanito16-May-07 9:44
mrJuanito16-May-07 9:44 
QuestionAuthentication timeout -- frames issue. Pin
Greg Daye16-May-07 9:30
Greg Daye16-May-07 9:30 
QuestionASP.Net Menu Control - How to make entire menu item clickable? Pin
martin_hughes16-May-07 7:22
martin_hughes16-May-07 7:22 
AnswerRe: ASP.Net Menu Control - How to make entire menu item clickable? Pin
Not Active16-May-07 7:48
mentorNot Active16-May-07 7:48 
AnswerRe: ASP.Net Menu Control - How to make entire menu item clickable? Pin
Uwe Keim16-May-07 8:31
sitebuilderUwe Keim16-May-07 8:31 
AnswerRe: ASP.Net Menu Control - How to make entire menu item clickable? Pin
martin_hughes16-May-07 9:26
martin_hughes16-May-07 9:26 
QuestionRunAs Question Pin
amgray78916-May-07 7:21
amgray78916-May-07 7:21 
I'm not sure if this is the correct forum for this question, but I'll give it a try.

I want to execute a DOS application from a ASP.NET webservice (code snippet below). The issue that I am having is that when the process is started, the "cmd" is running as "User1" and "DOSApp" is running as "ASPNET". The "DOSApp" cannot access the machines networked resources using the "ASPNET" user. Is there a way to change the user under which this "child" process is running?
<br />
        Dim StartInfo As New ProcessStartInfo<br />
        StartInfo.FileName = "c:\DOSApp.exe"<br />
        StartInfo.Arguments = "-a arg"<br />
<br />
        StartInfo.RedirectStandardError = True<br />
        StartInfo.RedirectStandardOutput = True<br />
        StartInfo.UseShellExecute = False<br />
        StartInfo.Verb = "runas /noprofile /user:MyMachine\User1"<br />
<br />
        Dim proc As System.Diagnostics.Process = System.Diagnostics.Process.Start(StartInfo)<br />

AnswerRe: RunAs Question Pin
Not Active16-May-07 8:02
mentorNot Active16-May-07 8:02 
AnswerRe: RunAs Question Pin
kubben16-May-07 8:03
kubben16-May-07 8:03 
GeneralRe: RunAs Question Pin
amgray78916-May-07 8:15
amgray78916-May-07 8:15 
GeneralRe: RunAs Question Pin
kubben16-May-07 9:06
kubben16-May-07 9:06 
AnswerRe: RunAs Question Pin
SABhatti16-May-07 8:10
SABhatti16-May-07 8:10 
GeneralRe: RunAs Question Pin
amgray78916-May-07 8:50
amgray78916-May-07 8:50 
AnswerRe: RunAs Question Pin
Uwe Keim16-May-07 8:35
sitebuilderUwe Keim16-May-07 8:35 
GeneralRe: RunAs Question Pin
huangmingchao22-Oct-12 20:48
huangmingchao22-Oct-12 20:48 
QuestionDynamic UserControls on Button click event. Pin
pothineni16-May-07 7:09
pothineni16-May-07 7:09 
AnswerRe: Dynamic UserControls on Button click event. Pin
Not Active16-May-07 7:56
mentorNot Active16-May-07 7:56 
QuestionProblem in ASP.net Pin
mahammadhusen16-May-07 6:50
mahammadhusen16-May-07 6:50 
AnswerRe: Problem in ASP.net Pin
Not Active16-May-07 7:51
mentorNot Active16-May-07 7:51 
Question.net certfication Pin
suhasinivuppala16-May-07 5:21
suhasinivuppala16-May-07 5:21 
AnswerRe: .net certfication Pin
Tarakeshwar Reddy16-May-07 5:30
professionalTarakeshwar Reddy16-May-07 5:30 
AnswerRe: .net certfication Pin
Sathesh Sakthivel16-May-07 5:30
Sathesh Sakthivel16-May-07 5:30 
GeneralRe: .net certfication Pin
Blumen17-May-07 3:07
Blumen17-May-07 3:07 
QuestionLimelight Server Pin
Rahul Babu16-May-07 4:33
Rahul Babu16-May-07 4:33 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.