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

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 16 views
16 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 Raphael Pacheco 4.9k points
0 votes
1 answer 97 views
97 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 20 views
20 views
Problem : I want to develop the alexa skill, which should communicate with my own webservice (tomcat). To set up my project I initially followed the amazon guides. However I am still unable to connect to my web service and I am only facing the below message : "The remote ... "text" }, "shouldEndSession": true } } How can I resolve my issue? Please Note : I have hosted my service on Amazon EC2.
asked Dec 23, 2019 alecxe 7.5k points
0 votes
1 answer 1.2K views
1.2K 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 jwilliam 3.9k points
0 votes
1 answer 58 views
58 views
Problem : I want to deploy my ASP.NET application. I have tried deploying my site to IIS, but when I visit it with the browser, it gives me following error : Server Error 500 - Internal server error. There is a problem with the resource you are looking for ... error: The page cannot be displayed because an internal server error has occurred. I want to see the actual issue behind my server error?
asked Dec 7, 2019 alecxe 7.5k points