简体   繁体   English

Windows服务中的异步WCF服务调用

[英]Asynchronous WCF service calls from a Windows Service

I have written a windows service that utilises asynchronous WCF service calls. 我已经编写了一个利用异步WCF服务调用的Windows服务。 Upon testing, it seems that the method on the service executes perfectly but the callback to my windows service itself isn't being handled. 经过测试,似乎服务上的方法可以完美执行,但Windows服务本身的回调未得到处理。

Upon reading the logging, I came across the following entry where my asynchronous service call should have returned: 阅读日志记录后,我遇到了以下条目,其中应该返回了我的异步服务调用:

The description for Event ID 0 from source gupdate cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

Could this be related to the account the service is running under or could there be another reason why this is happening? 这可能与服务在其下运行的帐户有关,还是有其他原因导致这种情况发生? This one is under NetworkService. 这是在NetworkService下。

gupdate is the program used by Google to update their locally installed applications. gupdate是Google用于更新其本地安装的应用程序的程序。 So this entry has nothing to do with your problems. 因此,该条目与您的问题无关。

Please try to run the service temporarily under your own administrator login credentials to see if this fixes the issue. 请尝试使用您自己的管理员登录凭据临时运行该服务,以查看是否可以解决此问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM