HelpViewer Message: Background:System.IO.FileNotFoundExcepti

This forum is for all Flare issues related to getting started and installing the application.
Post Reply
metallicad
Jr. Propeller Head
Posts: 1
Joined: Thu Jul 25, 2013 6:05 am

HelpViewer Message: Background:System.IO.FileNotFoundExcepti

Post by metallicad »

Hello,

Using the MadCap HelpViewer to load our help manual launched from a C# windows form application. The manual loads fine, context-sensitive works well. However, when the viewer opens there is a "Messages" window that is docked to the viewer that displays the following error:

Background:System.IO.FileNotFoundException: Could not load file or assembly 'System.Data.SqlServerCe, Version=3.5.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The system cannot find the file specified.
File name: 'System.Data.SqlServerCe, Version=3.5.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91'
at B3.SqlServerCompactKit.SqlServerCompactDatabaseWrapper.CreateConnection()
at B3.SqlKit.DatabaseWrapper.Connect()
at B3.IndexingSqlKit.SearchDatabaseWrapper.Connect()
at B3.IndexingSqlKit.DatabaseImporter.Import()
at B3.HelpViewerKit.BuildSqlSearchDatabaseBackgroundWorker.OnDoCustomWork(DoWorkEventArgs e)
at B3.AppKit.CustomBackgroundWorker.OnDoWork(DoWorkEventArgs e)

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].


The HelpViewer is installed via Microsoft ClickOnce and is version 6. When I load the MadCap Help Viewer from the desktop icon (so, no manual is loaded), I do not receive this assembly error. Is there something in the way that the help file is compiled via Flare that is causing it to look for SQL Server CE?

Thank you,
-Matt
Mr Cornbread
Jr. Propeller Head
Posts: 2
Joined: Thu Jun 20, 2013 11:30 am

Re: HelpViewer Message: Background:System.IO.FileNotFoundExcepti

Post by Mr Cornbread »

Hello Matt,

I am having the same issue. Have you been able to fix this problem, or are you still viewing the same message?

-Leandro
RamonS
Senior Propellus Maximus
Posts: 4293
Joined: Thu Feb 02, 2006 9:29 am
Location: The Electric City

Re: HelpViewer Message: Background:System.IO.FileNotFoundExcepti

Post by RamonS »

Based on this guide (page 14)
http://docs.madcapsoftware.com/FlareV8/ ... HGuide.pdf
MSSQL Server Compact is used by HelpViewer. Going by the guide is sounds as that the help viewer can work fine without SQL CE and that falls in line what you noticed as well. It should not show an error if SQL CE is not present. You may want to contact MadCap and ask if there is any way to suppress that error. It appears not to break anything, but it surely does not look well when a customer sees it.
Post Reply