Click here to Skip to main content
15,897,147 members

Comments by Member 8857897 (Top 4 by date)

Member 8857897 25-Feb-14 5:48am View    
No I cannot run the winxp(EF 5) version on Win7. --> Same error. I do hundreds of linq-to-entity queries on my application and all is working fine! If I put the files from the database manually into the projectfolder then the application runs without any problems!

The inner Exception says: "complus exception code -532462766" ??? I have read somewhere on the net that this query is not supported by the Entity Framework. How could that be? This is a simple query. I have queries on my application that are 100 times more complex and they work. The Mapping between the database table "documents" and the EF Model object "documents" is in both version exactly the same. File:longblob(database) <--> File:Binary(Model)
Member 8857897 18-Feb-14 8:13am View    
Hi! This works perfectly!
GREAT, THANK YOU VERY VERY MUCH!

Adam
Member 8857897 18-Feb-14 7:49am View    
Hi!

I think VALUE is null, because there is no value for the searched value and so it gets null.
But how can I handle this problem?

var result = (from t in root.Descendants("VAR") where t.Attribute("name").-->Value<--. IndexOf(textBox1.Text, StringComparison.InvariantCultureIgnoreCase) > 0 select t.Ancestors("PACKET").Attributes().First().Value).ToList();
Member 8857897 8-Dec-13 11:14am View    
Hey! Thank you very much! I used a wrong EventHandler. maybe I should go to sleep earlier :P