When i insert,update,delete data asp.net through wcf service then come error

Posted by Shail12345 under Error and Solution on 11/15/2013 | Points: 10 | Views : 3988 | Status : [Member] | Replies : 2

i insert only data then come not error and while perform CRUD operation then come error

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

and my webconfig file is
<configuration>
<system.web>
<compilation debug="true" targetFramework="4.0"/>
</system.web>
<system.serviceModel>

<bindings>
<basicHttpBinding>
<binding name="BasicHttpBinding_IService1" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00" allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard" maxBufferSize="65536" maxBufferPoolSize="524288" maxReceivedMessageSize="65536" messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered" useDefaultWebProxy="true">
<readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" maxBytesPerRead="4096" maxNameTableCharCount="16384"/>
<security mode="None">
<transport clientCredentialType="None" proxyCredentialType="None" realm=""/>
<message clientCredentialType="UserName" algorithmSuite="Default"/>
</security>
</binding>
</basicHttpBinding>
</bindings>
<client>
<endpoint address="http://localhost:49338/Service1.svc" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IService1" contract="ServiceReference1.IService1" name="BasicHttpBinding_IService1"/>
</client>
</system.serviceModel>
</configuration>
where change the config file
plz help me
Thanks




Responses

Posted by: Bandi on: 11/15/2013 [Member] [MVP] Platinum | Points: 25

Up
0
Down
Refer
http://stackoverflow.com/questions/17572500/wcf-error-there-was-no-endpoint-listening-at
http://www.codeproject.com/Questions/166246/
http://forums.asp.net/t/1753107.aspx
http://www.dotnetspider.com/forum/294624-There-no-endpoint-listening-at-URL-that-could-accept-message.aspx

Mark This Response as Answer
--
Chandu
http://www.dotnetfunda.com/images/dnfmvp.gif

Shail12345, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Bandi on: 11/15/2013 [Member] [MVP] Platinum | Points: 25

Up
0
Down
This link is for CRUD operations using WCF service
http://www.dotnetcodesg.com/Article/UploadFile/2/113/CRUD%20Operation%20in%20GridView%20Using%20WCF%20Service.aspx
http://stackoverflow.com/questions/15336631/how-to-create-a-crud-wcf-service-automatically-from-a-entityframework-data-model

Mark This Response as Answer
--
Chandu
http://www.dotnetfunda.com/images/dnfmvp.gif

Shail12345, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response