service

ATL Server Web Service on Windows Vista and VS2005

Hi There !!! Let's find someone who could help me on this problem. I have created on VS2005 under Windows Vista a new Visual C++ ATL Server Web Service Project with: Blob Cache Session Services (Memory-backed session-state service) I compiled the project sucessfully. Then, i opened IExplorer and access de URL to generate the WSDL. The W...

Creating ATL Server Web Service with VS 2005 Wizard and CLR option doesn't works on Vista/IIS7

Hi There! I created a ATL Server Web Service With Visual Studio 2005 Wizard and chanded the project settings to support CLR:oldSyntax. Generating WSDL Web Service and consuming it works fine on XP width IIS 5.1. On Vista with IIS 7, only works fine when i compile the project without CLR option. With the CLR, the WSDL isn't generated. I ...

Automatically starting a JBoss service (MBean)

I'm trying to build a JBoss service that should be started automatically, each time the server is initiated. I've got the following class structure for my service: public interface CumbiaXPMServiceMBean extends org.jboss.system.ServiceMBean public class CumbiaXPMService extends org.jboss.system.ServiceMBeanSupport implements CumbiaXPMS...

No database connectivity from within Windows Service

Hi folks, I'm trying to write a service in CBuilder 6 (target XP Pro). Part of this service's job is to monitor and update a table on a database. We use direct ODBC to connect to the database, but the problem is happening with ADO as well, so we'll use that for simplicities sake. You can see my code below. This is called from a func...

WCF Service login failure unknown username or bad password

i'm new to the WCF service i have WCF service, in which i use to do file operation to a shared drive. when i try writing/reading to shared location, it throws me a Exception saying "login failure unknown username or bad password" i can do file operation in code that works fine, the problem is i have moved all the code to WCF service,...

Is it possible to change default cloaking in COM security?

I have a number of COM services in my system and I need to change default cloaking beahvior. In particular, I want to use dynamic cloaking. Since the product is a "closed" one, meaning that no other program/service will be installed on the machine, changing system defaults is one of the options. I am not willing to go into that directio...

Windows Authentication with basicHttpBinding of WCF

I am quite annoyed with this one for last 2 hours :( Folks, I am trying to access a SharePoint OOTB List web service from a Console application. My SharePoint site in IIS is set to Integrated Windows Auth mode, and anonymous access is disabled. Now at client side what I am doing is as follows try { BasicHttpBinding bin...

Java Print Service: PrintServiceLookup.lookupPrintServices does not return networked printers

If I run my JBoss application from the Windows command prompt I can get the list of printers (including networked printers just fine). If I run my JBoss application as a Windows service, I only get the list of printers that are directly connected to the machine. The networked printers don't show up. Here is the Java code I use to get...

Private beta release website like uservoice

I'm running a large private beta release for an application, about 100 beta testers. This number keeps increasing. I'm looking for a website like http://uservoice.com but more focused on private beta releases. Only accessed by invitation, allows me to store private download files as well as voting alike uservoice functionality. Do you...

install/uninstall a Windows Service

Hello everyone, I have created a Windows Service project using VSTS 2008 Windows Service type project and now I want to write scripts to install/uninstall it using PowerShell. Any reference samples or documents? thanks in advance, George ...

Determine Solutions Configuration (Visual Studio)

Is there a way, in code, to determine what "Solutions Configuration" you are running in? For example, 'Debug' vs. 'Release? I have a service that I like to test in the IDE in Debug, right now I have bool that I set which either runs the 'service' if set to true (which then uses the OnStart method to run my 'main' method), if it's set t...

Check if service is running in WiX

Hi all, Recently I had a problem in a costumer's computer. Our installer would hang during install and uninstall. Eventually I found out that the winmgmt service wasn't running, and that was causing the problem. For some reason it was disabled. I would like to add a check to our installer, to guarantee that the service is running when ...

windows service

Hi, I developed a windows service to write PDF file in a directory. The service has no problem to write file in local drives. But when it tries to write in network mapped drive it failures and writes the file in application directory. ...

Suggestions to connect Oracle db with SAP CRM via Web Service

Which Web Service platform to choose and why? On the Oracle db host we have also access to Informatica ... The amount of data to transfer is minimal - e.g. low cost solution will be appreciated The first combination which came to mind was GlassFish + Hibernate ...

How can I get a list of child processes for a given sevice in C#?

I have a service which creates a number of child processes. Using c# I need to determine the number of these child processes which are currently running. For example I have a service running called "TheService". This spawns 5 child processes, all called "process.exe". Is it possible to determine the number of child processes running und...

Single instance service

I have a service that I would like it to become single instance, because when i click restart on services.msc, the new instance of the service starts when the old instance still haven't finished (because it has to perform some actions). The code that finishes the service looks like this: protected override void OnStop() { Log.Info(...

How can I test Apple Push Notification Service without an iPhone?

Is it possible test the Apple Push Notification Services without an iPhone application? (Creating an emulator on windows?) If isn't, how could I test that? Is there a free sample application compiled to do that? I created the Server provider, but I need test the functionallity. ...

Should I Create an API or Webservice ?

Currently I am working on an app property website. Now currently if the user wants to upload a new establishment he has to enter the property details in their in house system and seperately on a different website linked to the website front end. So we would like to eliminate this duplicate data entry. We would like to provide a webservi...

How do I set the http proxy in a subshell launched from a windows service

I am writing a windows service which takes an uploaded file, runs signtool.exe on it to do the signing and timestamping and then serves the signed file back. The code for this works when run as a standalone server using twisted however if I try and run it as a service it fails with the error "Signing succeeded, but an error occurred whi...

Add commandline arguments to service installer c#

I am working on an application which starts as a service but only if a commandline switch tells it to (otherwise a standard form is opened). So when the service is started by Windows at bootup, it must pass this commandline option or the service fails to start. I would like to have the installer (ServiceProcessInstaller) add a commandl...