Error receiving Frontend public key

Hi,

I am getting the following error while configuring Employee Portal using NAS (Database is NAV2009 SP1 on SQL Server & Share Point 2007):

Error receiving Frontend public key. I

t is happening because of following code in Codeunit 6870 (EP Trust Handler)'s function GetPublicKey: IF TrustedSites.“Partner Public Key”.HASVALUE AND TrustedSites.“Site Trust” THEN BEGIN

TrustedSites.“Partner Public Key”.CREATEOUTSTREAM(OutStream);

XMLDoc.load(OutStream);

END ELSE ERROR(Text008);

It has happening becasue .“Partner Public Key” blob field is blank.

Please help me resolve it.