Scenario: SSRS, in SharePoint integrated mode, is calling a custom web service located in the SharePoint ISAPI folder access through _vti_bin. This service is using LINQ 2 SharePoint to query multiple lists in the SharePoint WFE. A layout of the set up can be seen below. Okay, network diagrams is not my strong point! Because [...]
Archive for the ‘LINQ 2 Sharepoint’ Category
SharePoint, SSRS and Kerberos
Posted: 27th July 2011 in Kerberos, LINQ 2 Sharepoint, Security, Sharepoint 2010, SSRS, Web ServicesA fairly obvious one this, but I thought I would just blog it anyway. When trying to generate some data model classes using SPMetal I received the error “Invalid File Name”. I opened up the SharePoint logs and searched for the SPMetal from the bottom up. First hit was: Now terminating ULS (SPMETAL.EXE, onetnative.dll) . [...]
SPMetal Error: Web cannot be found when URL has spaces or %20
Posted: 28th June 2011 in LINQ 2 Sharepoint, Powershell, Sharepoint 2010Today, while trying generate a model, using SPMetal, I found out that SPMetal does not like spaces in the web URL. After trying the URL in quotes with the space and again with %20 in the string for the URL encoding seen below. Neither of them were able to find the application. SPMetal /web: ”http://sharepoint/services/Rota [...]
Getting the string values of SPMetal generated Choice fields
Posted: 2nd June 2011 in LINQ 2 Sharepoint, Sharepoint 2010When you use SPMetal.exe to generate strongly typed entity classes to represent your SharePoint site, all lists which contain choice fields are created as enumerators. However, the references to the enumerator created in the class are pointing to a System.Nullable of the enum. This is not a big deal to convert, but it does cause [...]