Skip to content

Instantly share code, notes, and snippets.

@keranm
Created March 12, 2013 04:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save keranm/5140409 to your computer and use it in GitHub Desktop.
Save keranm/5140409 to your computer and use it in GitHub Desktop.
There is a known issue in SqlCE 3.5 (http://connect.microsoft.com/VisualStudio/feedback/details/611059/sql-server-compact-provider-factory-not-added-to-machine-config) that occasionally causes the AccountRight API installer to not run correctly. Here is a quick change to MYOB.AccountRight.API.WindowsServiceHost.exe.config (located here C:\Progra…
<system.data>
<DbProviderFactories>
<remove invariant=”System.Data.SqlServerCe.3.5”/>
<add name=”Microsoft SQL Server Compact Data Provider” invariant=”System.Data.SqlServerCe.3.5” description=”.NET Framework Data Provider for Microsoft SQL Server Compact” type=”System.Data.SqlServerCe.SqlCeProviderFactory, System.Data.SqlServerCe, Version=3.5.1.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91”/>
</DbProviderFactories>
</system.data>
</configuration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment