• Register
1 vote
118 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 46 views
46 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 114 views
114 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 25 views
25 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.6K views
1.6K 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
0 votes
1 answer 93 views
93 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
0 votes
1 answer 100 views
100 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
0 votes
1 answer 10 views
10 views
1 view I am searching for interview questions. If anyone can help it will be help. thanks
asked Dec 8, 2020 tyson 720 points
0 votes
1 answer 127 views
127 views
Problem: A(n) _____ might be written by a programmer or it might be created through a DBMS utility program?
asked Jul 23, 2020 conner 1.5k points
0 votes
1 answer 51 views
51 views
Problem : I am unable to understand the root cause of following error, because when I attach the debugger it will not occur. Invalid operation exception: collection was modified; enumeration operation may not execute. This is the WCF server in a Window based service. The method ... , the code executes fine. Do you see a problem in my code? Do I need to make the dictionary the thread-safe?
asked Nov 24, 2019 alecxe 7.5k points