Okay, I’ve not done any blogging for a while, been mega busy… But I just came across this problem in a MOSS environment, which after a bit of digging was easily resolved. Just thought I’d share… While trying to filter a list with a Telerik component. I came across the above error ( also shown [...]
Archive for the ‘SharePoint’ Category
Operation is not valid due to the current state of the object
Posted: 15th March 2012 in .NET, Exceptions, SharePointTags: MOSS
Connecting two web parts declaratively using a file provisioning module
Posted: 31st October 2011 in Configuration, Deployment, SharePoint, Web PartsI just like to start by saying that this post is not ground breaking. However, when I tried to do this it did take me a while to find the answer, so I thought I’d just blog to add it to the grey matter. As I’m sure you are all aware you can provision multiple [...]
Blocking anonymous access to a SharePoint list while still being able to write to it
Posted: 12th July 2011 in Configuration, Security, SharePointScenario: Using a Data View Web Part to create a form to submit anonymous user’s enquiries. These enquiries were submitted to a list called “Contact Us” on the root sites. This was all very well, but as it was a internet exposed publishing site, the anonymous user had to have RW access to the list [...]
SharePoint Integrated Mode Report Throwing Exception rsErrorReadingNextDataRow
Posted: 1st June 2011 in SharePoint, SSRSWhile deploying reports to SSRS through SharePoint, in integrated mode I received the following error ,seen in the screen shot below: An error has occurred during report processing. (rsProcessingAborted) Cannot read the next data row for the dataset StaffByDepartments. (rsErrorReadingNextDataRow) Exception from HRESULT: 0×80131904 After Google-ing about, and finding no real answer I decided to [...]
Changing Title Column Heading on SharePoint List
Posted: 11th May 2011 in Deployment, SharePoint, Sharepoint 2010Scenario: You want to us the inherited title field in your list definition,but you don’t want it to be called title. To override what is displayed in the new/edit form is straight forward enough. You just add the DisplayName attribute to your Title FieldRef with the ID of {fa564e0f-0c70-4ab9-b863-0177e6ddd247} in the Content Type. Overriding Title [...]
Reading from web.config’s AppSettings in a SharePoint timer job
Posted: 8th April 2011 in Configuration, SharePoint, Sharepoint 2010Well, this was not as straight-forward as i first thought. Why? Because the timer job does not run in the same App Domain as the web application. They are in two separate processes : W3WP.EXE and OWSTIMER.EXE for the Web Application worker process and the SharePoint timer respectively. So, how do you go about it? [...]
Adding properties to a Custom SharePoint Timer Job
Posted: 16th March 2011 in SharePoint, Sharepoint 2010I’ve never really had to do this before as most SharePoint jobs usually operate at Farm level. However, on this occasion I had to run the timer job of a specific Site Collection. First stop of course was Google, where I found a lot of blogs spouting that the way to do it was to: [...]
After spending quite some time trawling the internet to find that answer to the above how to replace the $ dollar sign with a £ pound sign. I found that none of the solutions fully described how to do this. Admittedly, it might just be me that’s thick though. Anyway, here’s how you go about [...]
Unable to use a form on an Application Page to submit data to another site collection
Posted: 25th February 2011 in SharePoint, Sharepoint 2010I’ve just been trying to create an application page which will submit data to a list in another site collection in SharePoint 2010. I went through the usual process of using SPSecurity.RunWithElevatedPrivileges to add the list item as can be seen in my generic list insertion method below. Insert List Item Method /// <summary> /// [...]
To be able to use and InfoPath form in SharePoint it first has to be browser compatible. To do this select Tools –> Form options and ensure the “Design a form template that can be opened in a browser or InfoPath” checkbox is ticked. Now, select file –> publish and from the publishing wizard, select [...]