WCF (Web Services) + Silverlight 5 – "The Given Key was not present in Dictionary" 錯誤
WCF Web Services – web.conf ( Source File : ) |
<?xml version="1.0"?> <configuration> … … <system.serviceModel> … … <endpoint address="" binding="webHttpBinding" contract="WCFData.IService"> … … </endpoint> … … </system.serviceModel> … … </configuration> |
( Change To ) |
<?xml version="1.0"?> <configuration> … … <system.serviceModel> … … <endpoint address="" binding="basicHttpBinding" contract="WCFData.IService"> … … </endpoint> … … </system.serviceModel> … … </configuration> |