If you are developing a windows service with .net, when you try to uninstall and re-install your service in a Windows 2000 machine, you might get an error saying “The specified service has been marked for deletion”. This is listed as a known issue with Windows 2000 based machines by Microsft.Trick is to re-start the machine before you try to re-install it.For more details refer to this Microsoft link: http://support.microsoft.com/kb/823942 Note: To install/uninstall a windows …
Monthly Archives: January 2007
Windows Service and .Net
Before .net , writing a windows service (NT Service) used to be a messy C++ job. .Net made writing awindows service simple and straight forward. What process is a good candidate to be written as a Windows service? A long running process or a repeating process that requires no user interaction, nouser interface, not even a console – just sit and do some work kind of process – you write it as a windows service. …
ASP.Net consuming Java WebService – Some observations
1) If your web service is protected by SSL, you are likely to get this error,The underlying connection was closed: Could not establish trust relationship with remote server. Possible Solution:Add a class that implements ICertificatePolicypublic class PolicySubClass : ICertificatePolicy { public bool CheckValidationResult( ServicePoint srvPoint , X509Certificate certificate , WebRequest request , int certificateProblem) { //Return True to force the certificate to be accepted. return true; } } Then in your class code, addSystem.Net.ServicePointManager.CertificatePolicy = …

Recent Comments