Click here to Skip to main content
15,895,557 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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

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 ;)
 
Share this answer
 
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
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900