Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Apr 25, 2012 08:22 PM by yzhang738
Apr 24, 2012 07:53 PM|LINK
I want to know how many wcf services can be added to asp.net 4.0 web application. The reason is that when I add a 2nd wcf service, it gives error as,
There was an error downloading 'http://localhost:49646/Service1.svc'.
The request failed with the error message:
<title>The type 'DisputeSuite.Web.DisputeManager.Service1', provided as the Service attribute value in the ServiceHost directive, or provided in the configuration element system.serviceModel/serviceHostingEnvironment/serviceActivations could not be
Apr 24, 2012 08:12 PM|LINK
I don't think there is a logical limit. I have 15 running in 3.5 framework.
Have you checked your port setting and refreshed the bindings to the service?
Apr 24, 2012 08:56 PM|LINK
How to checked the port setting and refreshed the bindings to the service?
Apr 25, 2012 12:36 PM|LINK
Check out this video it will give you some direction....
Apr 25, 2012 08:22 PM|LINK
This is solved. The reason is old asp.net web project is 2.0 and not work with wcf. After recreating the web project in 4.0, it is working.