WCF in Production Error.
hi guys. mi wcf working without issues in vs, in iis 7 present problem 500
my structure in deploy is.
service url: http://myservername/mysite/myservice.svc
page url: http://localhost/mysite/mytestpage.aspx
and put clientaccesspolicy.xml file in my wwwroot folder.
but not working.
this log iis7
2009-11-08 07:32:41 ::1 /tipificacion/ - 80 - ::1 mozilla/4.0+(compatible;+msie+8.0;+windows+nt+6.1;+trident/4.0;+slcc2;+.net+clr+2.0.50727;+.net+clr+3.5.30729;+.net+clr+3.0.30729;+media+center+pc+6.0;+.net+clr+1.1.4322;+officeliveconnector.1.4;+officelivepatch.1.3) 200 0 0 8
2009-11-08 07:32:41 ::1 /tipificacion/silverlight.js - 80 - ::1 mozilla/4.0+(compatible;+msie+8.0;+windows+nt+6.1;+trident/4.0;+slcc2;+.net+clr+2.0.50727;+.net+clr+3.5.30729;+.net+clr+3.0.30729;+media+center+pc+6.0;+.net+clr+1.1.4322;+officeliveconnector.1.4;+officelivepatch.1.3) 304 0 0 1
2009-11-08 07:32:41 ::1 /tipificacion/clientbin/personframework.xap - 80 - ::1 mozilla/4.0+(compatible;+msie+8.0;+windows+nt+6.1;+trident/4.0;+slcc2;+.net+clr+2.0.50727;+.net+clr+3.5.30729;+.net+clr+3.0.30729;+media+center+pc+6.0;+.net+clr+1.1.4322;+officeliveconnector.1.4;+officelivepatch.1.3) 304 0 0 1
2009-11-08 07:32:42 ::1 /clientaccesspolicy.xml - 80 - ::1 mozilla/4.0+(compatible;+msie+8.0;+windows+nt+6.1;+trident/4.0;+slcc2;+.net+clr+2.0.50727;+.net+clr+3.5.30729;+.net+clr+3.0.30729;+media+center+pc+6.0;+.net+clr+1.1.4322;+officeliveconnector.1.4;+officelivepatch.1.3) 304 0 0 1
2009-11-08 07:32:42 ::1 post /tipificacion/personservice.svc - 80 - ::1 mozilla/4.0+(compatible;+msie+8.0;+windows+nt+6.1;+trident/4.0;+slcc2;+.net+clr+2.0.50727;+.net+clr+3.5.30729;+.net+clr+3.0.30729;+media+center+pc+6.0;+.net+clr+1.1.4322;+officeliveconnector.1.4;+officelivepatch.1.3) 500 0 0 1
any suggestion?
hi first thing check if service running or not, here 1 of wcf service
[url] http://buildsite.dk/ecf/editor.svc
now, working url need given on service reference. compile , publish it.
servicereferences.clientconfig
<configuration>
<system.servicemodel>
<bindings>
<basichttpbinding>
<binding name="basichttpbinding_editor" maxbuffersize="2147483647"
maxreceivedmessagesize="2147483647">
<security mode="none" />
</binding>
</basichttpbinding>
</bindings>
<client>
<endpoint address="http://buildsite.dk/ecf/editor.svc" binding="basichttpbinding"
bindingconfiguration="basichttpbinding_editor" contract="editorservice.editor"
name="basichttpbinding_editor" />
</client>
</system.servicemodel>
</configuration>
once published in iis , in case http://discountasp.net, if service url runs show [url] click on it and if output comes...that means service working. sl project should run
please 'mark answer' if helps you
sharker
Silverlight > Accessing Web Services with Silverlight
Comments
Post a Comment