Hello,
I am getting a NullPointerException at android.app.ActivityThread$PackageInfo$ServiceDispatcher.doConnected(ActivityThread.java:1012). My application is not even in the stack trace, so I have no idea what is going on. I am trying to connect to a service when it happens. How can I fix this problem?
Thanks,
Isaac Waller
...
When adding a second WCF service to an existing WCF project, or adding a first WCF service to a project gives me a dialog box "Specified Cast Is Invalid". WCF files are added to the project except interface file. Web.Config isn't updated neither.
I think the problem started after updating VS.NET 2008 to VS.NET 2008 SP1.
...
Hi all,
I am in the process of refactoring 4 disparate software components that pretty much do the same thing into a single service (not a web service - necessarily or even likely). 3 are written in C++ while the last and most important is written in Java. The rest of the system is written in Java and therefore I will not be refactoring...
I have a Windows Service that performs a long-running process. It is triggered by a timer and the entire process can take a few minutes to complete. When the timer elapses the service instantiates a management object that performs the various tasks, logs the results and then exits.
I have not implemented anything to handle those occasio...
Where can I find a detailed view of the lifecycle of a Windows Service as developed in .NET? I put my question this way because I am not sure that a detailed enough description can be posted here, but if you think you can please feel free to try.
An example of an incorrect answer would be a paste of the description from the MSDN page: I...
Is there any problem with launching a service via an Alarm's
BroadcastReceiver's onReceive? My service never has it's onCreate or
onStart method called.
My Alarm's receiver gets a wakelock, calls context.startService(new
Intent(context, FmiDaemon.class)); (context given via onRecieve
parameter), waits 3 seconds, then releases the lock....
When you create a Windwows Service, you end up with a .exe file that you need to register, and you start it from the "Services" snap-in.
If you try to execute this .exe file, you get the message: "Cannot start service from the command line or debugger. A Windows Service must first be installed (using installutil.exe) and then started wi...
I have installed Apache Tomcat 6 as a Service in a Windows XP computer (French)
My problem is that Tomcat itself and all webapps (Sonar and Hudson) now show french messages.
I want English messages of course so I went to the "Regional Settings" window in Control panel and changed everything to English (US)
Tomcat however is still in Fr...
Hello, I've got service/application connected to mssql server, and it sometimes crashes terribly with following stacktrace:
Uncaught exception: ArgumentOutOfRangeException - Specified argument was out of the range of valid values.
Parameter name: capacity, thrown at: mscorlib
Stack Trace:
at System.ThrowHelper.ThrowArgumentOutOfRange...
I need to register an existing third-party executable (database engine) Windows service from a .NET application. Is there a better way than writing to the registry?
...
Hi,
So from what I've seen about services, custom objects seem to be the way to go when the service is written to return data. If I am writing a service that will be used to 1) populate a database, or 2) provide information for a web site, is there ever a use for returning a dataset/datatable as opposed to a list of custom objects with...
Hi there,
I'm currently developing a Windows Service to download some emails in the background. For easy testing, the core of this service can be run in a standalone application, too.
There's no problem while downloading the mails (service and standalone) but I'm not able to get a WebRequest when running the service (everything's find i...
Hi,
I have a service running, and would like to send a notification. Too bad, the notification object requires a context, like an Activity, and not a service.
Do you know any way to by pass that ? I tried to create an Activity for each notification bu it seems ugly, and I can't find a way to launch an Activity without any view.
...
I use this code to authenticate to my WCF Service:
proxy.ClientCredentials.UserName.UserName = "test";
proxy.ClientCredentials.UserName.Password = "pass";
Is there any way to access this information from within a method of my WCF Service code? (I'm not interested in the password used, more the username for audit purposes.)
I'm trying...
I have an application that uses Add In Express (a product which creates Internet Explorer Add ons) and it consumes Web Services from within the browser. It works great under XP however - due to I am guessing Vista security it breaks down. I reference http://www.add-in-express.com/forum/read.php?FID=5&TID=3948&MID=18878&phras...
Hello all,
I have been developing simple web services and clients using JBoss but now I need to deploy a web service in Oracle Enterprise Manager. I tried deploying a test web service but an axis error shows when I try to access it, saying the axis version number is wrong.
I have also noticed that my web service doesn't show under "We...
I've installed a vb.net windows service on a Windows 2008 machine, that is attempting to connect to SQL 2005. The service starts succesfully, but can't see the database. The event log has the following entry.
The description for Event ID 0 from source SU4.ESMR.DAL.Job.FillPriorityJobByType(oJobDS, TypeID: 3 cannot be found. Either the c...
I have written one simple web service which get product list in JSONText which is string object
Web Service code is below
using System;
using System.Collections.Generic;
using System.Web;
using System.Web.Services;
using System.Web.Script.Services;
using System.Runtime.Serialization.Json;
using System.IO;
using System.Text;
/// <sum...
I have WCF restful service and have property called Image with Imageclass
[DataMember]
public Image Image { get; set; }
and getting the below error when trying to call the method having a object with above property
System.Runtime.Serialization.SerializationException: Type 'System.Drawing.Bitmap' with data contract name 'Bitmap:http:/...
I have a web service running on the server and the web service needs to shell out and run a gui application. This application runs on it's own, but it has some windows that it pops up to display. Currently as soon as the application gets to any point where is pops up a window, the application dies.
...