|
by: Nathan Kovac |
last post by:
Yesterday afternoon I was getting the following errors in a windows service:
'DatabaseManager.DataComponent', 'Error', '3 Errors:
Line: 0 - Metadata file 'ScriptingMethods.dll' could not be found
Line: 0 - Metadata file 'RemoteLoader.dll' could not be found
Line: 0 - Metadata file 'wwScripting.dll' could not be found'
Service ran all night fine. This morning I reconnected to the process and
the errors are no longer there. Only thing...
|
by: Ron Bremmers |
last post by:
Hello,
I have a Windows Service which executes some code each 2 seconds.
Every 2 seconds I want to log the result in a Windows Forms application.
What is the best approach? I think it is .NET remoting, but when the
"client" application is not started, no logging has to be done. So the
service has to know if there is a client application to log to. How can I do
|
by: OpticTygre |
last post by:
What is the best way that anyone has found to capture errors inside a
windows service? It's pointless to use compilation constants, as you can't
"debug" a service very easily, and you can't pass in a command line
arguement (can you?) to tell it to do something special like capture errors
to a file while it's running. Has anyone figured out any good ways to do
this type of run-time error capturing?
Basically, if I were building a...
|
by: Chris Dunaway |
last post by:
I am attempting to use the AppDomain.UnhandledException event in a
Windows Forms app and also in a Windows Service. But the event doesn't
seem to be called.
In a Windows Forms app, the event IS called but only if I run the app
through the IDE. If run standalone (release or debug build, it doesn't
matter), the event handler is never called. In the Windows Forms app,
I changed it to use the Application.ThreadException event and that...
|
by: Todd Bright |
last post by:
Does anyone know of a reason that a Windows service written in C# would
prevent the system from rebooting or logging off? The service starts another
thread which displays a form (processing is done in the form so as to not
interfere with the service's thread execution). Stopping the service is the
only way I've found to yield and let the system reboot or log off. I tried
using the SystemEvents.SessionEnding event and that works great for...
|
|
by: Chris Curvey |
last post by:
Hi all,
I have used the win32com libraries to set up a service called
MyService under Windows. So far, so good. Now I need to run multiple
copies of the service on the same machine. I also have that working.
For monitoring and logging, I'd like each instance of the service to
know it's own identity (MyService1, MyService2, etc.)
But I can't quite seem to grasp how to do this. In the code below,
the command line parameter "-i"...
|
by: =?Utf-8?B?U2ltb25EZXY=?= |
last post by:
Hi All
I would like to install the same Windows Service project on the same server
under different names, one for each customer. I have been able to do it but
I would like an expert opinion as to whether my solution is robust or whether
there is a better way to do it.
What I've been trying to do is to create a core project with different
extension projects, one for each customer. I wanted to create a different
Setup project for each...
|
by: christery |
last post by:
Jippie, got my first c# service working with XP/W2003srv (love
google), but got an hunch that vista will not support services that
uses GUI (can interact with desktop... checkbox in services gone?),
yepp (solution) can have 2 programs - one service and one normal GUI,
just wondering if anything else changes in the near future? sort of a
sneak peak into what trouble im haeding in to... gotta convert some
vb6 code soon that is like that...
|
by: emanuelanechei |
last post by:
These days i'm creating a windows service in c# which reads some data
from a file and saves it in a database. The data in the file changes
every minute.
I am using FileSystemWatcher object which monitors that file for
LastWrite event.
The problem is that after the reading of file and writing the data in
the database the service quits unexpectedly.
What happends? I googled but found nothing about it.
Thank you in advance
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
|