mishrsud / mvc-mini-profiler

Automatically exported from code.google.com/p/mvc-mini-profiler
0 stars 0 forks source link

ProfiledCommand throws an exception when trying to execute certain queries #88

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Set up a project with EF Code First and a simple model class with a string 
property
2.Create the context
3.run a query such as context.Foos.Where(f => f.Name == "test")

What is the expected output? What do you see instead?
the following exception is thrown:
The ntext and image data types cannot be used in WHERE, HAVING, GROUP BY, ON, 
or IN clauses, except when these data types are used with the LIKE or IS NULL 
predicates.

What version of the product are you using? On what operating system?
rev: e0454b5dad73

Please provide any additional information below.
This error is not thrown when the profiler is not used.
See the whole stack trace in the attachement for exception details.

Original issue reported on code.google.com by krzyszto...@gmail.com on 12 Aug 2011 at 11:59

Attachments:

GoogleCodeExporter commented 8 years ago
Sample solution with the reproduced problem

Original comment by krzyszto...@gmail.com on 12 Aug 2011 at 12:01

Attachments: