this first post on here. normally, find answer on other threads, time i'm stumped.
i have silverlight app , can connect webservice send/receive data fine, except 1 page have. other pages, can data, make changes , send service. 1 page, try send data service , gives me login box web server. whether put in credentials or not, error "the remote server returned error: not found." have combobox gets loaded on page load event , gets data service fine.
any appreciated.
here web.config file:
<configuration> <system.web> <authentication mode="windows"/> <compilation debug="true" strict="false" explicit="true" targetframework="4.0" /> <customerrors mode="off"/> </system.web> <system.servicemodel> <behaviors> <servicebehaviors> <behavior name=""> <servicemetadata httpgetenabled="true" /> <servicedebug includeexceptiondetailinfaults="false" /> </behavior> </servicebehaviors> </behaviors> <bindings> <custombinding> <binding name="network_integrity_control_panel.web.service_ad_sql.custombinding0"> <binarymessageencoding /> <httptransport authenticationscheme="negotiate"/> </binding> </custombinding> </bindings> <servicehostingenvironment aspnetcompatibilityenabled="true" multiplesitebindingsenabled="true" /> <services> <service name="network_integrity_control_panel.web.service_ad_sql"> <endpoint address="" binding="custombinding" bindingconfiguration="network_integrity_control_panel.web.service_ad_sql.custombinding0" contract="network_integrity_control_panel.web.service_ad_sql" /> <endpoint address="mex" binding="custombinding" bindingconfiguration="network_integrity_control_panel.web.service_ad_sql.custombinding0" contract="imetadataexchange" /> </service> </services> </system.servicemodel> </configuration>
firstly , welcome so
.
it gives login box because authentication mode windows
what see config endpoint address empty address=""
.
you should give address in code or in config file.
have @ microsoft resources http://msdn.microsoft.com/en-us/library/ff648505.aspx
Comments
Post a Comment