In my ASP.NET 4.0 webapplication I have added a reference to our Sharepoint server.
I then present some items using
Dim Context As New Data.SharePoint.DataITDataContext(New Uri("http://sp01/data/_vti_bin/listdata.svc"))
Context.Credentials = System.Net.CredentialCache.DefaultNetworkCredentials
ASPxGridView1.DataSource = Context.Dokumentation.Where(Function(Item) Item.KundNr = customer.CustomerID).ToList
While running it locally on my development machine (Using Visual Studio 2010) everything works. But as soon as I publish it to the IIS, which happens to be the SharePoint server, I no longer see any records. No exception is thrown or anything, I just do'nt get any data.
Any ideas on why?
View Complete Post