Wrox Programmer Forums
|
.NET Web Services Discussions about .NET XML Web Service technologies including ASMX files, WSDL and SOAP.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the .NET Web Services section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 14th, 2003, 02:22 PM
Authorized User
 
Join Date: Jul 2003
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Indian Ocean Send a message via Yahoo to Indian Ocean
Default Remoting (.Net)

I have developed one .net remoting application ,in that i have made server as console application.

Now i want that that server run as a window service.
I have placed the code of the server into service file.
But still it is still not working.
Service run without any problem but it doesnt give any result.

Can anybody help?
Is there any changes in code or is there any other configuration or like that i have to write ?

Kildly waiting for any reply
Thanks...

Indian Ocean
"Rago Me Daudate Firne Ke Hum Nahi Kayal;
Jo Aankh Hi Se Na Tapka To Fir Lahoo Kya!"
__________________
Indian Ocean
\"Empower yourself....\"
 
Old July 22nd, 2003, 11:51 PM
Authorized User
 
Join Date: Jun 2003
Posts: 97
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to planeswalk
Default

Hi,

Thought this might help:

http://www.fawcette.com/vsm/2003_03/...ed/default.asp


Cheers!
Marlon
 
Old July 28th, 2003, 03:38 PM
Authorized User
 
Join Date: Jul 2003
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Indian Ocean Send a message via Yahoo to Indian Ocean
Default

Thanks planeswalk.
lets see is that work for me!

Indian Ocean
"Rago Me Daudate Firne Ke Hum Nahi Kayal;
Jo Aankh Hi Se Na Tapka To Fir Lahoo Kya!"
 
Old July 28th, 2003, 03:40 PM
Authorized User
 
Join Date: Jul 2003
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Indian Ocean Send a message via Yahoo to Indian Ocean
Default

Planeswalk,
i saw this page already, but it is not helping in my work.
So pls give another help if possible,
Thanks.

Indian Ocean
"Rago Me Daudate Firne Ke Hum Nahi Kayal;
Jo Aankh Hi Se Na Tapka To Fir Lahoo Kya!"
 
Old July 30th, 2003, 01:19 PM
Registered User
 
Join Date: Jul 2003
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I have a problem with getting any service to start. I went to the link that was posted in this thread and when I attempt to start it in the Services screen after doing an InstallUtil MyService.exe, the same error comes back after about two minutes:

Could not start the MyService service on Local Computer. Error 1053: The service did not respond to the start or control request in a timely fashion.

I'm also following the same steps from the Wrox book, Visual Basic .NET Remoting, page 140 - still failing.

 
Old July 30th, 2003, 03:50 PM
Authorized User
 
Join Date: Jul 2003
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Indian Ocean Send a message via Yahoo to Indian Ocean
Default

hi
when u r creating service installer, there is one opetion in property to set the service owner that will start the service,
so make this to "Local Computer" or may be "Local System" dont remember exactly.
compile again and reinstall the service and start it.
your problem will solved.

Indian Ocean
"Rago Me Daudate Firne Ke Hum Nahi Kayal;
Jo Aankh Hi Se Na Tapka To Fir Lahoo Kya!"
 
Old November 12th, 2003, 03:27 PM
Registered User
 
Join Date: Nov 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Probably you have an exception in the OnStart event of de service object. Try catching all the code inside that function and if errors occurs, log it.

Pet.





Similar Threads
Thread Thread Starter Forum Replies Last Post
.NET Remoting manisha2578 VB.NET 0 May 9th, 2005 11:23 PM
.NET Remoting vikyjain General .NET 0 March 7th, 2005 12:50 AM
.NET Remoting application in vb.net Tek4VB .NET Web Services 6 November 19th, 2003 09:59 AM
.Net Remoting. kpphani .NET Web Services 5 August 1st, 2003 10:37 AM
.NET Enterprise Development in VB.NET Remoting burkert All Other Wrox Books 0 June 24th, 2003 09:04 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.