简体   繁体   English

LinqDataSource在DotnetNuke模块中显示错误

[英]LinqDataSource is showing Error in DotnetNuke Module

When I am Select Page Setting Option in DNN below error is showing. 当我在DNN中选择页面设置选项时,显示以下错误。

Error: A critical error has occurred. 错误:发生严重错误。 Could not determine a MetaTable. 无法确定元表。 A MetaTable could not be determined for the data source 'LinqDataSource1' and one could not be inferred from the request URL. 无法为数据源“ LinqDataSource1”确定一个MetaTable,也无法从请求URL推断出MetaTable。 Make sure that the table is mapped to the dats source, or that the data source is configured with a valid context type and table name, or that the request is part of a registered DynamicDataRoute. 确保将表映射到dats源,或者确保数据源配置有有效的上下文类型和表名,或者确保请求是已注册的DynamicDataRoute的一部分。

Look at here http://dnnlinqtosqladapter.codeplex.com/ and download sql Model adapter and follow the steps and it can solve your problem. 在这里查看http://dnnlinqtosqladapter.codeplex.com/并下载sql模型适配器,并按照以下步骤操作,它可以解决您的问题。

Try it and let me know about. 试试看,让我知道。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM