I had a hardcoded value in my InitializeComponent Sub for my
FileSystemWatcher Path. So it never even went that far to OnStart. But
inside my "OnStart" I am reading the path from a xml file and set the path
of FileSystemWatcher.
The service was always looking for the hardcoded directory which neve
I am having the following issue with a custom attribute I've created. I have
inherited from CodeAccessSecurityAttribute and I receive this error:
C:\Custom\TestCustomPrincipal\TestSecuredObject.cs(23): Error emitting
XASecurityPermissionAttribute' attribute -- 'Failed to load assembly
Framework.
Oh yeah, I've seen that a lot. Put error handling in your "Start" and
constructor to log to event log (or to a file) during startup. Generally
this error means that an exception was thrown inside your service, but since
there's no console (or windows) available, there was no place to show the
exc
Hi Richard,
I did use the Customer Action Install/Uninstall combination to install
mywinservice.exe.
I change my Custom Action Install/Uninstall option to Install the Primary
Output from mywinservice.exe, that sort of helped me to get around this
problem. Now I can install/reinstall my service wi
Will,
What do you mean "on a different router"?
A router is a generic term for a device that dispatches network traffic and
possibly does other network-related tasks. Two specific issues that might
be affecting you are:
A) firewall functionality turned on in the router (i.e. one of the subnets
c
I have an application with a client and server that communicate via
remoting. The client passes its ObjRef to the server. Later on, the server
calls the client back. This works great when both computers are on the
same router, but when they are on different routers, the server isn't able
to call th
The first is declared "shared"; the second is not. I wonder if that matters -- are
you calling both using someinstance.NetQueryDisplayInformation, or are you calling the
shared one with classname.NetQueryDisplayInformation ?
Good luck.
At 08:57 AM 9/10/2003 +0200, Sean Hederman wrote
>Sorry ab
Regarding the second part of your question (JMX), you can use WMI
(System.Management & System.Management.Instrumentation) at a low level
and
EIF (Enterprise Instrumentation Framework) at a high level.
Avi
-Original Message-
From: Moderated discussion of advanced .NET topics.
[mailto:[EMA
you may want to try msizap to remove all references to the install.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/setup/m
sizap_exe.asp
we have had success with this, but be careful it does have switches to kill
all msi installed applications :S
James
-Original Messa
Sorry about posting my previous on an old thread.
Okay, here's my updated problem. Ideally I'd like to use DllImport.
However, have a look at the following two declares:
_
Public Shared Function
NetQueryDisplayInformation( ByVal
p_sServerName As String, ByVal p_iLevel As Integer, ByVal p_iIndex A
I have had these problems before myself.
Have you added a custom action for the uninstall action? If not, be
sure to add one.
Make sure to check the event logs for any MSI errors or warnings as
well.
You say you "tried" to uninstall the service using installutil /u. Does
that mean the attemp
It has the same functionality is the HttpRuntime.Cache ++, you can write
your own expiration policies, scavenging algorithms implementation, etc.
The best feature is that you can plug in your own storage implementation
in addition to the 3 provided.
Regards,
Avi
-Original Message-
From:
I know this can be done. Do you have a "main" function declaration in
your program e.g.:
int main(int argc, char** args)
or some variant of the above.
--
Keith
PS. You might want to check out the following URL:
http://support.microsoft.com/?id=814472
-Original Message-
From: Akshay
You could simplify the one line to:
using System.Runttime.InteropServices;
using System.IO;
psi.FileName = Path.Combine(RuntimeEnvironment.GetRunTimeDirectory(),
"installutil.exe");
--
Keith
-Original Message-
From: Paulo Sacramento [mailto:[EMAIL PROTECTED]
Sent: Monday, September 08,
14 matches
Mail list logo