Re: Process.Start() in windows service on Windows Server 2003, problem

From: Pavel Lebedinsky (m_pll)
Date: 02/26/05

  • Next message: Sam Hobbs: "Re: Windows 2003 - User Logins vs Software"
    Date: Fri, 25 Feb 2005 23:05:22 -0800
    
    

    "Tobias Johansson" <no> wrote:

    > so we have almost come to the conclusion that ExtExp.exe is setting
    > some working directories that are mapped network drives.
    > And I assume that this won't work since it's running under the windows
    > service ?

    A service can define its own drive mappings. It will not be able
    to use the mappings that you created in your logon session.

    > Also tried debugging extexp with the ntsd
    > however when I tried to start the server i got this:
    >
    > StartServer failed, HRESULT 0x80004005
    > "Unspecified error"
    > ntsd: exiting - press enter ---

    What command line did you use? WinDbg/ntsd/cdb remote debugging
    is pretty reliable - people are using it to debug non-interactive services
    all the time. It can be a little bit tricky to set up, especially if you've
    never done this before. A good idea is to first try it on something
    simple like notepad, and once you can get both server and client
    running, use the same parameters for your application.

    You might also want to download the latest debuggers from
    http://www.microsoft.com/whdc/DevTools/Debugging/default.mspx
    and look at the docs (debuggers.chm). They have lots of details and
    examples of using remote debugging.


  • Next message: Sam Hobbs: "Re: Windows 2003 - User Logins vs Software"

    Relevant Pages

    • Re: How to remove a mapped network drive
      ... Last year I created several mapped network drives. ... are appear again the next time I log into the server (via Terminal ... will remove all drive mappings. ...
      (microsoft.public.windows.server.general)
    • Re: How to remove a mapped network drive
      ... Last year I created several mapped network drives. ... are appear again the next time I log into the server (via Terminal ... will remove all drive mappings. ...
      (microsoft.public.windows.server.general)
    • Re: Cannot Rename Client Machines... locally or remotely (on domain)
      ... computers just fine with the same mapped network drives. ... I was successfully able to rename one of the machines by dropping it ... "Multiple connections to a server or shared resource, ... You are alreday connected to the Server with anouther username. ...
      (microsoft.public.windows.server.general)
    • Re: problems joining a domain
      ... Disconnect any mapped network drives, then try to join the domain. ... > The user is allready created on the server. ... > Multiple connections to a server or shared resource by the ...
      (microsoft.public.windowsxp.network_web)
    • Re: problems joining a domain
      ... >Disconnect any mapped network drives, ... >> The user is allready created on the server. ... >> shared resource and try again. ...
      (microsoft.public.windowsxp.network_web)