-
Archives
- June 2023
- July 2022
- November 2021
- October 2021
- July 2021
- February 2021
- February 2020
- January 2020
- November 2019
- October 2019
- June 2019
- September 2018
- August 2018
- July 2018
- June 2018
- April 2018
- March 2018
- January 2018
- December 2017
- September 2017
- August 2017
- July 2017
- June 2017
- April 2017
- February 2017
- January 2017
- December 2016
- August 2016
- July 2016
- April 2016
- March 2016
- February 2016
- December 2015
- November 2015
- October 2015
- September 2015
- August 2015
- July 2015
- June 2015
- May 2015
- January 2015
- December 2014
- November 2014
- October 2014
- September 2014
- August 2014
- July 2014
- June 2014
- May 2014
- April 2014
- January 2014
- December 2013
- November 2013
- July 2013
- June 2013
- May 2013
- April 2013
- March 2013
- February 2013
- January 2013
- November 2012
- October 2012
- September 2012
- August 2012
- July 2012
- May 2012
- April 2012
- February 2012
- January 2012
- December 2011
- November 2011
- October 2011
- September 2011
- August 2011
- July 2011
- June 2011
- May 2011
- April 2011
- March 2011
- February 2011
- January 2011
- December 2010
- November 2010
- October 2010
- September 2010
- August 2010
- July 2010
- June 2010
- May 2010
- February 2010
- January 2010
-
Meta
Monthly Archives: June 2010
Constructor on type ‘Microsoft.SharePoint.SPFieldCalculated’ not found – and the weird SharePoint API
Observed in: SharePoint 2007 and SharePoint 2010. Today I was writing some code to add an SPFieldCalculated column to a list. I got the error message Constructor on type ‘Microsoft.SharePoint.SPFieldCalculated’ not found. when calling SPFieldCollection.CreateNewField(fieldType.ToString(), displayName) This call was working … Continue reading
Posted in SharePoint, SPFieldCalculated
Leave a comment
The mysterious SPItemEventProperties.AfterProperties
What you can/cannot access in BeforeProperties and AfterProperties in list event receivers can be mysterious. Here is a very good/clear description of what you can expect when and where: http://www.synergyonline.com/blog/blog-moss/Lists/Posts/Post.aspx?ID=25 In addition to what’s in the above link, I found that … Continue reading
Posted in SharePoint
Leave a comment
Can’t create SPSite object in SharePoint 2010: FileNotFoundException: The Web application at http://localhost could not be found. Verify that you have typed the URL correctly. If the URL should be serving existing content, the system administrator may need to add a new request URL mapping to the intended application.
I wrote my first console app against SP2010 in VS2010 the other day and ran into the above exception at the very first line: using (SPSite site = new SPSite(http://localhost) It turns out because my console app was targeting x86 … Continue reading
Posted in SharePoint
2 Comments
Upload Multiple Documents in SharePoint stops working with Office 2010 clients
Problem: Uploading Multiple Documents into a Document Library in SharePoint doesn’t work on client machines with Office 2010 installed. You are able to drag & drop or browse for files, but when you click OK, the spinning icon just spins forever … Continue reading
Posted in Office 2010, SharePoint
1 Comment
Changing custom timer job schedule in SharePoint 2010
Well actually this is really easy to do now in SharePoint 2010. In Central Admin, go to Monitoring > Review job definitions > [job] and you get the setting screen below. Notice that there is also a RUN NOW … Continue reading
Posted in SharePoint
Leave a comment
Can’t retract SharePoint timer job because the job "cannot be deserialized because it does not have a public default constructor"
If you forgot to include a default constructor in your timer job class, you will get the error below when activating the feature that installs the job: SharePointProject1.TimerJobs.TrackingTimerJob cannot be deserialized because it does not have a public default constructor. … Continue reading
Posted in SharePoint
Leave a comment
Properties missing from Visual Studio 2010 Intellisense..
Today I ran into a problem that made me think I was either blind, crazy.. or both. I created a new SharePoint 2010 project in Visual Studio 2010 and was trying to code against the SPSite.WebApplication property but it was … Continue reading
Posted in SharePoint, Visual Studio 2010
Leave a comment