Check the InnerException
property of the TypeInitializationException
; it is likely to contain information about the underlying problem, and exactly where it occurred.
More Related Contents:
- Elevating process privilege programmatically?
- How might I schedule a C# Windows Service to perform a task daily?
- How can I verify if a Windows Service is running
- How do you retrieve a list of logged-in/connected users in .NET?
- How to run console application from Windows Service?
- Am I Running as a Service
- Windows Service to run constantly
- How can a Windows Service start a process when a Timer event is raised?
- Using Process.Start() to start a process as a different user from within a Windows Service
- How to make a call to my WCF service asynchronous?
- Windows service with timer
- How to communicate with a windows service?
- Starting a process with credentials from a Windows Service
- System.Drawing in Windows or ASP.NET services
- Impersonate user in Windows Service
- WIX service installer overrides service Installer settings
- Print html document from Windows Service without print dialog
- Windows service couldnt get screenshot in windows 7
- How do I change a Windows Service’s startup type in .NET (post-install)?
- Windows Service not appearing in services list after install
- Start stop Service from Form App c#
- show a windows form from a window service
- How to get current windows username from windows service in multiuser environment using .NET
- How to create an installer for a .net Windows Service using Visual Studio
- Windows service stops automatically
- What’s the best way to watchdog a desktop application?
- Check status of services that run in a remote computer using C#
- Schedule machine to wake up
- Run a process from a windows service as the current user
- what is the maximum time windows service wait to process stop request and how to request for additional time