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.