Tuesday, September 27, 2011

Reset a forgotten passphrase in SharePoint 2010

Hi.

http://sptwentyten.wordpress.com/2010/01/21/reset-the-farm-passphrase-in-sharepoint-2010/

http://www.sharepointedutech.com/2010/10/05/sharepoint-2010-farm-passphrase-recovery/

These links helped me reset the passphrase for my 2010 SharePoint instance  ....


Regards
Bradley Chetty

Thursday, September 15, 2011

User Profiles not Synching after an Upgrade to Sharepoint 2010

Hi .
an issue was brought to my attention from 1 of my clients ....
after an upgrade the users were not receiving any alerts or emails when tasks were being assigned.
ok ..so first port of call being to check and see exactly where things go pear shaped .....
I looked at he exchange event logs and found out  that the email message is coming through but with all the wrong email address .... weird  ...so a full AD Sync was done and still the issue persists ...
hmmm ..... *scratching my head ...*
then i started looking at the 2007 Plumbing which the upgrade was built on ....
i then found the user list  ......and PRESTO ......this is where it was getting all the OLD email values ...

SOLUTION:
Delete the entries in the user list and Re-Sync the AD ... this is what solved my problem .. :)

Regards
Bradley

Friday, September 9, 2011

Error MOSS MA not found whill creating a Synch Connection string

Hi.
While doing a rountine Health check on a Application sharepoint server ...i noticed that the synchronisation connection that i set up before just DISSAPEARED .... :(
so i tried to create  a new connection and got this error ....
so to fix this you RESTART the 2 Forefront Identity Services and then stop and restart the User profile Synchronization service ....
Then just go back to the Synchronization connection and you should see your old connection  .... just RUN the Synch Job and you are done ...

Regards
Bradley

Wednesday, September 7, 2011

Friday, August 26, 2011

Tuesday, August 23, 2011

TechEd 2011 in Durban ICC

Hi.
So who else will be attending this event ...
It will be taking place in Durban 17th till the 20th  of October 2011 ...
Here is a link if more information is required ... http://www.teched.co.za/.

Regards
Bradley

Thursday, August 18, 2011

Getting a "Created By" field and assigning its value to an SPUser object

Hi.
i always have to get the SPUser object and i always forget so i guess i will document it so i can refer back to it  .... here goes ..

SPUser spUser = null;

SPFieldUser field = itemEvent.Fields.GetFieldByInternalName("Author") as SPFieldUser;
if (field != null && itemEvent["Author"] != null)
{
SPFieldUserValue fieldValue = field.GetFieldValue(itemEvent["Author"].ToString()) as SPFieldUserValue;
if (fieldValue != null)
{
spUser = fieldValue.User;
}
}

Nice and simple  ...and works like a charm ... :)

Bradley