service

Is it possible for a library consumer to override C++ exceptions handling?

I have a C++ DLL with code like this: LogMessage( "Hello world" ); try { throw new int; } catch( int* e ) { LogMessage( "Caught exception" ); delete e; } LogMessage( "Done" ); This DLL is loaded by some third-party application and the code above is invoked. The problem is only the first LogMessage is invoked - even though ...

Looking for a VoIP service provider

I am looking for a VoIP service my application can use to call landlines and mobile phones. What I need: I would generate an audio file and send it to the service. The service would then place the call and play the audio file. Other features that would be a plus: TTS (I send text and the service converts it to audio for me) Abili...

WCF Windows Service TimeOut

I have a client application developed in .net seding a request to wcf service and supposed to send reponse .if execution time with in 1 minute,there is no error,if it exceeds 1 minute the error is Inner exception: This request operation sent to net.tcp://localhost:18001/PitToPort/2008/01/30/StockpileService/tcp did not receive a reply wi...

Advice on passing criteria information to service call.

I have a repository that has several specifications available. For Ex. I can call: EmployeeRepository.EmployeeSpecification().ForRegion("West Coast").Executives().OrderByLastName().OrderByFirstName().Page(1, 10). This will return me a result package containing the results array and metadata created by the specifications such as how many ...

SQL Server Reporting Service programming issue

Hello everyone, I understand how to manully connect to a SQL Server data source and input SQL statement to generate/publish a report on the web. My question is, I want end user to input some parameter values, then use such parameter values as SQL statement parameter values (e.g. using end user input time range as SQL statement parameter...

Windows Services query

Using the method described in the MSDN for registering a Windows Service (ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.WIN32COM.v10.en/dllproc/base/createservice.htm) and using similar code to the supplied example: schService = CreateService( schSCManager, // SCManager database TEXT("Sample_Srv"), // name of servi...

How can I use FastMM4 memory leak reporting in a Service?

Does the same technique which FastMM4 for Delphi provides to report memory leaks to a detailed file work if the application runs as service? Of course the best practice would be to write unit tests and a simple standalone application first, and find the leaks there, outside the service environment. Edit: and there is http://blog.delphi-...

Get XML by Post method from Webservice in Flex

Hello there, I created a servlet in java that will give me a xml response when called protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { response.setContentType("text/xml; charset=utf-8"); // Set the servlet's ...

How can make a Windows Service on a specified user?

I built a testing service which writes a message to a local file. I noticed the "Owner" property of the file is always "Administrator" which is same when using "Local System" account. But I have changed the "Log on as" setting to my personal account in service manager. What should I do to make the service work on a specified account? ...

T-SQL Indexing Service SQL openquery optimization

Scenario: I am using a T-SQL stored proc (Sql Server Management Studio) to return search matches for text documents using the MS Indexing Service and this (simplified) query: SELECT * FROM openquery( filesystem2, 'SELECT Path, Rank, Filename FROM SCOPE('' "e:\test\documents" '') WHERE CONTAINS('' FORMSOF ...

How to edit the "log on as" user in a .Net Windows Service

I plan to write a windows service to initiate all the business processing, and a Windows Forms app to do all its configuration. Can the windows user under which the service runs be edited in code as part of the configuration? ...

Stopping and starting .net windows service

Hi, I've a .Net windows service which is on App server 1. From this service, I need to programmatically start and stop another .Net windows service sitting on App server 2. How do I achieve this ? Thanks for reading. ...

proper design of web service and associated queries

hi, I am setting up a web service and i'm unsure about the most efficient design.. The web service is going to be called to populate a remote website with a list of people and their associated information. So, in the database there will be a "Person" table, then other tables for nicknames, addresses, phone numbers, etc. There may be ...

Conditional install/uninstall of Windows Service

Using VS2008 TFS I have created a setup application that installs two Window Services. The first service is always installed and uninstalled (and works fine--I'm using the installer class). The second service is optional. Depending a custom condition I set up determines whether the 2nd service is installed. If requested the install w...

How to make a Linux Service that Accepts Commands via Web Server?

I need an application to be running in the background on my web server, but I need to be able to start/stop the application with root privileges. In order to do this, I want to have a service running that has root privileges, so that it can kill the application, and start it up again if need be. Finally, I need to be able to send the s...

Need to install service in vista with Admin rights and startup behaviour

I need to be able to programatically (from an installer program) install and run a windows service so that it will have elevated admin rights (the installer app has already elevated by this point), and also that it will restart at system startup with elevated rights. Is this possible? ...

REPL console application service

I hope this is the right forum for this, and excuse the naive question. I would like to provide an "guest" login to a (non-dedicated) linux server and run just one console application. The user cannot do anything more than use this application. A scenario could be: ssh dervinATsomehost.com (no password) and the just automatical...

android app with service only

I am creating a application whose only component is a service which keeps on running in background (basically a proxy server) but I am not able to find a way how to start that service. Application can not have any UI or user interaction so I am not using Activity. Broadcast receiver can listen to BOOT broadcast but how do I start service...

type conversion from webservice object to class object

hi all, i've created bunch of classes. i have webservices which reference these classes and contains the classes as parameters and return objects. when i call the weservice, i have to convert the class to the webservice object else i can type conversion error. is there a generic way to convert between these types without having to as...

Open source js-kit/disqus like tool

is there any open-source and extendable tool like what js-kit/disqus provides that could be self hosted ? ...