Nov 24th, 2024, 7:17am
Welcome, Guest. Please Login or Register.
Pages: 1  Reply Reply  Notify of replies Notify of replies  Print Print
   Author  Topic: Network Serial Port Kit hangs on Physical host  (Read 8331 times)
Network Serial Port Kit hangs on Physical host
on: Jul 28th, 2009, 11:32am
Quote Quote  Modify Modify

I have been experiencing intermittent hangs with the Network Serial Port Kit.  When this happens, the only way to restart is by rebooting the server.(only happens on the physical port host)  If I try to restart the utility I receive the following error:  Cannot start because of the following error (121) Module: FtShellApp (273).  Any Suggestions?
IP Logged
Re: Network Serial Port Kit hangs on Physical host
Reply #1 on: Jul 29th, 2009, 12:18am
Quote Quote  Modify Modify

As a temporary workaround for this you can try to restart the Network Serial Port Kit service: right click on my computer->manage>services and applications->services->Network Serial Port Kit service.
 
But in order to get rid of this we need to get the following file from you:
 
C:\WINDOWS\system32\nspk-err.txt
 
If this file is not empty please send it to support@fabulatech.com
 
IP Logged
Re: Network Serial Port Kit hangs on Physical host
Reply #2 on: Aug 3rd, 2009, 9:23am
Quote Quote  Modify Modify

I also had a similar problem after disconnecting the application that was using the virtual port.  This caused the NSPK running on the physically shared port PC to hang.  I was unable to restart NSPK, but did not try your workaround.
  The error log has some historical entries, the last being one of my failure modes.  Oddly the two failures today are not in the log.
 
Tue Jul 07 17:01:19 2009
    5.6.1: Error (-1). Module: NspkEngine (154Cool.  
 
Wed Jul 22 11:09:15 2009
    5.6.2: Error (2). Module: NspkEngine (1501).  
 
Fri Jul 24 11:23:50 2009
    5.6.2: Error (2). Module: NspkEngine (1501).  
 
IP Logged
Re: Network Serial Port Kit hangs on Physical host
Reply #3 on: Aug 4th, 2009, 2:25am
Quote Quote  Modify Modify

Hello Wynedge
 
I need to know the version of NSPK, OS on both sides (service packs, if they are x32 or x64), what applications you use and what device is shared and connected. The details the better.
IP Logged
Re: Network Serial Port Kit hangs on Physical host
Reply #4 on: Aug 4th, 2009, 7:31am
Quote Quote  Modify Modify

Xeon quad-core running XPSP2 is virtual host
Centrino Core2 laptop running XPSP2 is physical host
Both running Version 5.6.2 of NSPK
Both hosts are connected to a Bluetooth device via USB dongle.  Hosts use Microsoft Bluetooth stack. Devices use SPP service.
Custom .NET application on virtual host uses SerialPort component.
IP Logged
Re: Network Serial Port Kit hangs on Physical host
Reply #5 on: Aug 5th, 2009, 1:43am
Quote Quote  Modify Modify

Thanks for the reply. I need to know some additional details:
 
1. Does NSPK hangs on the physical or virtual side?
2. What can you see in NSPK interface on the side which continues to run(broken, connected, disconnected, etc)?
3. How do you see that NSPK hangs? Does NSPK interface stop responding?  
4. What kind of operations does your .NET application do (does it open port, write, listen)?
5. When you disconnect the application NSPK hangs during some certain operation, right? Please check your code.
6. What do you use to work with virtual COM port: a kind of NET-control or or wraped win32 function (CreateFile(), WriteFile(), ReadFile(), etc)?
 
Your WinXP SP2 are x32, right?
IP Logged
Re: Network Serial Port Kit hangs on Physical host
Reply #6 on: Aug 5th, 2009, 6:14am
Quote Quote  Modify Modify

Answers:
1) NSPK hangs on physical side, shows shared port waiting on connection, but virtual port cannot reconnect.  Exit NSPK, but unable to restart it again without reboot.
2) Need to repeat for this data
3) See answer 1. Can still work with GUI, but unable to restore connection to shared port.
4) Application opens port, reads and writes data
5) NSPK cannot reconnect to shared port, and unable to restart NSPK.  This scenario seems to be triggered when the virtual connection is broken or intentionally disconnected using the SerialPort.Close method.
6) The .NET SerialPort class
 
Yes, both machines are multi-core Intel x86 32-bit CPUs
IP Logged
Re: Network Serial Port Kit hangs on Physical host
Reply #7 on: Aug 6th, 2009, 3:09am
Quote Quote  Modify Modify

Please check if you have ftnspksrv.exe running in  the processes (task manager) after NSPK freezes on physical side.
IP Logged
Pages: 1  Reply Reply  Notify of replies Notify of replies  Print Print

Previous topic | Next topic
Online Talk to our
support team or
sales department.