Python
Java
PHP
IOS
Android
Nodejs
JavaScript
Html5
Windows
Ubuntu
Linux
从 Windows 服务中的 OnStart 立即触发计时器_elapsed
我正在使用一个System Timers Timer我的代码中有如下代码OnStartC Windows 服务中的方法 timer new Timer timer Elapsed timer Elapsed timer Enabled tr
c
windowsservices
timer
Windows 服务应该在哪里写入应用程序数据?
我们有一个 Windows 服务作为我们软件的一部分 即使没有用户登录系统 它也可以在后台将数据传输到远程数据库 目前 这些数据缓存在 Program Files 目录中 我认为这不是一个好主意 因为它要求我们减少 Program File
windowsservices
Windows 服务、阻塞收集和多线程问题
我的场景 Windows 服务 NET 4 我轮询数据库中的实体 当新实体进来时 它们会被添加到BlockingCollection 在服务的OnStart我创建一个System Threading Tasks Task他的工作是枚举Blo
NET
Multithreading
Exception
windowsservices
taskparallellibrary
如何以编程方式获取服务的状态(正在运行/已停止)
我需要在我的 C 应用程序中获取 Windows 打印后台处理程序 服务的状态 shikarssj提供的功能运行良好 加载服务时只需要管理员权限 这是一个不需要完全许可的版本 include
c
visualc
windowsservices
Windows 服务错误 1053
我目前正在编写一个 Windows 服务 它连接到 crm 系统以拉下一个计划 然后运行各种数据源等 我已经一切正常 除了当我安装所有内容并尝试运行启动服务时 我收到以下错误 错误 1053 服务未响应启动或控制请求 及时时尚 这是我在 S
c
windowsservices
从 Windows 服务打印 pcl 文件的 LPR 命令不起作用(现在是托盘应用程序)
我已经四处寻找可能的解决方案和解释一段时间了 但我找不到任何东西 以下命令正在从 Windows 服务运行 如果直接在 cmd 中使用 相同的命令也可以运行 它不会返回任何错误或与此相关的任何其他内容 System Diagnostics
c
printing
windowsservices
processstartinfo
lpr
连接尝试失败,因为连接方在一段时间后没有正确响应或连接的主机无法响应
我正在开发一个 Windows 服务 它从特定的 URL 下载图像 该服务在我的计算机上正常运行 但是当我将其安装在服务器中时 它不会下载图像 并且出现以下错误 System Net WebException Unable to conne
c
windowsservices
windowsServer
WebClient
如何使用 WiX 安装和启动 Windows 服务
我尝试在 Wix 中使用下面的代码 但是在安装时 安装程 序在 正在启动服务 状态下冻结了大约 3 分钟 然后我收到此消息 Service Jobservice 无法启动 请验证您是否有足够的权限来启动系统服务 我的代码有什么错误吗 并且可
windowsservices
installation
wix
autostart
Net5 上的 ServiceProcessInstaller 在哪里?
过去我使用过这些课程安装人员 https learn microsoft com en us dotnet api system configuration install installer view netframework 4 8 服
c
Windows
windowsservices
net5
通过网络登录从 Windows 服务创建 GUI
我读了很多关于从 Windows 服务执行 GUI 应用程序的文章 当服务以系统用户身份运行时 我使用的是 Windows XP 允许服务与桌面交互 复选框对我有用 现在我需要该服务作为域中定义的用户 来自网络 运行 一切工作正常 即使没有
c
WINAPI
windowsservices
WindowsXp
如何使用 C# 创建自定义事件日志
我创建了一个 Windows 服务 我创建一个事件日志 public Service1 InitializeComponent this ServiceName ConfigurationManager AppSettings Get Se
c
NET
windowsservices
eventlog
配置 Microsoft Application Insights 以监视 Windows 服务
是否可以配置微软的应用洞察 http msdn microsoft com en us library dn481095 aspx监控 Windows 服务 我有一个在 Azure 中运行的 VM 其中托管了 Web 服务 我需要安装哪个版
c
Azure
windowsservices
azureapplicationinsights
使用 WiX 进行重大升级后无法启动 Windows 服务
我有一个非常简单的 WiX 项目 没有什么花哨 当尝试对现有安装执行 MajorUpgrade 时 无法启动服务 并且不可避免地会回滚到以前的版本并正常启动服务 我已经删除了Start install 并成功手动启动应用程序 所以我知道这不
c
wix
windowsservices
如何创建Windows服务来运行powershell脚本?
我有无限循环 PowerShell 测试目的 脚本 我想将其作为 Windows Server 2008 R2 标准 中的服务运行 我使用以下命令来创建 Windows 服务 sc exe create My PS1Service binP
Windows
PowerShell
windowsservices
powershell20
windowsserver2008r2
使用 NSSM 将 NodeJs 进程作为 Windows 服务启动不起作用
我看过无数关于如何使用 NSSM 的文章 http nssm cc http nssm cc 启动 NodeJS 进程 所以 我有以下简单的 NodeJS 文件 var http require http http createServer
nodejs
windowsservices
为 Windows 服务创建 MSI 安装程序
我在 Visual Studio 2008 中有一个 Windows 服务项目 我还添加了安装和部署项目 不幸的是 当我安装它时 该服务没有显示在服务 MMC 管理单元中 我已经将 ProjectInstaller 添加到服务项目中 并且已
visualstudio2008
windowsservices
windowsinstaller
Msmq 和 WCF 服务
我使用 NetMsmq 绑定创建了一个 WCF 服务 在我的计算机上创建了一个专用队列并执行了该项目 这样工作正常 我的 WCF 服务已启动并在调试环境中使用队列访问消息 现在 我想使用 Windows 服务托管该服务 为此我还创建了一个新
windowsservices
MSMQ
wcf
Windows服务之间如何通信
我有 2 个使用 C 创建的 Windows 服务 我希望其中一个服务调用第二个 Windows 服务中的函数 我该怎么做呢 EDIT 问题是我必须运行该应用程序 我不需要它们 相反服务进程也很好 但我need这2个应用程序进行通信 这2个
c
wcf
service
windowsservices
IPC
停止/启动远程 Windows 服务并等待其打开/关闭
最高答案这个问题 https stackoverflow com questions 187836 how do i restart a service on a remote machine in windows告诉我如何停止 启动远程服
Windows
windowsservices
使用 Windows 服务手动实现 IoC
我是 IoC 的新手 因此一直在遵循 Jeffery Palermo 在他的帖子中提供的示例http jeffreypalermo com blog the onion architecture part 1 http jeffreypal
c
windowsservices
inversionofcontrol
«
1
2
3
4
5
6
...18
»