service

Seeing the windows of a process running as System account or as a service

Suppose you have a process which run as as service as the System Account, is it possible to view the content of the windows created by the processes created by the service. Suppose for example, that you have a service running as a kind of wrapper which starts Excel. ...

Does this Entity Repository Service example fit into Domain-Driven Design?

I would like to know if you find the following pattern meaningful in domain driven design. The domain layer consists of model and repository. The application layer consists of services that handles queries from the user interface, or from controllers in the Model-View-Controller pattern. Details of the structure: // Assembly Model: p...

Service Crash loading dll

I have made a new windows service which works fine using barebone code (just the basic framework for a service), however, when i link it against my dlls, lib file to use the functionality in the dll it crashes on start up with a 0xc0000034 error. Is there a special place to put the dlls for a service or a special way to do this? . Edi...

Validation (): Attribute 'Factory' is not a valid attribute of element 'ServiceHost'.

I'm getting Validation (): Attribute 'Factory' is not a valid attribute of element 'ServiceHost'. from VS2008 in an empty WCF Service Application after I add Factory="System.ServiceModel.Activation.WebServiceHostFactory" to the @Service directive in the .svc file. I've added System.ServiceModel.Web reference to the code-behind. I'm...

Sending a password to a Windows Service

What is the best way to send a password to a Windows Service? Our application needs a password in order to start. I don't care that services are "normally" supposed to run without user interaction. Its good enough for us that an operator can start the application and then log off. On a unix system, I would just echo the password over ...

Get Raw XML from java web service call in .NET

Hi, I am calling a Java web service using a .NET client, the return message is badly formatted since the deserialzation process throws an exception. Is there a way to view the raw xml data being returned by the web service in the .NET Client. Many thanks ...

Another wsdl importer for delphi?

Delphi(6-7-2005-2007-2009) Wsdl Importer is badly :( i'm looking another wsdl importer for delphi. (like Web Service Toolkit For Lazarus) anybody know ? ...

Client won't talk to ATL Service

I'm having a problem with an ATL Service that exports a COM object. It works running as a local service, but when running as a Windows Service, I can't connect. The service starts correctly and runs, but my client (code below) always fails with the error "Failed to start service". So we're looking at the same thing, I've put together a ...

Does Microsoft.ServiceModel.Web only work in GAC?

Hi guys, I created my first WCF RESTful service with just one GetData so I can try, and it works perfectly in localhost, but when I add it to a hosting environment, I get: Server Error in '/' Application. Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please revie...

How to reference a DLL in the web.config?

Hi guys, I have a DLL in the BIN folder, and I need it to be referenced in the web.config, or I get that annoying error: Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. Co...

What services exist that geo-locates a person based on IP?

What do people use to geo-locate a persons IP to determine the city they are in? I've tried the built in functionality of Google API but its geo-location database seem spotty. http://code.google.com/apis/ajax/documentation/#ClientLocation Anyone use any other service for geo-locating with success? ...

custom service failed to start when there is a unscheduled reboot on the server?

I created a service and what it does is writing information into a xml file. Sometime, it seem to happen mostly with unscheduled reboot, the service cannot start because the file used is "locked". This error happen while the system is still starting up since my service is set to "auto start". This is under windows 2003. Anyone know wh...

Trouble with Web Service using COM object

I have a VB.NET web service that is calling a Interop COM object. When I make multiple calls to the web service at the same time, the web service processes fine until it gets to calling the first method of the COM object. At this point, it seems as though the calls to the COM object get put on a stack and they get processed on a FIFO b...

UNC Virtual Folder

I would like to expose some service functionality as a virtual file share to allow conventional applications to use the virtual folder as a real one. For example, a file path consisting of \\\\Server\VirtualShare\File.ext means that VirtualShare doesn't really exist and only available as long as my service is running. A file access wi...

Why does my Service crash at DebugBreak() on Vista?

I'm writing a Win32 service in C++. I have a custom Assert macro that calls DebugBreak() (among other things). When I'm running my service under Vista, the service crashes when reaching the DebugBreak() call (an int 3 assembler opcode), showing the vista crash dialog. The error code is 80000003 (hardcoded breakpoint). Normally I'm expec...

In a .NET service application, where do I add the functions that it should perform?

I know how to "create" a Service application. I know what to write in the main() function. I know how to add an EventLog (or other components) to the service. I know how to define what happens when the service starts, stops or resumes. What I want to know is this... I want my Windows Service to perform certain function (like Indexin...

OnStart Not Called in .Net 1.1 Windows Service

I have a .Net framework 1.1 Windows service that works on one server, but on another the OnStart method is not being called. I have a Trace statement as the first line in the OnStart override and it's not being executed. No exception are thrown and the Windows Service control manager thinks the service has started correctly. Anyone ha...

How to intercept xml response and request during web service invocation?

I wonder if there is some neat way to intercept xml request send during java webservice method invocation and xml given in response? I don't want to print those xmls to standard output but to "catch" them in some string. ...

Search Web Service

I have the following XML from: http://msdn.microsoft.com/en-us/library/bb625950.aspx And making a simple search: SearchServiceLab.SearchService.QueryService searchService = new SearchServiceLab.SearchService.QueryService(); searchService.Credentials = System.Net.CredentialCache.DefaultCredentials; string queryString = keywordQue...

How can I detect a Windows service at project build.

I'm working on a solution that contains a Windows Service and a WinForms client that interacts with that service. In my pre-build and post-build events, I have some net start and net stop commands to start and stop the service, but there are times when this causes a problem (file's not found, service is already stopped, etc.). Is the...