Re: [ADVANCED-DOTNET] window Services C#

2002-07-15 Thread Matt Milner
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:

Re: [ADVANCED-DOTNET] window Services C#

2002-07-15 Thread Greg Pasquariello
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

Re: [ADVANCED-DOTNET] window Services C#

2002-07-15 Thread Christopher Dix
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

[ADVANCED-DOTNET] app.exe.config

2002-07-15 Thread Jeff Hughes
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

Re: [ADVANCED-DOTNET] Design Questions

2002-07-15 Thread Craig Andera
> 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

[ADVANCED-DOTNET] Multiple ManagementEventWatcher AccessDenied

2002-07-15 Thread Hein, Richard
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

[ADVANCED-DOTNET] window Services C#

2002-07-15 Thread Jeff Hughes
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.

Re: [ADVANCED-DOTNET] Design Questions

2002-07-15 Thread Jeff Dunmall
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

Re: [ADVANCED-DOTNET] Design Questions

2002-07-15 Thread Phil Kirby
> 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

Re: [ADVANCED-DOTNET] Design Questions

2002-07-15 Thread Sheppard, John
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,

Re: [ADVANCED-DOTNET] Design Questions

2002-07-15 Thread Sheppard, John
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

Re: [ADVANCED-DOTNET] Metada physical layout (#- stream)

2002-07-15 Thread John Lam
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

Re: [ADVANCED-DOTNET] Business Entity Layer and Database Design.

2002-07-15 Thread Hein, Richard
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

[ADVANCED-DOTNET] Metada physical layout (#- stream)

2002-07-15 Thread Michal Jaeschke
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

[ADVANCED-DOTNET] Start Process in ASP.Net

2002-07-15 Thread prashanth g
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

[ADVANCED-DOTNET] alternate config files?

2002-07-15 Thread M H
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

Re: [ADVANCED-DOTNET] Garbage Collection

2002-07-15 Thread Hilyard, Jay
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

Re: [ADVANCED-DOTNET] Garbage Collection

2002-07-15 Thread John Lam
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

[ADVANCED-DOTNET] Garbage Collection

2002-07-15 Thread Alex Henderson
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) -

Re: [ADVANCED-DOTNET] Application Center Test 2000 Authentication mode

2002-07-15 Thread Greg Reinacker
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

Re: [ADVANCED-DOTNET] Business Entity Layer and Database Design.

2002-07-15 Thread Peter Foreman
--- 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

Re: [ADVANCED-DOTNET] Inferring XML Schema without using a DataSet

2002-07-15 Thread Phil Kirby
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

Re: [ADVANCED-DOTNET] Design Questions

2002-07-15 Thread Andrés G Vettori
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

Re: [ADVANCED-DOTNET] Design Questions

2002-07-15 Thread Craig Andera
>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