Hi,
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=127.0.0.1;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,
search.Reference,
search.Description
};
}
Any ideas?
Many thanks in advance
Stephen
LINQ Insight error on query execution
-
- Posts: 10
- Joined: Mon 18 Jan 2010 10:48
- Location: Devon, UK
Re: LINQ Insight error on query execution
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.
If it doesn't help, please send us a sample project, with which this error could be reproduced.