WCF / ASMX :: Can Start Windows Services Remotely Using Webservice

Feb 10, 2011

how to start or stop the windows services of a remote system.

now what i need to know is, is there any possibility such that the windows services can be start or stop by using webservices.

suppose i have created a webservice in remote system which will keep on monitering the status of windows services present in that machine. now i will create a client service which will sends the service(windows service) name and action to be performed(that is starting or stopping the service).so is it possible to do in such a manner.

View 3 Replies


Similar Messages:

Security :: Error On Start Windows Services From .net Page?

Mar 1, 2010

I created a page for display my own windows services installed in the system. That page displays the service display name and status in the grid view and also showed one button to start ot stop the service according to the statusAll working nicely. But when i click start button i got the error as follows{"Cannot open Service1 service on computer '.'."}and the inner exception is "{"Access is denied"} .

View 1 Replies

Web Services - Webservice/asmx/ashx/whatever Programming??

Mar 25, 2011

I need to build a proxy (maybe a bad description) that receives an XML file from a 3rd party, saves it, sends it on to another 3rd party, gets the response back and passes that back to the original 3rd party. Let's call that entire process a "unit".Should I use a webservice? A Generic Handler? Something else?

I might have to do 20 "units" per second, but I know that each "unit" may span 30 seconds to a minute each, so really, I mean that I need to be able to have 1200 of these "units" running at the same time, in all varying stages of the process that I described above.As far as the file saving goes, I eventually want to put this into a database, but I would imagine that writing the file is quicker than actually saving the data into a database, so I'll just have another process that isn't nearly as time critical as this grab the files and insert them into the DB at its own convenience.

The "app" will only consist of 1 page and it will be running under SSL. This will likely be the only thing on this server at any given time to ensure that this little process is not a bottleneck.What in .Net would be a good (fast and scalable) way to go about this? I don't have any effective limit on what I would need as far as hardware goes -- so I can get a screaming machine if it would guarantee no bottlenecks.

View 2 Replies

Web Forms :: How To Find All The Web Services And Windows Services Running On A Server

Feb 4, 2011

How to Find All the Web Services and Windows Services Running on a Server in ASP.Net. I have the server details with me and want to find all the Web services running on it.

View 1 Replies

Security :: Change Windows Password Remotely?

Sep 28, 2010

I am designing a website (ASP.NET in VB) and I'd like it to have the following features: to generate a random string to be used as a password. This bit I should be able to manage, the bit I don't have a clue on is how I can pass this to a Windows machine (on a workgroup not AD) to change a user's account password.

View 2 Replies

Want To Start learning SQL Reporting Services?

Feb 25, 2010

Want to start learning SQL Reporting Services. Want to know basics like Various methods to create SSRS, their working or architecture

View 12 Replies

WCF / ASMX :: Passing Variable From Dropdownlist.selectedvalue To Asmx Webservice

Nov 10, 2010

On my page I have a dropdown for country.

On my asmx service I want to get the value of the dropdownlist to filter the next input which will be state/providence.

My code on the asmx:

[Code]....

I want to add another clause to the WHERE statement to restrict Country = @Country so I will need to get that value to the web service.

View 2 Replies

WCF / ASMX :: Bulk Insert Data Into Asmx Webservice?

Feb 24, 2011

I have datatable consist of 20 records and i want to bulk insert into sqlserver through the asmx webservice. Can anybody guide to me or provide Sample BusinessLogic and webservice code.

View 1 Replies

Web Services - Authentication Problem Between Webforms App And A Webservice?

Mar 4, 2011

I got a ASP.Net webforms app which is using Forms authentication. It needs to authenticate against a webservice which uses windows authentication (+ impersonation).

I've tried (amongst other things) to supply credentials by using:
service.Credentials = new NetworkCredential(myUserName, thePassword, theDomain)

The problem is that I get 401 from the webservice no matter what I try.

View 2 Replies

Web Services - Fast Segmented Downoad Of File Through Webservice?

Mar 15, 2010

Im doing this project where i need to download files through a webservice (images, videos). The download MUST go through an existing webservice. The existing webservice was made when there were no need to upload and download files but the project has changed and now we need to do It through a webservice.Right now I have implemented the download as a method that returns a byte[], I open a streamreader and resds the entire file into a byte[] and returns it to my method. This is working file on small files <~1Mb, above it takes too long time. I want to show some progress (e.g. when the user downlaods a 20Mb video) which i cannot do right now. And i want to make it download much faster (is a strategy to use multithreading and several threads that downloads a part of the file?). It is within a WPF application i need to do this.

View 1 Replies

WCF / ASMX :: FTP Directory Listing In Windows Application But Not In Windows Service?

Dec 13, 2010

Iam using ftp client wrapper class for accessing ftp.

iam able to download files from ftp when used in windows application

when i try to use the same code with windows service i get an error

the error is

"The underlying connection was closed: An unexpected error occurred on a receive. "

this error i get on directory listing

the stack trace is:

[Code]....

Note:

FTP is getting connected throgh service
FTP is getting connected throug FileZilla, internet explorer

soruce code:

[Code]....

View 5 Replies

Web Forms :: How To Interact Between Windows Media Player And Windows Media Services

Jan 12, 2011

I have an ASP .NET 2.0 (4.0 is an option) page that I've embedded the Windows Media Player to using OBJECT tags.

The player is connecting to a Windows Media Services publishing point on the Web server. This is on a 2008 server.

Everything works great, see it here: [URL]

If I understand correctly, the information the player is showing in its status bar comes from the ID3 tags of the current track. Continuing on this line of thought, the ID3 information must be coming to the player from the media server. Correct?

What I want to do is collect and use the information about the track that's current being played. I'd like to be able to create a custom display for the current track information. I'd also like to put a custom value in the track information to look up additional information about the artist/track from a database.

View 2 Replies

WCF / ASMX :: How To Execute WebService Asmx Link From Default.aspx Page Link Using HTTPRequest And HTTPResponse

Nov 3, 2010

I have spent a couple of days on this one. I have an ASP.NET website that has Linkbuttons on

the Default.aspx page.. I added a WebService to the Website because later on the WebService will

subscribe to a Provider(Feed) of News, Sports and Weather and things like that. So when a Linkbutton

on the Default.aspx page is clicked it will connect to the link in the WebService which will load the News,

Sports or Weather onto the Default.aspx web page.

The problem is I can't get the LinkButton to execute the Link in the WebService. The link will call the page up

to where you see all of the Web References. But then if you want to execute one of those references you

have to click its link and the Invoke button that will follow. My questioh is how can the link on my Default.aspx

page execute the link in the WebService. Now I changed the LinkButton into an <a href> but I still can't execute

the link in the WebServices. I always use www.Microsoft.com as the link when testing and I wasn't sure about the return type

so I put "void" for an HTTPRequest, so below is the link from the Default.aspx web page and below that is he asmx file:

[code]....

View 2 Replies

WCF / ASMX :: From Where To Start For WebServices

Jun 10, 2010

from where to start learning WebServices. I do not know anything about it, i searched internet but no useful sites were found. I am unable to understand almost all the codes written in App_Code/WebService.vb file that is generated in VS.I know some basics of ASP.NET ,VB.NET and C#.NET.

View 4 Replies

WCF / ASMX :: How To Use Web Services

Jul 17, 2010

i want to know, how to use the web services in asp.net project

View 2 Replies

ASMX :: Books For Web Services, And WCF

Jul 28, 2010

I need a book or two to get a good understanding of web services, starting from very basics, and going upto WCF. I've been using c# for 2 years and have intermediate level of experience with the language.

View 1 Replies

WCF / ASMX :: How To Distribute Web Services

Sep 21, 2010

Using ASP.NET 3.5 /C# / VS 2008.

I have written some web services that I want to make available to others by subscription. The subscribers need to use the service from a specific domain / IP address and also authenticate with a user Id and password.

What exactly should I distribute to the subscriber so they can use the services, while exposing the least about my code?How can authenticate a consumer of services without always passing an Id / password for each service?

View 3 Replies

WCF / ASMX :: Difference Between Web Services And WCF?

Feb 8, 2011

I learned from internet that webservices can be invoked only by HTTP whereas WCF can be invoked by HTTP,TCP,et., can i know the difference between them

View 4 Replies

WCF / ASMX :: How To Learn Web Services

Aug 6, 2010

These days I see that every other job posting requires LINQ and WCF. I have spent lot of time on LINQ, was fun to learn.

Now I want to move on to Web Services and WCF. After goggleing for some time, I am not sure either go for web services or WCF.

View 2 Replies

WCF / ASMX :: Host Web Services In IIS 5.1?

Mar 2, 2011

I've created Web Services in .Net 3.5 & Consumed those Web Services in a Client Web Application. Now i want to Host the WebService in IIS 5.1. I'm very new to .net, I'm using VS 2010, Wndows XP Service Pack 3, IIS 5.1;

View 15 Replies

ASMX :: WCF Services To Talk To Each Other?

May 5, 2010

I have a wcf dataservice that talks to a silverlight client and a wcf service library that talks to a chat client.How can i get the two services to talk to each other?

View 3 Replies

WCF / ASMX :: Impersonation For Web Services?

Mar 18, 2011

From my following code snippet:

ExchangeServiceBinding binding = new ExchangeServiceBinding();
binding.Credentials = new NetworkCredential(username, password);
binding.Url = "http://servername/ews/exchange.asmx";

The above web services throws Unauthorized Access Error (Error : 401) for newly created users.I would like to know how to impersonate this user for accessing this exchange web services.

View 1 Replies

WCF / ASMX :: End Point URL In Web Services?

May 12, 2010

What is End Point URL in Web Services?

View 1 Replies

Start Batch Job From IIS / Start Exe File With System.Diagnostics.Process.Start With Another Account Is Disabled?

Oct 28, 2010

What is the right approach when users (authenticated domain admins) should be able to start batch jobs (usually exe files) from an IIS (7.x) aspx (c#) page? This is an intranet site. The batch jobs have to run on the web server as Domain Admins. The website pool is executed by network service or some similar restricted account in AD.

Approaches I can think of (and their disadvantages):
1. Start exe file with System.Diagnostics.Process.Start with another account. This feature is disabled in IIS 7.x, how do I allow it?

2. Create a sheduled task and call scheduled task-api. This unmanaged dll is giving VS compiler warnings because it's unsafe to call from managed code.

3. I suppose there's a better approach, because the previous suggestions doesn't appear safe or robust.

View 2 Replies

Web Forms :: Session In Windows Services?

Feb 28, 2010

how to maintain session id in windows services in c#.net ,please help me regarding this issue.

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved