Issue with GAC and Microsoft SQL Server Compact 4.0
-
Wednesday, January 09, 2013 7:10 PM
Hello
I have an application that I developed using VS Express 2012 for Windows Desktop. It worked fine the first time it was installed in a Windows 8 computer. Then I made changes and now I can not get the new version to install. I get the following message "No se puede instalar ni ejecutar esta aplicación. Debe instalar primero el ensamblado Microsoft.SqlServerCe versión 4.0.0.0. en la cache de ensamblados global (GAC)"
What do I need to do to fix this problem? Could it be because I am developing in English and the user uses it in Spanish?
Thank you.
All Replies
-
Friday, January 11, 2013 3:16 AMModerator
-
Friday, January 11, 2013 5:50 AM
The user already installed that. And it worked the first time. It was once I made changes and rebuilt that it gave him the error. I will have him install it again. Should he install the English version instead of the Spanish one?. Is there a difference?
Thank you
-
Friday, January 11, 2013 9:07 AM
It didn't work. Any other ideas?
Thanks
-
Monday, January 14, 2013 9:33 AMModerator
Hi, we need to make sure you have updated any Project references to point to the 4.0 managed DLL which usually located at: C:\Program Files\Microsoft SQL Server Compact Edition\v4.0\Desktop (System.Data.SqlServerCe.dll). You can also refer to the following thread:
http://social.msdn.microsoft.com/Forums/hu-HU/sqlce/thread/6380d071-3a59-45aa-8c09-d6f068189df4
Allen Li
TechNet Community Support- Marked As Answer by Irene09 Tuesday, January 15, 2013 12:31 AM
-
Tuesday, January 15, 2013 12:31 AM
I changed the reference System.Data.SqlServerCe Copy Local from False to True and it works.
Thank you.
- Marked As Answer by Irene09 Tuesday, January 15, 2013 12:31 AM


