Click to See Complete Forum and Search --> : Running on different OS


jdt
January 27th, 2005, 07:21 AM
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

darwen
January 27th, 2005, 08:49 AM
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

jdt
January 27th, 2005, 10:18 AM
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