Did you also create the service installer class in your service executable?
This is the class that actually does in the installation. With it, you can
set the properties for how the service will be setup in the service manager
initially.
HTH,
Matt
-Original Message-
From: Jeff Hughes
To:
Make sure that your service has a Service Installer and a
ServiceProcessInstaller. Do this by selecting your service, and in the
Design View, right click and "Add Installer".
-Greg
---
G. Pasquariello & Associates, LLC
Specializing in .NET and Java Systems Design and Development
Email: [EMAIL
Jeff Hughes wrote:
>
> I am trying to create a window service in C#.
> I created a new Windows Service and used the on_start
> to instantiate a dll. I used InstallUtil.exe to register the
> service. here is the log file from the registration. My
> problem is it will not show up in the service mana
I am trying to create a .config file for a windows
test application.
I am using
System.Configuration namespace
trying to access northwind and pubs
I am trying to access them by this line of code
strConnection = ConfigurationSettings.AppSettings["northwind"]
how do I name the .config file so it
> That what I was thinking as well (except I would set the minimum to 1,
> not the maximum, right?). With a COM+ object pooling solution, you
> aren't tying yourself to ASP.NET. Sure - each pooled object is going
to
> have its own copy of the data, but memory is cheap, and you can
control
> how
I am queuing some WMI event watchers (using
System.Management.ManagementEventWatcher) on the ThreadPool. I cannot
start two ManagementEventWatchers that vary only by their queries on the
same thread. If I try, I get an AccessDenied error - only on the first
one.
using System;
using System.Ma
Hi all,
I am trying to create a window service in C#.
I created a new Windows Service and used the on_start
to instantiate a dll. I used InstallUtil.exe to register the
service. here is the log file from the registration. My problem is
it will not show up in the service manager so I can start it.
Hi,
Phil wrote:
> As far as creating the shared cache in COM+. You could set up the
data
> access component in its own application that is object pooled with the
> maximum object setting set to 1. Then when the app starts, your
> constructor would load the data once and the object pooler will
> Shared Property Manager:
>Continue to use SPM.
>Pros: Stable, Fast, already implemented.
>Cons: Creates artificial dependencies of calling process to load
SPM.
> Can't be controlled external to the calling application.
I think he means that Each application has its own SPM. The SPM
Andres,
Thank you very much for your suggestions. The data caching service
is ideally what we like to go for, but due to volume of calls I don't think
this is going to be possible and still maintain suffecient thoroput on
processing documents. We will eventually be running in a web farm,
Craig,
The answers are in-line.
>> I have a design question. Let me give a little run down of the project.
We are currently porting and enhancing an existing VB/ASP app to C#/ASP.NET.
>Out of pure curiousity, why are you switching to C# instead of VB.NET?
What we are doing as far as C# is
IIRC, the #- stream is used only for incremental compilation. Try the
/incr- switch to see what happens.
-John
http://www.iunknown.com
-Original Message-
From: Michal Jaeschke [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 15, 2002 6:56 AM
To: [EMAIL PROTECTED]
Subject: [ADVANCED-DOTNET
It's common to not allow records to be deleted from your database at all
in circumstances like yours.
If someone deleted a user group because they wanted to change something
as simple as the name, you would be required to propagate any changes to
underlying records that rely on that key - a cas
In "Partition II Metadata" there is information about streams in metadata
physical layout (23 Chapter):
"Implementation Specific (Microsoft Only) - Some compilers store metadata in
a #- stream, which holds an uncompressed, or non-optimized representation of
metadata tables; this includes extra met
Hi,
I have an ASP.Net Application. From this application I need to start
a process which will run a Visual Test File (Something like a Setup
File with some UI). When I run this, the processes are getting
created, but the UI does not appear. I am not sure if the UI will come
or not but the newly
I would like to run all the tools on my site (both the website and any
backend tools) from a single configuration file. .NET's configuration
capabilities don't seem quite right, because it allows for one config file
per app. I looked into machine.config as well, but that's not quite right
either
If you have created no dependencies on the cached object and it is used
frequently enough then I would think that your object would hang around for
quite some time. By putting it into the cache, you are creating a reference
to the object in question which the GC would recognize and not collect it
I presume that a reference to your singleton object is stored in a
static field, right? If so, then that is deemed to be a "rooted
reference" and will not be GC'd. Jeffrey Richter's book has an excellent
description of how the GC operates.
-John
http://www.iunknown.com
-Original Message
I've implemented my own caching system for objects which I use both in
winform apps and web projects, currently I store the the entire cache
object/controller etc. in the web cache when doing ASP.Net applications
because I was worried about the cache being GC'd (the cache is a singleton
object) -
Well, if you're using HTTP authentication (Basic, Digest, NTLM, Kerb)
then ACT can do this for you. Just create a new user set, enter in the
usernames and passwords for your users, and then associate the new user
set with your test.
If you're using Basic authentication, you can also pretty easil
--- Stefan Holdermans <[EMAIL PROTECTED]> wrote:
> But --- and this what I'm struggling with --- the junior-users and
> senior-users group will need a special treatment: they're system group and
> the app should not allow them to be removed. How will I implement that?
> Should I hardcode these res
I think what he means is create a dataset, load the XML into the dataset
and then get the dataset schema which would be in XML (via GetXmlSchema()
of the DataSet).
You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced
DOTNET, or
subscribe to other DevelopMentor lists
If you want more scalability I think that is better that this "data
cache" service will be implemented in a way that allows deploying it
separately from the main app. This design allows the safe use of a web
farm, if needed.
If isn't the case (web farms) and this "data cache" service will be
alway
>I have a design question. Let me give a little run down of the
> project. We are currently porting and enhancing an existing VB/ASP
app to
> C#/ASP.NET.
Out of pure curiousity, why are you switching to C# instead of VB.NET?
> Remoting:
>Use remoting objects to decode values.
>Pros
24 matches
Mail list logo