System.IO.FileNotFoundException

Dec 29, 2011 at 6:32 AM

I have Sharepoint Foundation ;) and before install... ERROR

System.IO.FileNotFoundException: Невозможно загрузить файл или сборку "Microsoft.Office.Server, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"

May 18, 2012 at 10:24 AM
Edited May 18, 2012 at 10:27 AM

Download the Source Code and comment all the lines in Catch section of the try catch.

eg : comment this line

  //PortalLog.LogString(ex.StackTrace);

Error is because SharePoint Foundation doesnt consist of Webanalytics and the error logging code updates the event in webanalytics,so either comment the code or remove it.And redeploy the webpart again.

Regards,

Tanmay Bari