EventID错误7030-Vista&与Desktop .NET Service进行交互 [英] EventID Error 7030 - Vista & Interact with Desktop .NET Service

查看:192
本文介绍了EventID错误7030-Vista&与Desktop .NET Service进行交互的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

此错误是否有解决方法:

http://technet. microsoft.com/en-us/library/cc756339.aspx

我有一个Windows服务,该服务需要与桌面(实际上只是Systray)进行交互.该服务在WinXP下可以正常工作,但在Vista下则不能.在阅读了以上文章之后,我发现很难理解微软只是简单地废除"了微软的产品.支持与桌面互动"由于操作系统存在缺陷(这是操作系统问题,而不是开发人员问题).

我从未听说过任何专业组织会删除功能,因为他们不知道如何确保功能的安全性?我希望本文刚刚过时,或者不是针对Vista的发行版.

在Vista Business x64下,允许服务与桌面交互"选项是服务属性(登录)"选项卡中的一个复选框,因此,如果此功能不适用于Vista,何时显示该选项?但是看来复选框没有被选中.

还有其他建议,然后告诉我的客户不要购买Vista吗?

谢谢,Rob.



Is there any work around to this Error:

http://technet.microsoft.com/en-us/library/cc756339.aspx

I have a Windows Service that needs to interact with the desktop (actually just the Systray).  This service is working fine under WinXP, but not under Vista.  After reading the article above I find it difficult to comprehend that Microsoft would simply just "do away" with support for "Interact with Desktop" because of a flaw in the OS (this is an OS problem, not a developer issue). 

I've never heard of any professional organization removing a feature because they can't figure out how to make the feature secure??  I'm hoping this article is just out dated or was not for the released version of Vista.

Under Vista Business x64, the option to "Allow service to interact with desktop" is a check box in the Service Properties (Log On) tab, so if this feature isn't available for Vista, when is the option displayed??  But it does appear that the check box does nothing when checked.

Any suggestions other then tell my customers not to buy Vista?

Thanks, Rob.


Developer

推荐答案

您真的需要与桌面交互的服务吗?通常,可以通过将应用程序分为两部分来解决该问题,即服务和在用户桌面上运行并与服务进行通信的单独应用程序.
Do you really need the service to interact with the desktop? Usually the problem can be solved by breaking the app into two pieces, the service and a separate application running on the user desktop and communicating with the service.


这篇关于EventID错误7030-Vista&与Desktop .NET Service进行交互的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆