Hi i have created Service1.svc and hosted on IIS. in silverlight i add it in service references i am able to call the simple method but when i try to call the method where i am retriving data from sql not able to get in silverlight application i had a simple query that i am taking the count of rows of ABC table.
when i checked it in the WCF it is giving me the proper count but when i use that method in Silverlight application i am getting 0 when i am printing it in message box. can some one please help me to get the data from SQL using WCF in Silverlight. Thanks! in advanced.
WCF Silverlight Enabled services not retriving the data from SQL in Silverlight application.
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.


Riddhi ValechaRank #794 · 2.9K reputationPosted Oct 29, 2012, 4:23 AM EDT
I think it has got to be some small mistake.
It can be found out by debugging the code.....
Also, send the .bak file of your database to that I can restore it directly....