Could not find stored procedure ‘proc_ar_BumpCacheInvalidationCounter’

If you have a MOSS 2007 Standard Edition environment and you run a full Profile Import (either scheduled or manual) you can get the following message in the event log: Error messages 7888 – "System.Data.SqlClient.SqlException: Could not find stored procedure ‘proc_ar_BumpCacheInvalidationCounter’." This is a known issue, the missing stored procedure is part of the BDC…


Access Denied when accessing local sites/webservices

Microsoft released MS09-014 and .Net Framework 3.5 SP1 which closed a vulnerability in NTLM authentication. If you’re browsing to your own machine, and the URL you’re browsing to doesn’t match the machine name, then NTLM authentication will fail. This affects calls to web sites and web services. Possible solutions here: http://support.microsoft.com/kb/896861/en-us   From Larry Kuhn’s…

1

How to expand InputFormTextBox

If you need to expand InputFormTextBox control and CssClass property seems to be not working, continue reading this post. I’ve created an application page and I used an InputFormTextBox control to give users the possibility to write some html content. This is the code I used: <wssawc:InputFormTextBox Title=”My Field” ID=”myField” Rows=”15″ Runat=”server” TextMode=”MultiLine” RichText=”true” RichTextMode=”FullHtml”/>…

18

New release: SPDisposeCheck v1.3.1

A must-have for each Sharepoint developer. More info are available at Paul Andrew’s blog: http://blogs.msdn.com/pandrew/archive/2009/01/29/spdisposecheck-v1-3-1-is-released.aspx

1

How to hide content type choice control in edit forms

If you want the edit form of a particular list to don’t show some field, you can change the ContentType definition by setting ShowInEditForm=”FALSE” in corresponding FieldRef element. If you want to do the same with Content Type field, the above hint simply don’t work. To make it working you have to modify the rendering…

13

User Information Page (Userdisp.aspx vs person.aspx)

I hope with this post to clarify why in Sharepoint the User Information Page is rendered sometimes with userdisp.aspx and sometimes with person.aspx. In WSS, when you click on a profile link you are redirected to the User Information Page used by WSS to display WSS profile informations, this page is userdisp.aspx and is located…

5

How to show Attachments with DataFormWebPart

If you are using DataFormWebPart and you need to add the list of attachments to the output you have to modify the XSLT to use the AttachmentsField control. If you simply use   <xsl:value-of select=”@Attachments”/> the result displayed will be a boolean (Yes/No) value. If you want to display the list of attachments with corresponding links…

27