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 [...]
Archive for the ‘Sharepoint 2010’ Category
Displaying SharePoint rating field in a DataGrid
Posted: 29th November 2011 in Cutstom Controls, Sharepoint 2010Redeploying a SharePoint solution package
Posted: 5th October 2011 in Deployment, Powershell, Sharepoint 2010Okay, 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 [...]
Custom SharePoint Web Service has no WSDL or DISCO
Posted: 29th July 2011 in Sharepoint 2010, Visual Studio 2010, Web ServicesOne 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 [...]
SharePoint, SSRS and Kerberos
Posted: 27th July 2011 in Kerberos, LINQ 2 Sharepoint, Security, Sharepoint 2010, SSRS, Web ServicesScenario: 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 [...]
Could not load file or assembly ‘Microsoft.ReportingServices.UpgradeScripts, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91′ or one of its dependencies. Access is denied.
Posted: 20th July 2011 in Configuration, Sharepoint 2010, SSRSCame 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 [...]
Checking if SharePoint Event Receivers are attached to a list using PowerShell.
Posted: 15th July 2011 in Powershell, Sharepoint 2010After 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 [...]
For security reasons DTD is prohibited in this XML document
Posted: 6th July 2011 in Sharepoint 2010, SSRS, Web ServicesI 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) . [...]
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 [...]