Tuesday, February 22, 2011

Windows Installer Stuck at some preparations parts

 Today I worked on a very annoying problem, the Windows Installer just stop working when we try to install some product of Symantec .. what ever you try to install. 
After 2 weeks of trying to fix it by CheckPoint and SecureNet, I got the chance to try solve this problem by my self, I managed to find it, if you have really strange problems with Windows Installer and you tried all ready the Windows Installer Cleanup Tool .. just copy the "magic" file called "MsiZap.exe" from the Windows Support Tools to the "System32" or at the installation folder, when you copy it you should run the MsiZap.exe with the "g" switch.
Example: "MsiZap.exe g" just like this.

By the way, just search "msizap.exe windows installer" at google and you can find really nice info about this tool ..

Sunday, February 20, 2011

Exporting Public Folders Names and other attributes

This days I started to work on moving the Public Folders from our Exchange 2003 to the SharePoint, at the first step I needed to make a list that include all the names of our PF, for that I using the PFDAVAdmin Tool from Microsoft, its a great tool to fix DCAL's of PF who got corrupted and you cant change the Client Permissions, the error you get: "An unknown error has occured id no: 8004010f Exchange System Manager "
So back to our subject, download the PFDAVAdmin (google it) and connect to your Exchange server to get the PF List, for export the list you need to go to Tools > Export Properties, at the list make sure to mark "PR_DISPLAY_NAME".

Export it to Text file and import to Excel, nice tool not ?

Sunday, February 13, 2011

How to get Assembly (DLL) from GAC

Their are many ways to get Assembly from the GAC folder, I thinks that the easiest way to do this is just run the command: "Subst X: c:\windows\ assembly" (X = Drive letter to get into the GAC Folder). 
After you done to run this command you can enter your new "drive" and find your Assembly.

Wednesday, February 9, 2011

How to get rid of InfoPath 2007 Logo in InfoPath Forms

Today I got a request says that the InfoPath Logo interrupt to print the InfoPath Form, it creates another blank page to the form.

Apparently Microsoft made stsadm command for disabling that logo, nice not ?
"stsadm -o setformsserviceproperty -pn AllowBranding -pv false"

Monday, February 7, 2011

Cannot activate SharePoint Server Publishing Infrastructure at Site Collection level

Sometimes we can run into really strange things on SharePoint like you want to activate SharePoint Server Publishing Infrastructure at the Site Collection Features level, but you get a message that say that you need to activate this feature first at the Web Application level and guess what ? its all ready activated .. 

What we need to do is very simple, just run this STSADM command line: "stsadm -o activatefeature -name PublishingResource -url http://SiteCollectionName -force"
and try to activate the feature again from the Site Collection Feature.

Great Post about relative problem: Click Here

Wednesday, February 2, 2011

Error Event 5586 - Unknown SQL Exception

When we failed to execute upgrade command for the DB's with psconfig, We could see that our CA not available. There for we need to exec the command "C:\Program Files\Common Files\Microsoft Shared\Web server extensions\12\BIN\psconfig -cmd upgrade -inplace b2b -wait -force" But I prefer to run again the "SharePoint 2010 Products Configuration Wizard" after you execute the command and it's end successfully, Try to get in to the CA and your Site collections. 

* Sometimes the web applications lost their host header and your site wont work so check it !