• Register
1 vote
168 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?

6 5 3
7,540 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)..

9 7 4
38,600 points

Related questions

0 votes
1 answer 3 views
3 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.4k points
0 votes
1 answer 144 views
144 views
Problem : I really thought that I had this issue fixed, but it was just disguised before. I have the WCF service hosted in my IIS 7 using HTTPS. When I try to browse to this site in the Internet Explorer, it works like a charm, As I have already added the ... used to work with http. Where else should I look as I am completely exhausted I tried all possibilities as to why I am unable to connect?
asked Dec 10, 2019 alecxe 7.5k points
0 votes
1 answer 2 views
2 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 1 day ago ummesalma 24.5k points
0 votes
1 answer 11 views
11 views
Problem: metadata publishing for this service is currently disabled.
asked Feb 18 charles mathews 5.5k points
0 votes
1 answer 207 views
207 views
Problem: I am trying to consume a PHP webservice which has the SSL certificate. I have the .net 3.5 Class library it references the webservice with a 'Add Service references' in Visualstudio 2010 If I try calling the main method of my webservice then I ... SslPolicyErrors sslPolicyErrors) { return true; } But somehow it is not working. Also I have already a certificate installed on my own pc.
asked Aug 12, 2020 Raphael Pacheco 4.9k points
0 votes
1 answer 13 views
13 views
Problem: Please let me know how to fix the issue; Your file was not found it may have been moved or deleted. err_file_not_found .
asked Mar 14 Wafa Abu Yousef 6.1k points
0 votes
1 answer 1.8K views
1.8K views
Problem : I am trying to build the Google Chrome extension. I searched on every platform and took every step to resolve my below error “Your file was not found it may have been moved or deleted. err_file_not_found” I have done everything that I could , but ... \User Data**),like the other extensions my extension also has no folder. Please let me know how to fix the extension issue.
asked Jan 22, 2020 jwilliam 3.9k points
1 vote
1 answer 2 views
2 views
Problem: Need to get rid of this. Collection was modified; enumeration operation might not execute.
asked Mar 25 PkGuy 13.1k points
0 votes
1 answer 121 views
121 views
Problem : I am trying to use the WCF4.0 template -REST. Also I am trying to make the method that uploads a file using the stream. The problem always occur at below line of code: Stream myserverStream = myrequest.GetRequestStream() ... connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception)
asked Dec 10, 2019 alecxe 7.5k points