services

Native events fired when a user logs in to Linux or Mac OS

I am developing a background service which needs to run on Windows, Linux, Mac OS and Solaris. The service is very simple and is to be used to track students logging in and out of university computers. I have almost finished the Windows implementation of the service. I have invested in a number of books around native application / serv...

How to move records from one table to another in linq

I have a ProductLevel table in an SQL database. It contains the products for a store. I want to copy these records into a ProductLevelDaily table at the time the user logs onto the hand held device in the morning. As they scan items the bool goes from false to true so at anytime they can see what items are left to scan/check. From the ...

How do I get data from a running service

I have just started using services in Android and I have a made a simple service that is polling a server every 20 seconds. Now how can I get this data from my main activity (when it is active)? Alternatively the service could send it back do my main activity (but only if its active). I don't want to wake up my activity. I have read ...

Dynamic Remote Queries (e.g. serializable LINQ)

Hi, I'm looking for possible solutions for the following scenario: I have a service that holds a large amount of data in memory and also updates the data at very high frequency I want to make that data query-able for clients over the internet Ideally, I'd like the client to write a LINQ query on the client side against a proxy objec...

InstallUtill of GCC compiled exe recieving System.BadImageFormatException

I am trying to use a GCC compiled exe as a service in windows. From what I have researched I should do: C:\Windows\Microsoft.net\Framework\v2.0.50727\InstallUtil.exe [program name] Although when I try to do this I receive a message as such: Exception occurred while initializing the installation: System.BadImageFormatException: Could no...

Android Services

What are the disadvantages of running services in Android in Foreground.?? I recently read that if you want your services to last longer and not get killed easily we need to run the service in foreground. ...

How to digital sign a PDF with PHP

Hi, After some searching how I could digital sign a PDF document with PHP I couldn't really find a working solution. Does anybody know how to do this? Or do you know a third-party service which can sign PDF's for us? ...

wsimport try to resolve by namespace

Is it possible for wsimport to ignore "import" tags in wsdl that are http-linked to some XSD files and insted use XSD files provided next to the wsdl file?. I know svcutil is able to do so. ...

parameters names are appearing as string,string0,string1 on weblogic webservice standard testing home page

Hi I have webservice which takes 2 input string and dispalys them. I have created webservice in eclipse with axis 1.3 (using a simple java class) I am testing this web service with weblogic 8.1 on weblogic webservice standard testing home page. But when i test this web service : test page comes up with 3 columns Parameter Java Type ...

silverlight app realtime update design

I have a winform app, which takes live image from an ip camera, and detect vehicle license plate number from the image. Now i want to make a silverlight app which can connect to my winform app or some kind of service app, and the silverlight app gets updated whenever a new license plate number is detected, what service/architect should i...

Android Services Ploblem?

I've a application where a service is running in background and when a Serial port is connected this service will tell the activity that serial port is connected. Now ,If service is inactive or it is killed by Android for space allocation and some data comes from UART , who will serve this data? Please answer urgently. Thank you. ...

Calling a web service in an atomic way?

I have a MySQL database with product prices and from now on I want to synchronize another database with these values, but this other database is not in my server, and I can only update it through web services... Is there a way to make these two operations (updating my database and calling the web service for the other database to be upd...

Core of Windows Server name server system

Hi all, I am trying to find some info about the nature of name server in Windows server, like BIND stands for Unix or Linux, for instance. Does anyone know where can I find some tech info about the based system of a name server in Windows? Does it use a file based configuration? Thanks in advance. ...

Android: Detect when user chooses a number (he wishes to call) in the contacts list?

I'm trying to get an Android background service to be "notified" when the user chooses a phone number (he wishes to call) from the phone's contacts list. My goal with this is to prevent the system from placing the call and present a user with a choice dialog, then go from there... Need help. ...

MethodAccessException on AuthenticationBase<User>.UpdateUser Exception

I'm calling a UpdateUser on AuthenticationBase class in the System.ServiceModel.DomainServices.Server assembly installed by the WCF RIA Services installer. This works on my Win 7 desktop but on my Win 7 laptop, I get the following exception. Any ideas on what I ought to be looking for or how I can determine what is different between the...

Back-end services on LAMP

We are developing a web-client for a startup. We are thinking on different solutions. We need a guideline on how to handle back-end services. We are developing the web-client on LAMP stack. There are certain DB tasks that needs to be handled 24/7 at back-end. Would it be flexible enough to write those services in JAVA? We are really new ...

.Net's Directory Services throws a strange exception

Hi there, I have a small C# solution used to check users credentials. It works fine for two of my teammates, but on my PC I get an exception. The relevant code: PrincipalContext context = new PrincipalContext(ContextType.Domain); if (context.ValidateCredentials(System.Environment.UserDomainName + "\\" + usr, pwd)) return true; el...

Listing all service instances in WCF

I have here what would appear to be a simple task; listing all the instances of a service object actively managed by a WCF ServiceHost at any particular time. For example, my service contract interface is IFooService and the implementation is FooService (with a per-session behaviour). On the service side I simply instantiate the service...

.NET/WCF: Are WCF services on a different "tier" than ASP.NET?

At work, we have the UI layer (CSS, HTML, JavaScriptall executes in the browser), middle-tier (ASP.NET MVC and our C# libraryall executes server-side) layer, a service layer (WCF services that the middle-tier calls as-needed), and a DBO layer that WCF services use instances of. When the middle-tier (e.g. a static .cs class) calls a WCF ...

Understanding deadlocks with SQL Server query notifications

Hi I'm running into trouble with Query Notifications on SQL Server 2008 sp1. I have a table _sys_Events that multiple writers write entries into, and multiple readers perform SELECT statements with Query Notification to get latest entries immediately (this is done through .Net System.Data.SqlClient.SqlDependency class). Our database is ...