简体   繁体   English

Crystal Report加载失败问题

[英]Crystal Report load failed issue

I have created windows service to generate crystal reports. 我创建了Windows服务来生成水晶报表。 Also, I have installed it in the client machine. 另外,我已经将其安装在客户端计算机中。 If the user is given the windows service as a manual start, its working fine. 如果将Windows服务作为手动启动方式提供给用户,则其工作正常。 If the user is given the windows service as a autostart, it is not working. 如果为用户提供Windows服务作为自动启动功能,则该服务无法正常工作。 Shown the message like Load Report Failed. 显示诸如“加载报告失败”之类的消息。 As per my assumption, some of the dependencies are not loaded when the user set as an autostart. 根据我的假设,当用户设置为自动启动时,某些依赖项不会加载。 But I don't know which dependencies are missed. 但是我不知道错过了哪些依赖项。 Let me know any dependencies or services needed when we set the window service as autostart. 让我们知道将窗口服务设置为自动启动时需要的所有依赖项或服务。

Since you don't know the precise dependencies, try setting the service's Startup type to Automatic (Delayed Start) : 由于您不知道确切的依赖关系,请尝试将服务的启动类型设置为“ 自动(延迟启动)”

在此处输入图片说明

With this setting, Windows will launch your service a couple of minutes after boot — when all critical services should be up and ready. 使用此设置,Windows将在启动后几分钟启动启动服务,此时所有关键服务都应已启动并准备就绪。

Read about the "Automatic (Delayed Start)" setting here . 在此处阅读有关“自动(延迟启动)”设置的信息

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

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