Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C#4.0
I have designed a self-hosting wcf service. That service is working properly on local system using iis . Now I want to execute that service on "Remote virtual machine".
When i am installing that service on remote machine the service was started but when i execute the application using that service it is not connected to service. It is giving an exception :
The HTTP service located at Http://Localhost:8080/FileTransfer/mex is too busy.
Inner exception : Remote server return an error (503)Server unavailable
 
Which steps i need to follow to execute the application on remote virtual machine?
I dont have IIS on vitual machine.
Posted 14-Feb-12 0:37am
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Assuming the machine is remote from the client you are using to test it:
Http://Localhost:8080/FileTransfer/mex
You won't be running on localhost any more Wink | ;)
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

Follow steps:
Manually hosting files on server :
 
1) Build your WCF Service on local system
2) Publish it to local IIS server under "Default Web Site"
3) Now open IIS, and select service name from the list of sites
4) Right click and click Export
5) Copy all the files
 
On Server Side, IIS must be installed :
6) Fo to IIS , create new application - add Application
7)Enter all the details (Alias name , physical location etc)
3)Now open the physical location for the created application and paste the files there.
 
Now select servicename.cs file and click on browse from right pane.
 
Thanks,
Avinash
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 494
1 CHill60 405
2 OriginalGriff 345
3 PIEBALDconsult 285
4 BillWoodruff 213


Advertise | Privacy | Mobile
Web04 | 2.8.141015.1 | Last Updated 5 Jan 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100