Hi All,
I have a WCF Service in my Silverlight Application which retrieved some data from database.i have added a service reference in my silverlight application.which is working fine in my system.now what i wanted to do is i just wanted to crete a webset up of my silverlight application as well as my WCF Service.when i install that setup in other machine it should host in the IIS.the user of that machine can able to access the data!!!I have created the web setup and installed in other mahine service is working fine but data is not populating the application.
Can anyone help on this please...
Thanks,
Prasant

Mahadesh MahalingappaPosted Aug 18, 2011, 4:13 AM
Please provide more details . What error message do you get. It would help if you can provide the code as well.
Thanks ,
Mahadesh
Prasant JinagaPosted Aug 18, 2011, 4:00 AM
I have given the permission in the database of the users.
Thanks,
Prasant
Prasant JinagaPosted Aug 18, 2011, 3:58 AM
Yes i do have the clientaccessfile and well as crossdomain in my WCF Service.and in my ServiceReferences.ClientConfig,I already set the endpoints.Still its not working in other machines.
Thanks,
Parsant
Jaganathan BantheswaranPosted Aug 18, 2011, 3:25 AM
With priya ans, do the following.
In your Sql Server , Give IIS Users Permissions to Access your Database.
still you are in problem,
Read this forum post.
Priya LingePosted Aug 18, 2011, 2:12 AM
1.Do you have clientaccessfile or crossdomain file at your server side(Wcf service).
2.In ServiceReferences.ClientConfig change the endpoint address from
address="http://localhost:6465/Service1.svc" To
address="http://ServerName/Folder in wwwroot/Service1.svc"
Hope this will help you.Thanks.