can't connect to finger print scanning device from windows server 2003
-
i am using a windows application to connect to a finger print scanning device.
at the moment i can connect to machine and download all the logs. (using this DLL Interop.zkemkeeper.dll)
from my PC, windows 7 32bit it is working but when i installed the application on windows server 2003
32bit i am not able to connect to reader.i installed visual studio 2010 on server and tried to build the Application on the server to make sure no reference were missing.
but still i can not connect to the reader.
my question is why it connects and can even downloads all the logs from my pc but it doesnt work on server (windows server 2003 32bit)
reader IP 192.168.0.1 port: 4370.
Public axCZKEM1 As New zkemkeeper.CZKEM
code to connect to reader:
private sub ConnectToReader()
If txtIP.Text.Trim() = "" Or txtPort.Text.Trim() = "" Then
MsgBox("IP and Port cannot be null", MsgBoxStyle.Exclamation, "Error")
Return
End If
Dim idwErrorCode As Integer
Cursor = Cursors.WaitCursor
If btnConnect.Text = "Disconnect" Then
AxCZKEM1.Disconnect()
bIsConnected = False
btnConnect.Text = "Connect"
lblState.Text = "Current State:Disconnected"
Cursor = Cursors.Default
Return
End IfbIsConnected = AxCZKEM1.Connect\_Net(txtIP.Text.Trim(), Convert.ToInt32(txtPort.Text.Trim())) If bIsConnected = True Then btnConnect.Text = "Disconnect" btnConnect.Refresh() lblState.Text = "Current State:Connected" iMachineNumber = 1 axCZKEM1.RegEvent(iMachineNumber, 65535) Else AxCZKEM1.GetLastError(idwErrorCode) MsgBox("Unable to connect the device,ErrorCode=" & idwErrorCode, MsgBoxStyle.Exclamation, "Error") End If Cursor = Cursors.Default
End Sub
-
i am using a windows application to connect to a finger print scanning device.
at the moment i can connect to machine and download all the logs. (using this DLL Interop.zkemkeeper.dll)
from my PC, windows 7 32bit it is working but when i installed the application on windows server 2003
32bit i am not able to connect to reader.i installed visual studio 2010 on server and tried to build the Application on the server to make sure no reference were missing.
but still i can not connect to the reader.
my question is why it connects and can even downloads all the logs from my pc but it doesnt work on server (windows server 2003 32bit)
reader IP 192.168.0.1 port: 4370.
Public axCZKEM1 As New zkemkeeper.CZKEM
code to connect to reader:
private sub ConnectToReader()
If txtIP.Text.Trim() = "" Or txtPort.Text.Trim() = "" Then
MsgBox("IP and Port cannot be null", MsgBoxStyle.Exclamation, "Error")
Return
End If
Dim idwErrorCode As Integer
Cursor = Cursors.WaitCursor
If btnConnect.Text = "Disconnect" Then
AxCZKEM1.Disconnect()
bIsConnected = False
btnConnect.Text = "Connect"
lblState.Text = "Current State:Disconnected"
Cursor = Cursors.Default
Return
End IfbIsConnected = AxCZKEM1.Connect\_Net(txtIP.Text.Trim(), Convert.ToInt32(txtPort.Text.Trim())) If bIsConnected = True Then btnConnect.Text = "Disconnect" btnConnect.Refresh() lblState.Text = "Current State:Connected" iMachineNumber = 1 axCZKEM1.RegEvent(iMachineNumber, 65535) Else AxCZKEM1.GetLastError(idwErrorCode) MsgBox("Unable to connect the device,ErrorCode=" & idwErrorCode, MsgBoxStyle.Exclamation, "Error") End If Cursor = Cursors.Default
End Sub
Make sure you've registered the SDK on the 2003 server. Copy all of the SDK files to the
%windir%\system32
folder, and then run:regsvr32.exe %windir%\system32\zkemkeeper.dll
If that doesn't fix it, then you're going to need to tell us what errors you're getting.
"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
-
Make sure you've registered the SDK on the 2003 server. Copy all of the SDK files to the
%windir%\system32
folder, and then run:regsvr32.exe %windir%\system32\zkemkeeper.dll
If that doesn't fix it, then you're going to need to tell us what errors you're getting.
"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer