Dear All,
I created a Silverlight application that connect to Sharepoint site and reads list data using client object model.
This application was not using .web project for deployment and it works fine, until I needed to connect to SQL database to update the correspondent tables. So I decided to create another Silverlight application that using .web project in order to use EF and RIA Serivces. at this point the application couldn't connect to Sharepoint site although it can connect to the central administration site and load the lists.
The interesting part is that the standalone SL app was accessing SP site using the computer name as http://Computername:3030, but the .web project cannot retrieve the same information unless I replace the computername:3030 with localhost:3030 where I got the prompt to enter username & password, when I try to access the other sites using the same approche I got Nothing.
when I trace this in fiddler when accessing the sites, I can see that :
1- The application try to find the clientaccesspolicy.xml and it returns : 304 Not Modified
2- The application try to get _vti_bin/sites.asmx and it returns : 404 Not Found
while the result is a little bit differetn when I access the central administration site, I can see this:
1- The application try to find the clientaccesspolicy.xml and it returns : 304 Not Modified
2- The application try to get _vti_bin/sites.asmx and it returns : 200 OK.
I hope I explained the situation well, Could someone tell me where is the issue.
Best regards