Archive for the ‘LINQ 2 Sharepoint’ Category

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 [...]

A 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) . [...]

Today, 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 [...]

When 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 [...]