Last post Apr 25, 2012 08:22 PM by yzhang738
Apr 24, 2012 07:53 PM|yzhang738|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|march11|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|yzhang738|LINK
How to checked the port setting and refreshed the bindings to the service?
Apr 25, 2012 12:36 PM|march11|LINK
Check out this video it will give you some direction....
Apr 25, 2012 08:22 PM|yzhang738|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.