• Register
1 vote
315 views

Problem  :

I am trying to develop the WCF web service in VS2010. My web service works good in my VS2010, I have also added the web service reference to the project in this project, everything works great, call of methods, good.

But when I try to deploy my web service I face below error :

The webpage at (website) might be temporarily down or it may have moved permanently to a new web address.

I have already deployed my .svc file and web.config. I have also deployed all .dll files in my bin directory.When I check my project folder, there are aa Web.config, Web.Release.config and Web.Debug.config. I am very new to the WCF web services, So what do I need to deploy to make my web service work correctly?

7.5k points

Please log in or register to answer this question.

1 Answer

0 votes

Solution :

Firstly we will choose the Application Pool for our application to be used. It can use your existing Application Pool as long as it can use the same .NET version, or you can just create the new one.

Secondly, you need to choose the Site to host the WCF service. You can use the existing site or create the new site. I am going to use just Default Web Site, and will Add the Application to it

Finally, If your host machine is named MyHostMachine then to deploy your WCF, you just need to right-click your project, select the Publish and in that popup, select Publish method of Web Deploy lastly set the Service URL (ex: http://MyHostMachine), and your Site/application (ex: Default Web Site/MyWcfService)..

38.6k points

Related questions

0 votes
1 answer 10 views
10 views
Problem: Is there someone who can assist me in resolving this issue “Might be temporarily down or it may have moved permanently to a new web address”?
asked Apr 5 tuhin1 48.9k points
0 votes
2 answers 55 views
55 views
Problem: I have tried: 1. --explicitly-allowed-ports 2. Disable network service Disable Experimental QUIC protocol 3. Reset the google chrome setting. These three methods were working before. I was able to debug my project by using chrome. After I restarted my PC, The error ... no longer worked. I wish I can reinstall the chrome, but my company wasn't allow to do so. Could someone help me out?
asked Apr 25 ochena 23.3k points
0 votes
1 answer 6 views
6 views
Problem: Difference between web service and wcf?
asked Jul 24 Mezbah 130k points
0 votes
1 answer 3 views
3 views
Problem: Difference between wcf and web services.
asked Jul 22 Florina Gulnar 106k points
0 votes
1 answer 19 views
19 views
Problem: Please let me know any solution regarding this .. Difference between wcf and web services
asked May 2 Ifra 43.4k points
0 votes
1 answer 5 views
5 views
Problem: Windows 10 world wide web publishing service
asked Jul 12 Hridoy 19.2k points
0 votes
1 answer 3 views
3 views
Problem: Can i disable world wide web publishing service?
asked Jul 4 asha 121k points
0 votes
1 answer 2 views
2 views
Problem : What is the best way for me to address this problem: Error in deserializing body of request message for operation?
asked Jun 22 Siam55 110k points
0 votes
1 answer 24 views
24 views
Problem: when I try to run it on Windows 7 it gives me the following error: System.ServiceModel.CommunicationException: An error occurred while making the HTTP request to https://nfce-homologacao.svrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico2.asmx.
asked Apr 11 ummesalma 29.1k points
0 votes
1 answer 106 views
106 views
Problem: metadata publishing for this service is currently disabled.
asked Feb 18 charles mathews 5.5k points