Click here to Skip to main content
15,892,643 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Please help me

Error msg: There was no endpoint listening at http://URL that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.

My WCF is called in Windows service. While my service hosted in 32 bit functions properly after migration to 64 bit.. It respond to some calls and throws the above error.

Why it respond to some calls and not the other. What should I change to fix it.

Thanks a lot in advance.
Posted
Comments
Abhipal Singh 22-May-15 13:59pm    
Can you publish your WCF binding file here?
Member 11531733 29-May-15 4:58am    
system.servicemodel>
bindings>
wshttpbinding>
binding name="WSHttpBinding_ISyncFalconService">
/wshttpbinding>
/bindings>
client>
endpoint address="http://sasv02ur.saipemnet.saipem.intranet/SyncFalcon/SyncFalconService.svc" binding="wsHttpBinding" bindingconfiguration="WSHttpBinding_ISyncFalconService" contract="SyncFalcon.ISyncFalconService" name="WSHttpBinding_ISyncFalconService">
identity>
userprincipalname value="SAXT0423@saipemnet.saipem.intranet">
/userprincipalname>
/identity>
/endpoint>
/client>
/system.servicemodel>
Rajat_RJT 25-May-15 0:36am    
There may be some problem with your config file. Can you please post your file here?
Member 11531733 29-May-15 5:22am    
?xml version="1.0"?>
!--
Note: As an alternative to hand editing this file you can use the
web admin tool to configure settings for your application. Use
the Website->Asp.Net Configuration option in Visual Studio.
A full list of settings and comments can be found in
machine.config.comments usually located in
\Windows\Microsoft.Net\Framework\v2.x\Config
-->
configuration>
configSections>


section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere"/>
section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
/sectionGroup>


/configSections>
connectionStrings>
!--<add name="IMSConnectionString" connectionstring="Data Source=SIPSVA234;Initial Catalog=GHRSInterface;User ID=IMS;Password=ims2009" providername="System.Data.SqlClient">-->
add name="IMSConnectionString" connectionString="Data Source=SASV02V1\FALCONPP;Initial Catalog=GHRSInterface;User ID=IMS;Password=IMS2009" providerName="System.Data.SqlClient"/>
!--<add name="IMSConnectionString" connectionstring="Data Source=sasv02hv.saipemnet.saipem.intranet;Initial Catalog=GHRSInterface;User ID=IMS;Password=ims2009" providername="System.Data.SqlClient">-->
!--<add name="IMSConnectionString" connectionstring="Data Source=SIPSV0116;Initial Catalog=GHRSInterface;User ID=IMS;Password=IMS2009" providername="System.Data.SqlClient">-->
!--<add key="PortalConnectionString" value="Data Source=SASV02V1\FALCONPP;Initial Catalog=Falcon;User ID=FALCON;Password=FALCON$2013">-->
/connectionStrings>
appSettings>
!--<add key="FolderPath" value="D:\GHRSService\ProcessHistory\">
add key="InterfaceLog" value="D:\GHRSService\InterfaceLog\"/>-->
add key="FolderPath" value="\\sasv02sa.saipemnet.saipem.intranet\PayRollTT\Falcon\GHRSService\ProcessHistory\"/>
add key="InterfaceLog" value="\\sasv02sa.saipemnet.saipem.intranet\PayRollTT\Falcon\GHRSService\InterfaceLog\"/>
add key="ErrorText" value="\\sasv02sa.saipemnet.saipem.intranet\PayRollTT\Falcon\GHRSService\Debug\Errorlog.txt"/>

!-- ~~~~~ File server crendential ~~~~~~-->
add key="FileServerUsername" value="SAXT0422"/>
add key="FileServerPassword" value="aDm.PRlL.101"/>

!--~~~~~~~~-->
/appSettings>
system.web>
customErrors mode="Off"/>
!--
Set compilation debug="true" to insert debugging
symbols into the compiled page. Because this
affects performance, set this value to true only
during development.

Visual Basic options:
Set strict="true" to disallow all data type conve
Member 11151142 25-May-15 2:02am    
Check <endpoint address=""> in web.config file. You have made a mistake somewhere

1 solution

As you said your service is load balanced and it responds to some calls and not all..
To find out the faulty node, do the basic sanity check.

1) Make sure that all the nodes of your load balanced environment have the latest service installed and they are all up and running. To check this, browse the service by using node specific URL and not the load balancer URL.
2) Make sure you have the same (correct) web.config on all the nodes attached to the load balancer.

Publish your findings here so that we can help better.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900