Archive for the ‘Sharepoint 2010’ Category

One of my latest challenges was to display one of the new SharePoint 2010 social fields in a datagrid. At first this was just to display the field, but after the client seen the mouse-over functionality on the list item, they wanted to be able to assign a rating straight from the grid without having [...]

Okay, before anyone comments on the simplicity of this posting. It merely t allow me to get the script easily in the future.  What’s the purpose of it? It basically retracts a solution and waits until its fully retracted, then deletes it, adds it in again and redeploys it. Not rocket science, but handy.  #Set [...]

One I’ve been meaning to blog for a while, but just never got round to it I came across an error when Creating a Custom web service for SharePoint when trying to deploy the web service to the ISAPI  folder, allowing me to access a web service through the  _vti_bin of SharePoint.  When you create [...]

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

Came across the above error on all the reports served through SharePoint in integrated mode. Not sure why this happen, but you seem to be able to resolve it by restarting the reports service. Go to the Reporting Services Configuration Manager ( seen in figure below), connect to the server, then stop and start the [...]

After deploying several event receivers to a variety of lists I found that one of the event receivers did not seem to be working, but instead was firing a old version of the DLL. So, to check that it was indeed attached, I ran the following PowerShell command. $spWeb = Get-SPWeb –Identity <SharePointWebUrl> $spList = [...]

Bizarre one this: Using SharePoint 2010’s new Modal Popup functionality a link had been created from a tab control to launch the new form for the list items associated with the tab. However, every time the form was submitted, it overwrote one of the existing records in the list. Firstly, I thought I was imagining [...]

I received the above message on some SSRS reports when the reports were using a shared data source and accessing a custom built, SharePoint, web service, in the ISAPI folder, . However, the following error left me very confused when some of the web methods were returning the data okay and the rest were returning [...]

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