Identity crisis on a WS

L

Luis

Vishal,


Indeed it seems that we have the same problem.
No I have not been able to make my code work as an ASP .NET app.

Have you been trying some of Luke’s recommendations?
He says that in his test lab server it works …

I will certainly share all the information related to this issue with you and anyone who reads this ng. I am sure you will do the same.

Luis
 
L

Luis

Luke,

Sorry for the delay but I had a crisis in another project…
I’ve looked in my machine.config and I don’t find the words “processModal†in the entire document.
In the web.config I do have the impersonate set to true.
I don’t see how can I determine if the Access Denied comes from the process I’ve created. Could you please be more specific?

Thanks

Luis
 
M

[MSFT]

Hi Luis,

In machine.config, you should found a line like:

<processModel enable="true" timeout="Infinite" ...

Here is the web service I tested:

ProcessStartInfo miPInfo;
Process miProc;
string regreso;

miPInfo = new ProcessStartInfo();

miPInfo.FileName = @"C:\Windows\System32\at.exe";

miPInfo.Arguments = @" 13:00 dir";
miPInfo.RedirectStandardOutput = true ;
miPInfo.UseShellExecute = false;


miProc = Process.Start(miPInfo);
miProc.WaitForExit();
regreso = miProc.StandardOutput.ReadToEnd();

return regreso;

You may try to run the web serivce and invoke the web method in IE. If IE
return an error page, the access denied should be returned from ASP.NET; If
you got a result, the string from "regreso", the access denied error should
be from the Process "AT".

Luke
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top