![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | Need some help for sending custom commands from ASP.NET page Hi everyone, I have been developing a project that is composed of one windows service and one ASP.NET web site. The windows service and ASP.NET web site reside on the same server. I want to send start/stop service commands and custom commands to the Windows service from ASP.NET Web site. What I have done is : * I read in a site that an web site user get credential of a user "Network Service" at the server so I run the service with account "Network Service" * I give full control for user "Network Service" on Windows Service executable . What I get at the web site when I try to start/stop Service or send custom commands is "access denied' error. Should I programmatically get any priviledges? What should I do? Best regards B. Erbil KONUK |
My System Specs![]() |
| | #2 (permalink) |
| | Re: Need some help for sending custom commands from ASP.NET page I'd probably use .NET remoting to control the service remotely. Oddly enough that's what the project does I have open right now. Also, there's quite a few remoting examples out on the internet if you're unfamiliar with it. "erbilkonuk" <erbilkonuk@xxxxxx> wrote in message news:98b31be6-73ef-4a66-92e8-d9859bcb30ee@xxxxxx Quote: > Hi everyone, > I have been developing a project that is composed of one windows > service and one ASP.NET web site. The windows service and ASP.NET web > site reside on the same server. > I want to send start/stop service commands and custom commands to the > Windows service from ASP.NET Web site. > What I have done is : > > * I read in a site that an web site user get credential of a user > "Network Service" at the server so I run the service with account > "Network Service" > * I give full control for user "Network Service" on Windows Service > executable . > > > What I get at the web site when I try to start/stop Service or send > custom commands is "access denied' error. > > > Should I programmatically get any priviledges? What should I do? > > > Best regards > > > B. Erbil KONUK |
My System Specs![]() |
| | #3 (permalink) |
| | Re: Need some help for sending custom commands from ASP.NET page hey, Just make a web service handle it for you. Regards, Behdad |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Re: IE8 Send Page/Link Commands Do Not Work | Live Mail | |||
| Can't create a custom page size | Vista print fax & scan | |||
| Custom Page Size | Vista print fax & scan | |||
| Custom Speech Commands | Vista General | |||
| Voice Recognition - Custom Commands? | Vista General | |||