来自 Windows 服务的异步 WCF 服务调用

发布于 2024-12-06 15:28:47 字数 461 浏览 3 评论 0 原文

我编写了一个利用异步 WCF 服务调用的 Windows 服务。 经过测试,服务上的方法似乎执行得很好,但对我的 Windows 服务本身的回调没有被处理。

在阅读日志记录时,我发现异步服务调用应该返回以下条目:

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.

这是否与运行服务的帐户有关,或者是否还有其他原因导致这种情况发生?这个是在 NetworkService 下的。

I have written a windows service that utilises asynchronous WCF service calls.
Upon testing, it seems that the method on the service executes perfectly but the callback to my windows service itself isn't being handled.

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.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

木有鱼丸 2024-12-13 15:28:47

gupdate 是 Google 用于更新其本地安装的应用程序的程序。所以这篇文章与你的问题无关。

请尝试使用您自己的管理员登录凭据暂时运行该服务,看看这是否可以解决问题。

gupdate is the program used by Google to update their locally installed applications. 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文