LINQ Insight error on query execution

Discussion of issues, suggestions and bugs of LINQ Insight, Visual Studio add-in for design-time executing LINQ statements, that simplifies debugging LINQ
Post Reply
Posts: 10
Joined: Mon 18 Jan 2010 10:48
Location: Devon, UK

LINQ Insight error on query execution

Post by stephen.Cognito » Tue 11 Dec 2012 11:51


We're evaluating LINQ Insight and are getting the following error when trying to execute a query through Insight.

[] Strong-name signed assemblies must specify a public key in their InternalsVisibleTo declarations.

Our connection string as set within Insight is as follows...

metadata=res://*/Model.CSLModelUndeb.csdl|res://*/Model.CSLModelUndeb.ssdl|res://*/Model.CSLModelUndeb.msl;provider=Devart.Data.PostgreSql;provider connection string="Host=;Database=MyDatabase;Schema=public"

The query we are running is as follows...
using (var entity = new MyEntities(ConnectionString))
var query = from search in entity.TblSearchHistory
where search.TblUser.OIDUser == oidUser && search.ObjectType == objectType
orderby search.StampSearch descending
select new
OID = search.OIDObject,

Any ideas?
Many thanks in advance


Devart Team
Posts: 1472
Joined: Mon 13 Feb 2012 08:17

Re: LINQ Insight error on query execution

Post by MariiaI » Wed 12 Dec 2012 11:22

Please try to sign all of the assemblies in your solution (open Project Properties -> the Signing tab -> specify the *.snk file), rebuild your project and run the query again.
If it doesn't help, please send us a sample project, with which this error could be reproduced.

Post Reply