Comments (7)
Good morning :) Hope you are well! It's not easy for me to understand what's going on from what you've written. Is it a website you are trying to host this was or is it a true microservice? Because remember, this package is used for microservices, website can be hosted easily with .net core. If that's the case, just follow this : https://docs.microsoft.com/en-us/aspnet/core/hosting/windows-service
Speak soon ;)
from dotnetcore.windowsservice.
Good Morning,
No, I am not trying to run it as website. This is a true microservice.
I did, however trace the problem through to the DasMuli code and not yours. So, I will be opening an issue over there, instead.
Thanks!
from dotnetcore.windowsservice.
Having the same problem. Everything works except action:run. It's just a regular console application.
Quick edit: Running the example project gives the same error.
from dotnetcore.windowsservice.
Cheers @ctschappat hope it's sorted, let me know if you need my assistance ;)
from dotnetcore.windowsservice.
@bjcull Hey mate, avoid using action:run that's an internal thing. Go for action:install if you want to install the service, action:start / action:stop to control it. And so on. If you want to run as console app, just run it as you normally would (without any action)
from dotnetcore.windowsservice.
The only reason I tried using action:run was to try and figure out what's happening. Install works, and the service starts correctly, I think, I can't tell. But it doesn't appear to actually do anything.
Stopping also works successfully.
If I just run the service without arguments, everything works fine. Any ideas as to what I might be missing?
from dotnetcore.windowsservice.
Ok, no worries @bjcull we'll look into that. Create a new issue please though. Easier to track stuff and also to point people to the right place if they see these problems later. Thanks man
from dotnetcore.windowsservice.
Related Issues (20)
- Cross platform support? HOT 1
- Multiple timers HOT 1
- When starting the service, then immediately stopped too
- Service did not respond to the start or control request in a timely fashion HOT 10
- Cannot run this same service twice with different names HOT 1
- Service Recovery HOT 1
- service start timeout too short HOT 1
- How to change/remove default messages shown when starting project as a console app? HOT 1
- Can there be more than on Service HOT 2
- Message shown when service is installed is incorrect HOT 1
- Implement OnCustomCommand
- What has changed in 2.0.11? HOT 2
- cannot start service xxx on computer '.'
- Stopping and starting a service without admin rights HOT 1
- Target netstandard
- Question: How to use ExitCode?
- How to start service with a .Net Core 3.0 single file exe
- Can you support WEBSITE ?
- How to setup (start) service with Automatic(Delayed start) with .net core 3.0
- at DasMulli.Win32.ServiceUtils.ServiceHandle.Start() at DasMulli.Win32.ServiceUtils.Win32ServiceManager.CreateService(String serviceName, String displayName, String description, String binaryPath, Win32ServiceCredentials credentials, Boolean autoStart, Boolean startImmediately, ErrorSeverity errorSeverity) at PeterKottas.DotNetCore.WindowsService.ServiceRunner`1.Install(HostConfiguration`1 config, ServiceController sc, Int32 counter) at PeterKottas.DotNetCore.WindowsService.ServiceRunner`1.UsingServiceController(HostConfiguration`1 config, Action`2 action) at PeterKottas.DotNetCore.WindowsService.ServiceRunner`1.Run(Action`1 runAction) The service did not respond to the start or control request in a timely fashion
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dotnetcore.windowsservice.