service

The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.

I am trying to consume a webservice and it is giving throwing this error. ...

unable to install window service using 'servicecontroller'

Hi, I want to install a windows service on a remote service. In the following blog you have said to use 'servicecontroller' http://stackoverflow.com/questions/469397/installing-a-win32-service-using-msbuild-and-microsoft-sdc-tasks However in the 'ServiceController Members' in the .chm file of 'MSBuild Community Tasks' there is no me...

Running a process as the current user from a SYSTEM process

This is the scenario: I have a service (#1) running as LOCAL SYSTEM, and it will eventually run a process (#2) that updates an application (#3). This process (#2), the updater, must run as LOCAL SYSTEM also, no problem here, since it needs to rewrite some files (#3). When the updater starts as LOCAL SYSTEM, it will kill any running in...

How To Limit a WCF Service Application, So That Only Unique Clients Can Access

i have a wcf service in c# (like the calculatorservice from msdn examples), and i was wondering is it possilble to limit it to serve only 1 client per IP? i want the possibility of a few IPs to be connected at once (at least 5-6 active sessions), and that works for now, but i don't want more than 1 connection per unique IP (or unique co...

How To Make WCF Sessions More Secure?

let's say we have a WCF service like the one from msdn examples -- c#, calculatorservice, with all the service settings on default. if i were a hacker and i knew that calculatorservice was something important, that i want to make it stop working, i could simply hack the code for service references and make an application of my own that ...

How do I create a Windows Service using vb.net in Studio 2008 Standard (No template)

Hello, I want to create a Windows Service using VB.Net, but in VS2008 Standard, you don't seem to get the "Windows Service" template I've used before. What's the best way of creating such a service, without resorting to using the C++ template? Thanks ...

Telling if a .Net app is running as service or app?

How do you tell if a .Net application is running as a Desktop application or running as a service? We are trying to test our application with Fitnesse, which loads the app up as a service then makes calls into it.. but when a modal error box is pushed then it blows up.. I want to put a check to see if it is running in a service and if i...

IKVM exe as a Service

How could I run my IKVM compiled exe as a Windows Service? Should I write a Wrapper Service to it? Is there already anything to do this? Thanks ...

c++ registry read/write from a non-admin Windows Service

I'd like to read/write some registry information from my non-admin Windows Service, and have it applied regardless of the user logged in. Would using a subkey of HKEY_USERS/.DEFAULT do the trick? Essentially, something like CSIDL_COMMON_APPDATA but in the registry. Thanks! ...

Post form data to external url + curl

Hello all, I have this form that I am trying to use to post data to an external url. I do have some very basic knowlegde of using php curl. So far if I use this code that I have written: <?php if ($_POST['request_callback']) { $customer_name = cleaninput($_REQUEST['customer_name'],"text"); $debtor_id = cleaninput(...

How can a Windows service be installed with visual basic.net express edition?

EDIT: I'm starting a bounty on this question. For the moment, I've moved on and am developing my application using VS2010 Pro Beta, but I'd really like it to be able to be built with express edition, since we are generally not a .net shop and even if one or two developers have VS PRO it will not be available to our entire team. To be ...

Does a website link (href) validation service exist?

I am looking for a web service kind of like Google Analytics. Paste some javascript into your web page and if any of the links there become invalid, hey presto, an email is sent to someone telling them which link, which page etc etc has the incorrect link. Anyone heard of such a service? ...

passing paramters using ksoap2 to .net web service, always passes nulls (empty) values

Hi, I'm having a problem in calling .net web services from android using ksoap2. The call is executed just fine without parameters, but when I pass paramters of any type, the web service just recieves a null value. I tried everything possible but no luck so far. I hope someone can help, The client side code is: public static boolean tem...

singleton pattern in Windows Activation Service

Hello I have a few WCF services that are currently being self hosted, in a very basic NT Service. I want to expand my application to add provisioning of WCF Services, and updates, as well as isolation (I want each WCF Service to be in its own AppDomain). These WCF Services contain logic that needs to be run on a regular basis, pinging...

WCF validating service certificate using a custom validator on the client side

If I am using a custom validator to validate the service certificate on the client side, what do i need to do? so far I have the following: Implemented my own custom validator to validate which implemnents X509CertificateValidator. Configure the app.config for the client to use the endpointbehavior where I specify to use the Custom Val...

Looking for blogging 'service' API

Hello. In my quest to build a site that has blogging capabilities, I am searching a blogging service. Please note that I am not interested in installing something like wordpress in-premise. I am looking for a service which will provide me with APIs to read and write blogs and be responsible for persistence and performance. Needless to sa...

Is it possible for one WCF session to throw an exception in another session?

if an administrator logs on to my service, he may wish to disconnect sessions which meet (or don't meet) certain requirements, be it automated or manual. throwing exceptions seems like a simple and effective solution, as all resources are released. i could use a local bool field which, if true, would disconnect this user the next time h...

What kind of logic goes in a repository and what kind goes in a service?

If a service uses repositories to persist data, shouldn't it be in a repository? ...

What is the preferred method of passing data between a service and an application

Possible Duplicate: Delphi 2009: How to communicate between Windows service & desktop application under Vista? I have a server running as a Windows service. To control the service and to display it's state I have an application running as a tray icon. I would like to pass data (log strings) from the service to the application. ...

Any patterns for high availability of a Windows Service?

Situation I have a windows service which I would like to make highly available. I have two unclustered servers (Windows server 2003 standard edition). The question is: What options do I have to make my service highly available in an automated way? I can think of the asymmetric master-slave option which consists of keeping the servic...