service

How to send array throught HTTPservice in Adobe Flex 3

How to send array in Httpservice in Adobe Flex3 ...

WCF Behavior Extension Elements Not Recognized in Visual Studio

This question is related to the question posted here: http://stackoverflow.com/questions/169342/why-isnt-my-custom-wcf-behavior-extension-element-type-being-found I'm using the WCF Behavior Extension with Custom Credentials demonstrated on MSDN here: http://msdn.microsoft.com/en-us/library/ms730868.aspx The only difference is that I'...

Print a tiff file from a .Net Windows Service

Hello to all, We have built an application that receives several files in different formats, pdf, tiff, jpgeg, doc, etc. After received, they are converted to tiff files using a third party printing driver which is installed locally on the server and set up as the default printer. In order to do that we open a System.Diagnostics.Process...

What is the best way to store a user name and password for a Windows Service?

What is the best way to store a user name and password for a Windows Service? The service has to be able to access an MS SQL Server database on a remote machine. We have to support MS SQL Server authentication (mixed mode) instead of NT Authentication. ...

Atl service not registering

I'm trying to register an atl service using ExeName.exe /service as described here: http://msdn.microsoft.com/en-us/library/74y2334x(VS.80).aspx After doing so though, it's not appearing in my services control panel (the one that I get to by typing Services in the start box on vista). I've tried to dig through the atl code to see whe...

Why does Log4Net run so slow in my Windows Service?

I have a windows service that uses log4net. We noticed that the service in question was running painfully slow so we attached a debugger to it and stepped through. It appears that each time it tries to write an entry to the log via log4net that it takes anywhere from 10 to 30 seconds before the next line of code can execute. Obviously th...

Service Unavailable in IIS

When I access a wrong call to a sql server data into my application in classical ASP I get this message in my entire site: Service Unavailable. It stopped. My site is in a remote host. Don´t know what to do. What can I tell to the "support team" of them to fix that? ...

Uninstall Windows Service from Deployment package

Hi, I know that you can install your Windows Service via the VS deployment system which I've done. But how do you deploy updates after that? Each time I deploy a new version, it says that the service already exists and exits. I tried to add a little DOS CMD file with the following: net stop [ServiceName] sc delete [ServiceName] It wo...

Hosting a complex online service

I have an idea for a web-based service. The implementation is very complex. There will be very few users, and the traffice will be fairly low, but the server-side code could require a lot of resources. Ideally I'd need to have as much control over the servers as possible. How should I arrange hosting for this, when it comes time to rele...

Securing Windows Service Applications

Is there any way to restrict users with administrative privileges from managing specific Windows service based applications? I would like to restrict administrators from stopping or re-starting my service very similar to the Windows event log service. What are some of the more popular approaches or recommended approaches to securing serv...

How to return an error from a service?

I'm writing a service application that sometimes cannot be stopped immediately upon receiving the SERVICE_CONTROL_STOP from the Services MMC. I currently handle it like this: (in pseudo-code): DWORD HandlerEx( DWORD dwControl, DWORD dwEventType, PVOID pvEventData, PVOID pvContext ) { switch( dwControl ) { ...

2.0 Equivalent of WCF Service

Hosting a WCF Service Host in a Windows Service really seems to be quite a simple way to go to communicate with a running Windows Service...if you're running 3.0/3.5. What the easiest way to get the same sorts of things out of the 2.0 Framework if that's what you're stuck with? ...

Is there any way to restrict how many item returned by CodeCentral Web Service

I am building web client for CodeCentral web service from CodeGear web site. I need to restrict number of items return by Search operation of CodeGear web service, say it, 10 per page. This way I can minimize loading of my web page. I just don't know how to do it. Any ideas? ...

how to set windows service username and password through commandline

using sc command we can query, start , stop windows serice for ex: sc query "windows service name" sc config command changes the configuration of the service. but i dont know how to use it. could someone can tell me how we can set the username and password for windows service. ...

Remote Name could not be resolved

While accessing a webservice which is availbale at http://recpushdata.cyndigo.com/jobs.asmx, I am getting this Exception. "Remote name could not be resolved" Any Suggesytion..what to do.. ...

Launching a Process from a Service

I'm trying to launch another process from a service (it's a console app that collects some data and writes it to the registry) but for some reason I can't get it to launch properly. I basics of what I'm am trying to do is as follows: Launch the process Wait for the process to finish Retrieve the return code from the process I am cur...

Server based reuse - DLL, GAC, or REST?

We have a piece of functionality that is used by several different applications (clients) on the same server. It can best be modeled as a service, has a backend database, and there will only be one version of the functionality and the database in use at any one time. Until now we have employed simple DLL-reuse, with the functionality, i...

::FindWindow fails from Service application

Windows API ::FindWindow function fails when called from Service application. GetLastError() also returns 0 (success?). Is this some privilege\access right problem? Do you think it's design problem and I should use another IPC method? ...

wcf service to service communication & data contract

hi all! i have recently been involved in developing a WCF service which acts as a kind of multicast relay (i.e. accepts some incoming data, does some processing and then sends it off to multiple other external services). this service (which i will refer to as "my service") is fed data by a second internal service. this data is going to...

Windows service shut down

I use VS6 and ATL with CServiceModule to implement a custom windows service. In case of a fatal error service should shut itself down. Since CServiceModule is available via _Module variable in all files I thought of something like this to cause CServiceModule::Run to stop pumping messages and shut itself down PostThreadMessage(_Module.d...