This is a migrated thread and some comments may be shown as answers.

entityDataSource configure is error

1 Answer 18 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Ricky
Top achievements
Rank 1
Ricky asked on 17 Jul 2015, 03:32 AM

step 2:

Error Message:"
System.Web.Razor.Parser.TokenizerBackedParser~3[TTokenizer,TSymbol,TSymbolType]"上的GenericArgumnets[0]"
System.Web.Razor.Tokenzier.CSharpTokenizer“违反了类型”
TTokenizer“的约束。

 This is a screenshot!

 Have you an Idea to solve this ? Thank you.

 

1 Answer, 1 is accepted

Sort by
0
Accepted
Stef
Telerik team
answered on 17 Jul 2015, 02:59 PM
Hello Ricky,

Such error can appear on configuring the EntityDataSource component, when the EF data model's types are loaded more than once in Visual Studio (once assemblies can be loaded and locked by VS, and once the reporting engine tries to load them again via reflection, which results in ambiguous types and constraints violations). The recommended approach in such cases is to use the Standalone Report Designer.

For more details, please check the information provided in the Configure Entity Data Source - Choose a context is empty forum thread.


If the issues does not look related, please send us a demo project to check your settings.


Regards,
Stef
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
Ricky
Top achievements
Rank 1
Answers by
Stef
Telerik team
Share this question
or