CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2003
    Location
    UK
    Posts
    113

    Arrow Running on different OS

    I developed my app on XP machine. Then copied it to Win2000. On XP it works at last (thanks to some help from you guys).

    My latest problem:
    On Win2000 the application hangs. I installed the full VS2003 to ensure that the .NET framework is there. Can it be the compiler directives I have in the code (#if / #endif)? Any "lessons learnt" that you might want to share?

    Also : I have a Service which I can install on XP (using installutil). This is done for a "Local Service" account. In Win200 or NT there is not such account so the installation fails. What is the preferred approach to adapt here? Should I consider user accounts?

    Thanks

  2. #2
    Join Date
    Jan 2002
    Location
    Scaro, UK
    Posts
    5,940

    Re: Running on different OS

    If you've got VS2003 why on the W2K system why not debug it to see what's going on ?

    I've not met any problems with the framework on W2K so far.

    And there is a local service account available for W2K and for NT.

    I would suggest that the failure of your service to register is probably for another reason.

    Darwen
    www.pinvoker.com - PInvoker - the .NET PInvoke Interface Exporter for C++ Dlls.

  3. #3
    Join Date
    Dec 2003
    Location
    UK
    Posts
    113

    Re: Running on different OS

    This is the error I get with installutil:
    An exception occurred during the Install phase.
    System.ComponentModel.Win32Exception: The account name is invalid or does not exist, or the password is invalid for the account name specified
    It is still "monkey see, monkey do" with me at the moment so I did everything as specified in the book I'm working through. It looked (to me) like the "Local Service" will be the best account to register the service under. I however have no idea if this assumption is correct.

    I tried tracing last night (after 12) so was probably half asleep. Did I mention the W2K machine is 4 years old. Pentium 800Mhz and it processes everything VERY slowly while in the IDE.

    Cheers

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured