Haribala - 2015-03-17

If I use System.Data.SQLite.DLL 1.0.52.0 which was added in bin folder when I created help web site, in webserver below is error:
"Could not load file or assembly 'System.Data.SQLite' or one of its dependencies. An attempt was made to load a program with an incorrect format. "

If I use System.Data.SQLite.DLL 1.0.91.0:
Help page is getting loaded. But search is throwing this error

"[NullReferenceException: Object reference not set to an instance of an object.]
PACRS.WebSite.Search.Page_Load(Object sender, EventArgs e) +713
System.Web.UI.Control.LoadRecursive() +70
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3063"