service

Bluetooth -> service discovery failed

Hello, I'm writing an application which is able to communicate with my PC. I have used the Bluetooth functionalities of the SDK 2.1. I can find devices, get their MAC address, create a RFCOMM socket, but when I start the connection, I get the following error message : Service discovery failed. 1)Is it because of the UUID which is no...

WCF in IIS How do I update a dll in the bin folder?

I'm a newbie with WCF. I had wcf service in iis running fine. I made a code change to the DataAccessLibrary.dll in which the main class is DAL. The service.cs file references this dll. I dropped the new dll into the bin folder. Now an error is thrown in the service.cs code that says "DAL does not exist in the current context" I'm thinkin...

Is it Ok to throw exceptions back to a client from my service?

I am writing a Java based service with WSDL for a .Net client to consume, and I thought that when I receive an invalid value from the client that I would throw an exception that my client could then catch and display in a message box or something to the user (the client is a desktop app). I was wondering if it would be ok to use this ap...

c# windows service config file

Hello, I have created a C# .net Windows Service that has a config file. I am reading the settings of the config file from my code using string setting1 = Properties.Settings.Default.setting1; If I change the value of setting1 directly in the .config file of the Windows Service for some reason it maintains the value that I had set f...

Why does my .NET service start really slow on a XP boot

Hi, I have a .NET windows service which acts as a host for some wcf. In the OnStart method the service hosts are created and started. The service is configured to startup automatically. This works well on Windows 7 (32bit and 64bit) and it can be startet with "net start" on Windows XP Pro SP3. The service startup with "net start" comman...

Can SharePoint web services be used to retrieve the ACL for a document or folder in a SharePoint document library?

I would like to use SharePoint web services to retrieve files and folders from a SharePoint document library along with any ACL associated with each. I know I can get the files and folders but I don't know if there is a way to get the ACLs. Is this possible? Thanks ...

Service Broker External Activation Runs App Multiple Times.

I am using service broker as my messaging system to schedule and run jobs. Eash job is composed of multiple tasks or steps called engines. My service broker objects are: MessageTypes: SubmitJob, JobResponse, SubmitTask, TaskResponse Contracts: JobContract, TaskContract Queues: ClientQueue, JobQueue, EngineQueue, ExternalActivatorQue...

Make program startup through windows service c#

Hey, I have a program starting up through the registry, but I want it to start up more efficiently. So I asked some questions and I have found out that a windows service is the way forward. I have looked at how to make a windows service but I have not found any answers for what I need. I am trying to create a checkbox on my application...

Jquery ajax call pass GridView DataKey

I need to pass a GridView DataKey (Primary key) as parameter in an ajax call JSON with jquery. However,i dont't to expose my primary key column in source code HTML.I've already tried to hide the TD (first column) of the table,but it doenst hide in source code. Here is the Jquery code: $(function(){ $("tr").each(function(){//hid...

Bluetooth : connect with service name

hello, I'm writing a client application to connect a bluetooth device. I only only know the name of the service of the bluetooth device. How ccan I connect with the service name and not with an uuid ? Or How could I find the server UUID ? Thank a lot, Cédric ...

Deploying a .NET service after updating a COM DLL

I'm trying to update a vb6 DLL and redeploy a .NET service, but I'm getting the following error: System.Runtime.InteropServices.COMException (0x80040154): Retrieving the COM class factory for component with CLSID {D01BF589-BC04-4119-8168-AE6180BBD021} failed due to the following error: 80040154. The steps I'm taking in de...

Grails 1.2.0 - Forcing a service to rollback

Hi, I have a service class that calls other utility classes. These classes themselves sometimes save domain objects and flush them (ex: new User(...).save(flush:true)). I'm calling my service class from a test. Is my service transactional? From what I can see in the logs, the Flush Mode is always changing: impl.SessionImpl setting f...

Solving SharePoint Server 2010 - 503. The service is unavailable, After installation

Installed: SharePoint Server 2010 for Internet Enterprise Beta (x64) On: Windows Server 2008 Standard (x64) on 64 bit hardware Attempts to access the Central Administration console led to IIS returning 503. The service is unavailable And this error was found in the Application log The Module DLL 'C:\Program Files\Common Files\Microsof...

Should Service Depend on Many Repositories, or Break Them Up?

I'm using a repository pattern for my data access. So I basically have a repository per table/class. My UI currently uses service classes to actually get things done, and these service classes wrap, and therefore depend on repositories. In many cases my services are only dependent upon one or two repositories, so things aren't too crazy....

Implement Daemon on ASP.NET / C# / IIS Site?

I'd like to implement a POP3-mailbox processing component for our medium-sized consumer website. Our site uses IPSwitch as the mail/smtp/pop host. This processing component would let us offer "reply to this message board discussion via email" type services. It would need to run constantly; or at the very least, every 3-5 minutes or s...

How to add verification service to a website?

I am currently looking for a verification service for personal and business. For example I will have a user either pick a personal or business account for the website. If the user decides on having a personal account than they would have to be check from the verification service to prove their identity. I am not sure if there is even a s...

how to monitor a windows service using a web page

I have built a web page that does a complex processing, and I realized recently that I need to convert it to a windows service running at the background and keeping the web page for monitoring and initiating the service. The service will process some files, and provides information messages to the user. I'm not sure how to implement t...

Why doesn't my Service work in Android? (I just want to log something ever 5 seconds)

I created a new class called HelloService. I added this to the Android manifest.xml. public class HelloService extends Service { private Timer timer = new Timer(); private long INTERVAL = 5000; public void onCreate() { super.onCreate(); startservice(); } private void startservice() { timer....

Why can't I stop a service in Android?

Intent helloservice = new Intent(this, HelloService.class); startService(helloservice); ... stopService(helloservice); Why won't this work? It just keeps running. Am I missing some Binds or something? By the way, this is my service: public class HelloService extends Service { private Timer timer = new Timer(); private long ...

Howto to receive shell events in a service

How do I get events about changed files, directories and media in a Windows service? ...