Hello
I have the problem that my service under Windows NT SP 6a with Framework
1.1. doesn't run. I will receive an unknown exception from the framework all
the time. But the service runs under Windows 2000 and XP. I removed the
whole service code so that I have had only the start and stop methodes and a
little worker-thread. "Normal" Applications run very well on the NT-Machine.
Does somebody had the same problem?
Thanks for your help.
Chris.
The Exception-Message from the eventlog:
----------------------------------------------------------------------------
-
Die Beschreibung der Ereignis-ID ( 0 ) in Quelle ( .NET Runtime ) konnte
nicht gefunden werden. Sie enthält folgende Einfügezeichenk ette(n):.NET
Runtime version 1.1.4322.573- testservice.exe - Common Language Runtime
Debugging Services: Application has generated an exception that could not be
handled.
Process id=0xb6 (182), Thread id=0x74 (116).
Click OK to terminate the application.
Click CANCEL to debug the application.. 4 2125
Hi,
I had the same problem with a Service created on VS2002 with .net 1.0, i
found that uninstalling hotfix 822925 caused the service to start correctly
hope this helps
Micah.
Christian Jost wrote: Hello
I have the problem that my service under Windows NT SP 6a with Framework 1.1. doesn't run. I will receive an unknown exception from the framework all the time. But the service runs under Windows 2000 and XP. I removed the whole service code so that I have had only the start and stop methodes and a little worker-thread. "Normal" Applications run very well on the NT-Machine.
Does somebody had the same problem?
Thanks for your help.
Chris.
The Exception-Message from the eventlog: ---------------------------------------------------------------------------- - Die Beschreibung der Ereignis-ID ( 0 ) in Quelle ( .NET Runtime ) konnte nicht gefunden werden. Sie enthält folgende Einfügezeichenk ette(n):.NET Runtime version 1.1.4322.573- testservice.exe - Common Language Runtime Debugging Services: Application has generated an exception that could not be handled.
Process id=0xb6 (182), Thread id=0x74 (116).
Click OK to terminate the application. Click CANCEL to debug the application..
Hi Micah
Thank you for your hint.
We tried it with a "clean" machine (without any windows-updates) and it
works fine :-)
But I didn't found the hotfix 822925 on the other machine so we will have to
check the service after each hotfix installation :-(
Maybe it's another hotfix.
Chris.
"Eddy" schrieb im Newsbeitrag news:Oy******** ******@TK2MSFTN GP10.phx.gbl... Hi,
I had the same problem with a Service created on VS2002 with .net 1.0, i found that uninstalling hotfix 822925 caused the service to start
correctly hope this helps
Micah.
Christian Jost wrote: Hello
I have the problem that my service under Windows NT SP 6a with Framework 1.1. doesn't run. I will receive an unknown exception from the framework
all the time. But the service runs under Windows 2000 and XP. I removed the whole service code so that I have had only the start and stop methodes
and a little worker-thread. "Normal" Applications run very well on the
NT-Machine. Does somebody had the same problem?
Thanks for your help.
Chris.
The Exception-Message from the eventlog:
--------------------------------------------------------------------------
-- - Die Beschreibung der Ereignis-ID ( 0 ) in Quelle ( .NET Runtime ) konnte nicht gefunden werden. Sie enthält folgende Einfügezeichenk ette(n):.NET Runtime version 1.1.4322.573- testservice.exe - Common Language Runtime Debugging Services: Application has generated an exception that could
not be handled.
Process id=0xb6 (182), Thread id=0x74 (116).
Click OK to terminate the application. Click CANCEL to debug the application..
Hi,
The 822925 hotfix is a rollup of other hot fixes so it could be one of
those if you have them installed individually.
Please let me know how you get on.
Micah.
Christian Jost wrote: Hi Micah
Thank you for your hint. We tried it with a "clean" machine (without any windows-updates) and it works fine :-) But I didn't found the hotfix 822925 on the other machine so we will have to check the service after each hotfix installation :-(
Maybe it's another hotfix.
Chris.
"Eddy" schrieb im Newsbeitrag news:Oy******** ******@TK2MSFTN GP10.phx.gbl...
Hi,
I had the same problem with a Service created on VS2002 with .net 1.0, i found that uninstalling hotfix 822925 caused the service to start
correctly
hope this helps
Micah.
Christian Jost wrote:
Hello
I have the problem that my service under Windows NT SP 6a with Framework 1.1. doesn't run. I will receive an unknown exception from the framework all the time. But the service runs under Windows 2000 and XP. I removed the whole service code so that I have had only the start and stop methodes and a little worker-thread. "Normal" Applications run very well on the NT-Machine. Does somebody had the same problem?
Thanks for your help.
Chris.
The Exception-Message from the eventlog:
--------------------------------------------------------------------------
--
- Die Beschreibung der Ereignis-ID ( 0 ) in Quelle ( .NET Runtime ) konnte nicht gefunden werden. Sie enthält folgende Einfügezeichenk ette(n):.NET Runtime version 1.1.4322.573- testservice.exe - Common Language Runtime Debugging Services: Application has generated an exception that could not be handled.
Process id=0xb6 (182), Thread id=0x74 (116).
Click OK to terminate the application. Click CANCEL to debug the application..
Hello
It was the hotfix 822925 too. But during the installation of this hotfix, we
received an error, that the hotfix couldn't get installed. After this
attempt to install the hotfix, the service didn't work. Although we couldn't
install the hotfix, it does something anyway. With all the updates until
last week except this hotfix the service works well.
Chris.
"Eddy" schrieb im Newsbeitrag news:OC******** ******@tk2msftn gp13.phx.gbl... Hi,
The 822925 hotfix is a rollup of other hot fixes so it could be one of those if you have them installed individually.
Please let me know how you get on.
Micah.
Christian Jost wrote: Hi Micah
Thank you for your hint. We tried it with a "clean" machine (without any windows-updates) and it works fine :-) But I didn't found the hotfix 822925 on the other machine so we will
have to check the service after each hotfix installation :-(
Maybe it's another hotfix.
Chris.
"Eddy" schrieb im Newsbeitrag
news:Oy******** ******@TK2MSFTN GP10.phx.gbl...Hi,
I had the same problem with a Service created on VS2002 with .net 1.0, i found that uninstalling hotfix 822925 caused the service to start
correctly
hope this helps
Micah.
Christian Jost wrote:
Hello
I have the problem that my service under Windows NT SP 6a with
Framework1.1. doesn't run. I will receive an unknown exception from the
framework all
the time. But the service runs under Windows 2000 and XP. I removed the whole service code so that I have had only the start and stop methodes
and a
little worker-thread. "Normal" Applications run very well on the
NT-Machine.
Does somebody had the same problem?
Thanks for your help.
Chris.
The Exception-Message from the eventlog:
--------------------------------------------------------------------------
--
- Die Beschreibung der Ereignis-ID ( 0 ) in Quelle ( .NET Runtime )
konntenicht gefunden werden. Sie enthält folgende Einfügezeichenk ette(n):.NET Runtime version 1.1.4322.573- testservice.exe - Common Language Runtime Debugging Services: Application has generated an exception that could
not be
handled.
Process id=0xb6 (182), Thread id=0x74 (116).
Click OK to terminate the application. Click CANCEL to debug the application..
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Eric Chong |
last post by:
I created a Windows Service in C# that requires to get
passed command arguments like a Console App. I noticed
that there is an option "Start parameters" text box in
the property of a Windows Service in MMC. Is there any
way to get arguments using this option? If possible, what
framework method should I use to get an arguement?
Thanks in advance.
Eric
|
by: cd |
last post by:
Is there a specific process or permissions that must be granted to get a .NET
(framework 1.4) Window Service to run properly on a Windows 2003 Server?
I built a Windows Service to start two local programs (Putty and Pageant)
located on a Win 2003 Server. The service installs but doesn't start the
Putty / Pageant programs properly when using any user ID except my own. Why
will it work with my User ID? I install the Windows Service on a Win...
|
by: Robert May |
last post by:
I have an application that uses the Ax web browser object. When I call the
IHTMLElement.click() method on an input button (<input type="submit"> or
<input type="button">), the click fires appropriately, if I'm running it
from a windows forms based application.
However, when I run the EXACT same code under a windows service, either as a
logged in user or as the local system account, the click fails to process.
Clicking on other elements...
|
by: SP |
last post by:
Hi All,
I wrote a windows service which is supposed to stop after specified amount
of time. I am calling OnStop() after specified time. OnStop() methods
executed but I dont see the service stopping.
Please advise how to stop the service.
Thanks,
SP
|
by: Samuel R. Neff |
last post by:
We're using a 3rd party C DLL in a project that we don't have source
for. When we call the DLL from a console app everything works fine.
However, when we call it from a Windows Service, the DLL doesn't work
(sorry, can't be more descriptive.. no errors, but no results).
We've even taken the exact Windows Service project and put code in
main() to instantiate the service and call OnStart() instead of going
through the service base class. ...
| |
by: Adam Clauss |
last post by:
I have a C# Windows Service running as the NetworkService account because it
needs to access a network share.
As part of the service's initialization, I want the service to terminate, if
an unrecoverable error occurs. When that case occurs, I create a
ServiceController object and call the Stop() method.
However - I get an exception thrown saying access denied. If I switch to
using the LocalService account it works fine, but I lose...
|
by: Tomas Kepic |
last post by:
Hi,
i'm trying to create my first ASP.NET project ( HelloASPWorld project) but
an error occured when I put OK button in NewProject.
ERROR:
"The Web server reported the following error when attempting to create or
open the Web project located at the following URL:
'https://localhost/HelloASPWorld'.'HTTP/1.0 503 Service Unavailable'."
|
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: JamesB |
last post by:
I am writing a service that monitors when a particular app is started.
Works, but I need to get the user who is currently logged in, and of course
Environment.UserName returns the service logon (NT_AUTHORITY\SYSTEM).
I understand that when the service starts, no user may be logged in, but
that's ok, as the app I am monitoring can only be run by a logged in user.
Do I need to use WMI to get the user context of Explorer.exe or is there a...
|
by: dm3281 |
last post by:
Hello --
I plan on writing a C# service using VS2005.
If I want my service to have a tray icon, is this typically done from within
my service or do/should I create a controller application and have that run
separately from my service?
|
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: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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...
| |