Jump to content

WPF Program OK, Window-Service NO


Stefano Pranzo

Recommended Posts

Um die Benutzer zu sehen, verwende ich auf dem Swyx-Server den Befehl/Methode «SWConfigDataClientLib.Proxies.Admin.AdminFacade adminFacade.GetUserAdminView1(false)».
Mit meinem Programm WPF / C # funktioniert die Abfrage.
Wenn ich diese Methode jedoch von einem Windows laufen lasse, erzeugt es mir einen Fehler.


Hier das Fehlerprotokoll:

12.29.2016 02:31:44.084 : Start the fnSwyxCRM Service
29 14:32:16.539 0006 Alws CDSClient  LibManager.Initialize()                  IpPbxCDSClientLib: PV:10.40.0.15 FV:10.40.0.86
29 14:32:16.541 0006 Alws CDSClient  LibManager.Initialize()                  IpPbxCDSSharedLib: PV:10.40.0.12 FV:10.40.0.60
29 14:32:16.541 0006 Alws CDSClient  LibManager.Initialize()                  Platform: x64
29 14:32:16.541 0006 Alws CDSClient  LibManager.Initialize()                  FileCache: C:\Windows\system32\config\systemprofile\AppData\Local\IpPbx\fnSwyxCRM_WinService.exe\FileCache
29 14:32:16.569 0006 *Err WCF        SCertificateManager.CheckForInstalledCer Certificate file not found or could not been read!
29 14:32:16.703 0006 Alws CDSClient  LibManager.WSBaseUrl                     10.8.34.149
29 14:32:16.946 0006 *Err WCF        SWCFProxy`2.Create                       Missing WCF Certificate
29 14:32:38.369 0006 *Err CDSClient  AdminFacade.                             SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 10.8.34.149:9094
~   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
~   at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
~   at System.ServiceModel.Channels.SocketConnectionInitiator.Connect(Uri uri, TimeSpan timeout)
29 14:32:38.374 0006 *Err SwyxHelper SwyxHelper.                              SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 10.8.34.149:9094

 

Seltsam ist, dass die IP-Nummer, eine IP ist, die nicht im Netzwerk existiert. Wenn ich die Klasse erstelle, gebe ich eine andere IP-Adresse mit.
Woher kommt diese «falsche» IP-Adresse?

Warum funktioniert es mit meinem WPF-Programm aber nicht mit dem Window-Service?

Link to comment
Share on other sites


Log

 

12.29.2016 02:31:44.084 : Start the fnSwyxCRM Service
29 14:32:16.539 0006 Alws CDSClient  LibManager.Initialize()                  IpPbxCDSClientLib: PV:10.40.0.15 FV:10.40.0.86
29 14:32:16.541 0006 Alws CDSClient  LibManager.Initialize()                  IpPbxCDSSharedLib: PV:10.40.0.12 FV:10.40.0.60
29 14:32:16.541 0006 Alws CDSClient  LibManager.Initialize()                  Platform: x64
29 14:32:16.541 0006 Alws CDSClient  LibManager.Initialize()                  FileCache: C:\Windows\system32\config\systemprofile\AppData\Local\IpPbx\fnSwyxCRM_WinService.exe\FileCache
29 14:32:16.569 0006 *Err WCF        SCertificateManager.CheckForInstalledCer Certificate file not found or could not been read!
29 14:32:16.703 0006 Alws CDSClient  LibManager.WSBaseUrl                     10.8.34.149
29 14:32:16.946 0006 *Err WCF        SWCFProxy`2.Create                       Missing WCF Certificate
29 14:32:38.369 0006 *Err CDSClient  AdminFacade.                             SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 10.8.34.149:9094
~   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
~   at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
~   at System.ServiceModel.Channels.SocketConnectionInitiator.Connect(Uri uri, TimeSpan timeout)
29 14:32:38.374 0006 *Err SwyxHelper SwyxHelper.                              SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 10.8.34.149:9094

 

Link to comment
Share on other sites


Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and have taken note of our Privacy Policy.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.