Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    8

    Error running as Windows Service

    I am using Nokia PC connectivity SDK, with nokia 6210 on win 2k. My application is in VB, works well while running its exe. But when i use this exe as windows service, things donot work, connection with mobile is not established, just get communication error. what to do?

  2. #2
    Registered User
    Join Date
    May 2003
    Posts
    10
    Go to Services and change the service to run as administrator and not Local System.. this is most likely the problem..

    give it a shot.

  3. #3
    Registered User
    Join Date
    Mar 2003
    Posts
    8
    problem is still there. infact i was not running the service from local account but from some other user which is already in Administrators Group

  4. #4
    Registered User
    Join Date
    May 2003
    Posts
    10
    I've seen this behaviour with W2K server more than Professional. I have the same problem with another program I wrote which has problems with NTSVC.OCX which is Microsofts own OCX and it can't create object even with that..

    unfortunately it's out of this forums scope.

    Check M$ knowledge base. It'll be a topic about running VB as a service or something I bet...

  5. #5
    Registered User
    Join Date
    Oct 2003
    Posts
    10

    The same problem

    Hi, i have the same problem.
    My service throws an exception when sendins sms, however if i call my program not from a service it works fine.
    Please let me know if you've solved this problem.

    Giedrius Stalauskas
    giedriuss@prototechnika.lt

Posting Permissions

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