Re: Problem With Runas.exe




"Ruchir" <ruchirdhar@xxxxxxxxx> wrote in message
news:1140505090.176767.261130@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi
I am running an Application which needs to logon to exchange Server,
Since Whenever Code to connect to Exchange Server is called Program
shows me outlook client login Screen on which I need to logon (Exchange
Server is on different netowork).

To avoid this problem I thought of using RunAs.exe but now I Ran into
another problem, My application has some log files in which it writes
log information but now after starting the application using RunAs.exe
(The domain name, username and password information which I am giving
to Runas is the same using which I need to logon to Exchange Server) No
log is being written to the log files...

I am not sure what is happening, when I am not using RunAs.exe,
everything is working fine except that I am asked to logon to exchange
Server, but when I am using RunAs.exe I am not being asked for logging
on to Exchange Server but No log is being written so I am unable to
know if my Application is working correctly or not.

Hard to say without seeing any of your actual code, but I suspect that the
account whose credentials you are using lacks the access to write the log
files.

/Al


.



Relevant Pages

  • Re: "Access Denied" message when adding member server in existing
    ... Do you have an exchange server in the domain, ... Meinolf Weber ... User: NT AUTHORITY\ANONYMOUS LOGON ... Attribute identifier: ...
    (microsoft.public.windows.server.active_directory)
  • Re: Outlook clients cant authenticate to Exchange 2000 server, but logged onto domain
    ... Is the IP-address of the Exchange server still correct and static? ... Are the permissions still set correctly? ... > outlook clients from all workstation are able to ... The logon box keeps popping up like you're not ...
    (microsoft.public.outlook)
  • Re: Exchange/Outlook password problem
    ... Event Category: Account Logon ... saved password for the Exchange server, ... Caller User Name: - ... against all three of our domain controllers with no problems. ...
    (microsoft.public.exchange.admin)
  • Re: MSExchangeSA locking domain administrator account
    ... Is the service configured to log on using the administrator account? ... Logon Failure: ... I suppose that it tries to authenticate with bad password. ... Currently we have this Exchange server 2003 with sp2 on DC which I know that is not recommended configuration but because of some other things I am not able to remove it at the moment. ...
    (microsoft.public.exchange.admin)
  • new users can not logon to Exchange server anymore
    ... I have what I can only describe as a very odd problem. ... The user can logon to his computer with his domain account but when we ... repeatdly and we can not configure the Outlook client. ... I enabled some logging of failed logons on the Exchange server and we ...
    (microsoft.public.exchange.admin)