Stefano Pranzo Posted December 29, 2016 #1 Share Posted December 29, 2016 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 More sharing options...
Stefano Pranzo Posted December 29, 2016 Author #2 Share Posted December 29, 2016 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 More sharing options...
Stefano Pranzo Posted December 30, 2016 Author #3 Share Posted December 30, 2016 Gelöst. WindowService Einstellungen an einem anderen Ort speichern Sie die WPF-Anwendung zu speichern. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.