![]() ![]() * Comm Error #1 Failed to connect: This means that the remote host was found but that there was nothing listening on the Remote Host Port that you specified. Check the name or address is correct and that the system is accessible. * Host Not Found: This means that the Remote Host that you specified cannot be found or reached over the network. Here are the common error messages and causes: I'm using Newtonsoft.JSON for deserializing a JSON configuration file, Serilog for logging, for periodic events, AtlassianSDK for the Jira API and some wrappers over Salesforce CLI for Salesforce.If you configure the client and server systems and Connect and it does not work, you should get an error message. This.salesforceClient = new SalesforceCliClient() ![]() (sender, eventArgs) => this.ProcessCasesAsync(sender, eventArgs).GetAwaiter().GetResult()) ![]() This.timer = ConfigurationHelper.ConfigureTimer(, This.logger = ConfigurationHelper.ConfigureLogger() nfiguration = ConfigurationHelper.LoadConfiguration(ConfigurationPath) ("SalesforceToJira service started.") ĬonfigureServices() protected void ConfigureServices() OnStart() protected override void OnStart(string args) Var service = new SalesforceToJiraService() Here are my Main() and OnStart() service methods: The last time I installed this service, I ran into some difficulties, but quickly fixed them by changing the Log On properties. Error 1064: An exception occurred in the service when handling the control request. Windows could not start %servicename% service on Local Computer. Then I uninstalled the current version of the service using installutil.exe /u %servicename.exe% and reinstalled it again using installutil.exe %servicename.exe%.įor some reason, this new version cannot start, and it crashes with Error 1064. I rewrote some logic, tested it in both Debug and Release configurations, and everything was fine. I wrote a Windows Service to run on Win10, and it worked perfectly fine until I decided to change it a bit. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |