[fix]-PublicKeyToken-89845dcd8080cc91 could not be added to the project

Wikitechy | 1300 Views | sql server | 08 Jun 2016

 

Scenario:

PublicKeyToken=89845dcd8080cc91 could not be added to the project

Error:

The assembly reference "System.Data.SqlServerCe, Version=4.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" could not be added to the project. This wizard will continue to run, but the resulting project may not build properly.

Fix 1:

For installing SQL server compact 4.0 on IIS webserver use the below link:

http://www.microsoft.com/en-in/download/details.aspx?id=17876

Fix 2:

Replace the path of the library file “System.Data.SqlServerCe.dll” in SQL Server 4.0 installation:

C:\Program Files (x86)\Microsoft SQL Server Compact Edition\v4.0\Private

Fix 3:

Use the Web Platform Installer to install

  • SQL Server Compact 4.0
  • Visual Studio Tools for SQL Server Compact 4.0
  • Latest Microsoft Web Deployment Tool

 

Click on “Install” button in above screen.

 

Click on the “I Accept” button.


 The installation is in progress.


 Click on the “Finish” button to complete installation.

Fixes are applicable to the following versions of SQL Server:

SQL server compact 4.0

Related Error Tags:

  • What are all the steps to take to get my SQL Server CE to work
  • Error: Could not load file or assembly 'System.Data.SqlServerCe, Version=4.0.0.0
  • Deploying SQL Server Compact
  • Working with SQL Server Compact 4.0 using Entity Framework 6
  • asp.net - Could not load file or assembly Microsoft.ReportViewer
  • Error: Could not load file or assembly Microsoft.SqlServer 
  • Could not load file or assembly Microsoft.ReportViewer.Common
  • could not load file or assembly systemdatasqlserverce




Workshop

Bug Bounty
IOT Hackathon
Webinar

Join our Community

Advertise