سلام
من طبق این آموزش
https://barnamenevisan.org/Articles/Article3743.html
یک ویندوز سرویس ساختم و وقتی میخام با InstallUtil نصب کنم خطای زیر در لاگ میاد.
Installing assembly 'D:\poshe\WindowsService.exe'. Affected parameters are: i = logfile = D:\poshe\WindowsService.InstallLog assemblypath = D:\poshe\WindowsService.exe logtoconsole = Rolling back assembly 'D:\poshe\WindowsService.exe'. Affected parameters are: i = logfile = D:\poshe\WindowsService.InstallLog assemblypath = D:\poshe\WindowsService.exe logtoconsole = An exception occurred during the Rollback phase of the System.ServiceProcess.ServiceProcessInstaller installer. System.NullReferenceException: Object reference not set to an instance of an object. An exception occurred during the Rollback phase of the installation. This exception will be ignored and the rollback will continue. However, the machine might not fully revert to its initial state after the rollback is complete.
هیچ کاربری تا کنون از این پست تشکر نکرده است
با ما تماس بگیرید تا در این مسیر همراهتان باشیم :)