Patrick’s Bytes

Techie for the past 30 years…

Presentation – Light Up SharePoint 2010 with Visual Studio 2010

Thanks for turning up at Microsoft Malaysia office and also online to check out my presentation yesterday. As promised let me upload my slide deck here first. Click on the folder icon below to my Sky Drive to download both PowerPoint deck.

I will upload the source code for my session – Professional Development with SharePoint 2010 later.

Removing password of PDF files inside SharePoint

An Adobe PDF can be protected from Printing and Copy-Paste by setting a password. For example shown below you can’t print (Print button greyed out) and copy (Copy option not seen in context menu). All these are restriction you can apply to your PDF using a password.

image

But if you have protected files inside SharePoint and you want to unprotected them, you have to first download them locally then remove the password using Acrobat Reader. After that you have to upload them again to the document library.

For that I have created a Custom Action that helps to automate this without downloading.

image

The Custom Action redirects you to a custom Application Page and asks for the password to the file.

image

Since most files in my SharePoint environment are version controller, my code does the check-in with comment as well.

image

I am making this little application available for download here. I will publish the source code later.

MIND Community Day – SharePoint 2010 for ASP.NET Developers 9th Apr 2011

Click on the folder icon to download the slide deck


My First SharePoint talk in 2011

Today I am going to check out the first meeting of Perjasa .NET Special Interest Group. Perjasa is a body comprises of system analyst and developers from Malaysia public sector. I have volunteered to speak on reusing your ASP.NET knowledge on customizing SharePoint. As usual I take 5 min for slides only so below is a 3 slider. I will publish more info on my demo on later date.

Anyhow you can grab my slides from Windows Live Sky Drive.

MOSS 2007 – Access Denied error when creating new web application for a new Shared Service Provider

Took me a few hours to figure this out. I actually did a reinstall of my SharePoint 2007 after it got screwed up. I reinstall Windows Server, had it join domain, logged in as a domain (added as local admin earlier). The whole installation went fine until the point I have a create a Shared Service provider, I got hit by a Access Denied error when I create a web app for both SSP and My Site.

At first I tried to login with a domain admin account but I got the same error. In the end I realize the problem is caused by SQL Server. You see problem arise when I tried to delete all SharePoint database from the database server but I left the SharePoint service account there.

In the end I uninstall SharePoint, go into SQL Server delete all databases and the account and it went smoothly.

Older Posts »