service

ASP.net session state service information

Hi all, Where can you get information on the ASP.NET State Service e.g. how it works, performance, behaviour characteristics etc. Have looked on internet but cant find in depth information or an article dedicated to the subject. Thanks ...

ASP.net session state service information

Hi all, Where can you get information on the ASP.NET State Service e.g. how it works, performance, behaviour characteristics etc. Have looked on internet but cant find in depth information or an article dedicated to the subject. Thanks ...

How to create a folder which listens for changed files or new files

I have a requirement where I create many swc files (swc files are similar to zip or jar files). I want that, whenever I create a new swc file and add it in a "particular folder" then these files should automatically get extracted (similar to what happens in Apache Tomcat webapps folder). Please help me how to do that in Windows. [Note: ...

C# Service cannot execute batch file?

I have a service that call a batch file sometime. The batch file take 5-10 seconds to be executed. The code to launch the batch file is : System.Diagnostics.Process proc = new System.Diagnostics.Process(); // Declare New Process proc.StartInfo.FileName = fileName; proc.StartInfo.WindowStyle...

How to return XML in ASP.NET

This is a very basic question. I'm just on my mission to learn ASP.NET (C#). I've done classic ASP and PHP before. For this project I have ASP.NET 2.0 at my hands. I have a Web Form that has a jqGrid Datagrid that I want to feed XML data via AJAX. jqGrid is not the problem here, though. The "problem" is the approach that I should take ...

What are the dangers of giving the Network Service account read/write permissions to your ASP.NET Web application?

What are the dangers of giving the Network Service account read/write permissions to your ASP.NET Web application? I have to do this for any directory that my app needs to write to like App_Data for my VistaDb database and some random directories to uplaod images and make changes to text files, etc. What is the danger in doing this? A...

When installing my windows service, how can I programatically make it use a specific domain account

Hi, I have a windows service that runs fine, but I have to have it run under a special user account. Currently I go into services and change the logon as section, but for deployment this has to be done more professionally. Is there a way for me to have it logon as a custom user account programatically, or during the installation proce...

Problems installing .NET Services from InstallShield 2009 MSI - Custom Action did not close 1 MSIHANDLEs

I am using InstallShield 2009 to generate an MSI for a codebase I have inherited. The code is comprised of VB6, and .NET 2.0 code (C# and C++). I'm developing and installing on Windows XP SP2. I created the Install Shield project (call it "MyClient.ISM") by reverse engineering it from the MSI provided by the previous team. Their configu...

Receiving a SMS message in a .NET application

I need to write a .NET application that listens to a SMS message , and then react to it. I assume i need a SMS gateway to interface between my application and the sender of the SMS. How could i implement this . Would the listening program need to be a web service or something else ? Please give me your ideas. Thanks, Chak ...

WCF RequestChannel; What Really Happens?

What really happens when a person calls the Open method of IRequestChannel? For example, if I have the following code: ChannelFactory<IRequestChannel> factory = new ChannelFactory<IRequestChannel>(); // using a netTcpBinding to a net.tcp://localhost:9999/Bar IRequestChannel outchannel = factory.CreateChannel(); outchannel.Open(); // wh...

How do you configure a get-only property for a Silverlight-enabled WCF service

I'm not certain where the error is resulting (from silverlight, from wcf, something else...) but, I have a WCF service being called from Silverlight. The method returns a class, with a property that does not have a setter. This throws an error. If I add a setter to the property then it does not give an error. The error is the usual impe...

How to convert an existing Java application to a SYS V service (daemon)

I have a Java application, to start it I use java -jar myapp.jar To stop it I use CTRL+C. Now I need to convert that application to something that I can start with: /etc/init.d/myapp start And I can stop with: /etc/init.d/myapp stop The problem is all about saving the PID of the process, I think I saw somewhere a recip...

Print html document from Windows Service in C# without print dialog

Hi, I am using a windows service and i want to print a .html page when the service will start. I am using this code and it's printing well. But a print dialog box come, how do i print without the print dialog box? public void printdoc(string document) { Process printjob = new Process(); printjob.StartInfo.FileName = document; ...

View underlying SOAP message using vb.net

I have a VB.NET web service that calls a third party web service. How can I view the SOAP message generated by .NET before it is sent to the third party web service and how can I see the SOAP response before it is serialized by .NET. When creating a standalone EXE, I see the Reference.vb file that is automatically generated, but don'...

How do you prevent a .NET service from timing out while waiting on a dependent service

I have a C# based service that is dependent on the MSMQ service. In some scenarios the MSMQ service takes a long time to start, apparently resulting in a timeout of the C# service. How can I fix this programatically? Edit: It appears that the bug report I was working on was incorrect, the service does indeed start eventually. I apologiz...

How to write c# service that I can also run as a winforms program?

I have a windows service written in C# that acts as a proxy for a bunch of network devices to the back end database. For testing and also to add a simulation layer to test the back end I would like to have a GUI for the test operator to be able run the simulation. Also for a striped down version to send out as a demo. The GUI and service...

Windows API to determine Service Pack version

We're working on a device driver for Vista. There's a known bug in SPO (that was fixed in SP1). We have a workaround that only works in SP0 (and destroys the behavior in SP1). Is there a Windows API or another way to tell what Service Pack version is installed? (Programmatically). ...

uml class diagram web service

Hi How do i draw in UML a class that is using a web service? Thnx :) ...

Custom Windows 2003 Services

I have an .exe I want to start when the Win2k3 server boots. Does .exe needs to be setup as a custom service. If so, what is the process to setup the custom service? ...

How to see SOAP data my client application sends?

I have a project where I have created web service proxy classes with wsdl.exe and then simply create an instance of that class (inherits System.Web.Services.Protocols.SoapHttpClientProtocol) and call the method that should send a SOAP message. I'm using Visual Studio 2008 if that matters. And I'm trying this in my development machine wit...