WCF RIA不显示数据 [英] WCF RIA not displaying Data

查看:89
本文介绍了WCF RIA不显示数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Peope,我有这个问题:

hi Peope, i have this problem:

我正在用HTML客户端制作一个lighswitch项目,并从我们的ERP中提供一些信息.我将其作为VB中的一个项目,其中包含第二个RIA项目.

I'm making a lighswitch Project with HTML Client, and give some information from our ERP. I make it a Project in VB with second Project for RIA.

当我从VS启动Project时,我在屏幕上看到了用于显示来自ria Service的信息的信息,但是,当我发布App时,我给出了此错误消息:

When i start Project from VS, i see information on a screen for displaying info from ria Service, but, when i publish App, i give this error message:

El esquema especificado no esválido.错误: Model1.csdl(3,4):错误0019:El nombre de EntityContainer debe serúnico.没有定义EntityContainer con nombre"ClientesEurowin".

El esquema especificado no es válido. Errores:  Model1.csdl(3,4) : error 0019: El nombre de EntityContainer debe ser único. Ya se ha definido EntityContainer con el nombre 'ClientesEurowin'.

我需要您的帮助来解决此问题;(

i need your help to solve this issue ;(

推荐答案

你好

从该错误看来,您可能有两个名称相同的ClientsEuroWin实体.我个人想知道您之前对表所做的操作,以便做到这一点,但是我个人将打开文件Model1.csdl并查看 其中的ClientsEuroWin,然后删除其中的一个实例.

From the error it seems that you either have two entities with the same name of ClientsEuroWin. I personally would like to know what you had done previously to the table in order for this to happen, but I personally would open the file Model1.csdl and look for ClientsEuroWin within it and then remove one of the instances of it.

另一方面,清理并重建"可能也有帮助

On the other hand, a Clean and Rebuild could possibly help also

对于其他人,这是错误消息的粗略翻译....

For others, here is a rough translation of the error message....

指定的架构无效. Model1.scsdl(3,4):错误0019:EntitiyContainer名称必须唯一. EntityContainer已经定义为名称"CilentsEuroWin"

The specified schema is not valid. Model1.scsdl (3,4): Error 0019: EntitiyContainer name must be unique. EntityContainer has already been defined with the name 'CilentsEuroWin'


这篇关于WCF RIA不显示数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆