| Limiting the # of object instances (2 replies, VIP) |
| ASPFriends.com 'ngfx-services' list |
| Hi! my Win service (written in .NET) waits for incoming files, processes them and then instantiates a COM object to feed the data into an external application. When many files come in at the same time, the service won't hesitate to create 10 new processes/instances of the COM object. After the n'th instance, the app errors out. Momentarily, according to suggestions in the docs, I let the GC dispos... |
|
| MissingMemberException (3 replies) |
| ASPFriends.com 'ngfx-services' list |
| Moved from [aspngfreeforall] to [ngfx services] by Tony Stark IronMan@aspelite.com Greetings all, I'm writing a windows service that launches a Sub on a timer. This sub queries the database and if there is work to be done, it grabs some information form the database row and puts it into an instance of a class that I created Public Class StateObj Friend ID As Integer Friend Name As String Friend Su... |
|
| Running Multiple instances of an NT Service (3 replies, VIP) |
| ASPFriends.com 'ngfx-services' list |
| I have created under VB .NET a NT Service Application. I got it compilied and installed on my machine. However, potentially I would need multiple instances of such services running/started. What is the best way to do it other than repeating the following process with the NT Service project I have already 1) Rename the service name 2) Rename the service name in the installer component 3) Re compile... |
|
| Service cannot find Class in Production Environment? (8 replies) |
| ASPFriends.com 'ngfx-services' list |
| Here's my situation... On my development box, I have a Windows Service called "FileWatcher" that depends on another Project I've created, called "Portal". In VS.NET, I've made this dependancy link. Within FileWatcher, I import the class "Portal" which corresponds to my project of the same name. I the development environment, this works like a charm...where it fails is when I conduct the following ... |
|
| Installing Service w/out VS.NET Tools? (3 replies) |
| ASPFriends.com 'ngfx-services' list |
| Hi there...I've got a nice tutorial that taught me how to write and install a service along with an installer using VS.NET tools (InstallUtil, and the VS Command Prompt). I'm curious, however, how to install this service on another machine (production) that does not have VS installed on it. I'm guessing it's probably relatively easy, I just haven't found anything yet on how to do it. If you can po... |
|
| Win2k Service Not Reading appSettings in Web.config (5 replies) |
| ASPFriends.com 'ngfx-services' list |
| Copied from [aspngfreeforall] to [ngfx services] by Marcie Jones marciejones@yahoo.com MODERATOR: Please forward to the appropriate forum, I'm not sure where this one goes...thanks! Hi there, my situation is this: 1) I have a Win2k Service running (built w/VS.NET) that is using the FileSystemWatcher 2) This service imports the entire namespace associated with my web application 3) This service mak... |
|
| Using System.Drawing.Printing.PrintDocument in Service (3 replies) |
| ASPFriends.com 'ngfx-services' list |
| I am trying to print a document from a .net service that I have created. I can create the System.Drawing.Printing.PrintDocument without a problem but when I call the System.Drawing.Printing.PrintDocument.Print method, I get the below two exceptions: An unhandled exception of type 'System.Runtime.InteropServices.ExternalException' occurred in system.dll Additional information: Failed to create syst... |
|
| Executing a batch file (2 replies, VIP) |
| ASPFriends.com 'ngfx-services' list |
| I doubt this is service specific, but... How do I execute a program or batch file from within my C# service? Jim T. |
|
| form in services (6 replies, VIP) |
| ASPFriends.com 'ngfx-services' list |
| Is it possible to access a form from a service? I don't need to display the form, but I need access to a VB6 ActiveX object that needs to be dropped on a form to be used. Jeff |
|
| VB Windows Service! (5 replies, VIP) |
| ASPFriends.com 'ngfx-services' list |
| Moved from [winforms vb] to [ngfx services] by Charles M. Carroll charlesmarkcarroll@yahoo.com Can we make a window service application in VB.NET start at boot time?? Tru V. Pham http://www.viettre.net Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com |
|
| Function call problems with vs.net RTM (3 replies) |
| ASPFriends.com 'ngfx-services' list |
| Copied from [winforms vb] to [ngfx services] by Charles M. Carroll darthcarroll@asplists.com I have a windows service that I just upgraded from Beta2 to RTM. I'm getting the error below whenever I try to call any of my subs now. It's not the code inside of the subs failing, but the actual call to them that is failing...? Sub OnTimer(ByVal source As Object, ByVal e As System.Timers.ElapsedEventArgs... |
|
| Windows Service and system tray (5 replies) |
| ASPFriends.com 'ngfx-services' list |
| Original Message From: "Alex Lowe" webmaster@asp grandrapids.net To: "aspngfreeforall" aspngfreeforall@aspfriends.com Sent: Wednesday, December 05, 2001 10:01 AM Subject: [aspngfreeforall] RE: Windows Service and system tray Jim, If you haven't already, you may want to also send this message to [ngfx services] (http://www.aspfriends.com/aspfriends/ngfx services.asp) where the service experts hang ... |
|
| Microsoft Example Doesn't Work. (2 replies, VIP) |
| ASPFriends.com 'ngfx-services' list |
| This article shows the bare bones of a Windows Service: (http://docs.aspng.com/quickstart/util/srcview.aspx?path /quickstart/howto/s amples/Services/ServiceApplication/SimpleService/SimpleService.src&file VB\S impleService.vb&font 3) And on this line: AddHandler timer.Tick, AddressOf OnTimer It puts a funny blue line under "Tick" and on mouse over it says that "Tick is obsolete, Please use Elapsed... |
|
| Building A Service (4 replies, VIP) |
| ASPFriends.com 'ngfx-services' list |
| I tried posting this to ASPNGFreeForAll but received no really qualified replies. I am posting it here hoping to get a little direction. This article seems to really hit my target end result. http://msdn.microsoft.com/library/default.asp?url /library/en us/cpguidnf/ht ml/cptskCreatingServiceProgrammatically.asp Does anyone know the best way to keep a service in loop? Force it to re run a script wi... |
|
| NotifyIcon (3 replies, VIP) |
| ASPFriends.com 'ngfx-services' list |
| Copied from [winforms cs] to [ngfx services] by darthcarroll@asplists.com Has anyone has success using the NotifyIcon within a windows service. I have no problem using the control within a windows form application, but for some reason it won't appear while embedded in a windows service. I have tried everything. I the Icon is getting loaded correctly, and no exceptions are being thrown. If you have... |
|
| windows service with C# (4 replies, VIP) |
| ASPFriends.com 'ngfx-services' list |
| Anyone out there writing Windows Services with C#? I have written a Window s Service with VB.NET. It runs perfectly. I have tried to translate it in to C#. The c# service compiles properly and installs. When I try and star t the service, I get an error stating that the service did not start in a t imely manner (Error 1053). The service merely gets a value from a MSMQ Que ue and inputs some data in... |
|