Click here to Skip to main content
13,006,002 members (67,853 online)
Rate this:
Please Sign up or sign in to vote.
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 14-Feb-12 0:37am
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Assuming the machine is remote from the client you are using to test it:
You won't be running on localhost any more ;)
Rate this: bad
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.


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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170628.1 | Last Updated 5 Jan 2013
Copyright © CodeProject, 1999-2017
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