Saturday, 26 March 2011

SharePoint 2010 and IE 9

Microsoft has recently released IE9 to the Web, what would happen with your SharePoint 2010 UI and the UIs of custom apps built on top of it? The good news is SharePoint UI will work just fine with IE9, the bad news is some of my custom apps UI are messed up. Why SharePoint UI can maitain the compatibility but mine can't?
The asnwer is SharePoint renders X-UA-Compatible header in its html output. This header tells IE to render the UI with IE8 mode. It explains why. To fix my apps, it's simple enough, add the following header to the page
<html>
<head>
            <!-- Mimic Internet Explorer 8 -->
           <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" >
           <title>My webpage</title>
</head>
<body>
               <p>Content goes here.</p>
</body>
</html>
 Or modify web.config to specify Default Compatibility Modes

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <system.webServer>
    <httpProtocol>
      <customHeaders>
        <clear />
        <add name="X-UA-Compatible" value="IE=8" />      </customHeaders>
    </httpProtocol>
  </system.webServer>
</configuration>


More information on IE Document compability at this MSDN article

SharePoint 2010 Licensing

While planning and designing architecture for SharePoint 2010 site, Design team usually needs to etablish a Licensing Budget. It takes into account the SKUs and options necessary to fullfil business requirements to ensure these are realistic and within the budget. Use this tool to help guide through the process detemining what licenses are required to specific needs. For small companies or departmemts that want a low-cost, entry-level, or pilot solution SharePoint Foundation 2010 is the good fit. The only required license is the Liences for Microsoft Windows Server.

How to detect Installed SKU of SharePoint Server?
On your SharePoint server, open the following registry key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\14.0\WSS\InstalledProducts

The key will match with one of the following known SKUs

KeyProduct Name
BEED1F75-C398-4447-AEF1-E66E1F0DF91ESharePoint Foundation 2010
1328E89E-7EC8-4F7E-809E-7E945796E511Search Server Express 2010
B2C0B444-3914-4ACB-A0B8-7CF50A8F7AA0SharePoint Server 2010 Standard Trial
3FDFBCC8-B3E4-4482-91FA-122C6432805CSharePoint Server 2010 Standard
88BED06D-8C6B-4E62-AB01-546D6005FE97SharePoint Server 2010 Enterprise Trial
D5595F62-449B-4061-B0B2-0CBAD410BB51SharePoint Server 2010 Enterprise
BC4C1C97-9013-4033-A0DD-9DC9E6D6C887Search Server 2010 Trial
08460AA2-A176-442C-BDCA-26928704D80BSearch Server 2010
84902853-59F6-4B20-BC7C-DE4F419FEFADProject Server 2010 Trial
ED21638F-97FF-4A65-AD9B-6889B93065E2Project Server 2010
926E4E17-087B-47D1-8BD7-91A394BC6196Office Web Companions 2010

Wednesday, 23 March 2011

hMailServer for SharePoint Dev

How to configure Mail Server for your SharePoint Development farm?

Back in MOSS era, Developers used to leverage Windows 2003's SMTP & POP3 for emails. When move to SharePoint 2010, the POP3 svc is not available on Windows 2008, we need to find another alternative. There are 2 free email server software that can be used: MailEnable and hMailServer. I believe there are more free stuff than these 2. Both of these provide robust features for SMTP & POP3 though MailEnable come with WebMail feature. hMailServer is lighter anyway. Here are the excerpt from its web sites

hMailServer is a free e-mail server for Microsoft Windows. It's used by Internet service providers, companies, governments, schools and enthusiasts in all parts of the world.
It supports the common e-mail protocols (IMAP, SMTP and POP3) and can easily be integrated with many existing web mail systems. It has flexible score-based spam protection and can attach to your virus scanner to scan all incoming and outgoing email
MailEnable's mail server software provides a powerful, scalable hosted messaging platform for Microsoft Windows. We offer stability, un- surpassed flexibility and an extensive feature set which allows you to provide cost-effective mail services
The following summarize steps to configure hMailServer to relay emails through Google mail servers

Step 1: Download and Install hMailServer from http://www.hmailserver.com/
Note: Set an admin password for the console, be sure not to loose this password as the admin panel will be access less frequent later on. I lost my password once in my SP Dev Farm.

Step 2: Open the Administration console for hMailServer, follow the screenshots







Step 3: Configure Email Client


 Test Email result:



Hope this will save someone time!

Tuesday, 8 March 2011

SharePoint 2010 boundaries

Couple of useful whitepapers / articles on SharePoint 2010 performance recommendations

SharePoint Server 2010 capacity management: Software boundaries and limits
http://technet.microsoft.com/en-us/library/cc262787.aspx

Performance and capacity test results and recommendations (SharePoint Server 2010)
http://technet.microsoft.com/en-us/library/ff608068.aspx
Direct download link here.