Installshield 2010中的SQLLogin对话框中的错误2878 [英] Error 2878 at SQLLogin dialog in Installshield 2010

查看:72
本文介绍了Installshield 2010中的SQLLogin对话框中的错误2878的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我正在将MSI项目与Installshield 2010一起使用.

我想在我的项目中为两个不同的连接添加一些SQL脚本.我试图克隆SQLLogin对话框并为第二个连接配置它,我不知道我到底做了什么,我多次导出,导入,删除,克隆了此对话框以尝试一些东西,现在,当我测试安装程序(不是构建错误),我收到此错误:

错误2878:在对话框SQLLogin上,控件RadioButtonGroup1的可能值为:0.这是无效或重复的值."

该错误仅出现在"SQLLogin"对话框之前.

经过其他人尝试纠正此错误的实验后,我删除了SQLLogin对话框,并重新启动了所有SQL连接(我注意到,如果未设置SQL连接,则在基本MSI项目中,SQLLogin对话框是不负责任的,该对话框会出现在创建新的Sql Connection之后的列表),我添加了一个新的SQL Connection(我在Sql Connection中未进行任何更改),并且正如我所料,生成了SQLLogin对话框.

我构建了项目并运行它,但错误仍然出现..我不知道如何解决它,如果我将新的sql连接设置为另一个项目,则一切正常,这是我的项目特有的错误.

一个不好的解决方案是重新启动该项目,因为这是一个很大的问题..

任何想法如何解决此错误?也许我删除了一些重要的变量?还是有些动作?!

欢迎任何想法,谢谢您的时间!

Hi all,

I am using MSI project with Installshield 2010.

I wanted to add some SQL Scripts in my project for two different connections. I was trying to clone SQLLogin dialog and configure it for the second connection, I don''t know exactly what I did, I exported, imported, deleted, cloned this dialog for many times to experiment some stuff and now, when I test the setup (is not a build error) I get this error:

"Error 2878: On the dialog SQLLogin the control RadioButtonGroup1 has a possible value: 0. This is an invalid or duplicate value."

The error appears just before SQLLogin dialog.

After others experiments to fix this error, I deleted the SQLLogin dialog and all my SQL connections to start all over again (I have noticed that SQLLogin dialog is not disponible in a Basic MSI project if a SQL Connection is not setted, the dialog appears in the list after a new Sql Connection is made) and I added a new SQL Connection (I have not made any changes in Sql Connection) and as I supposed, the SQLLogin dialog was generated.

I build the project and run it and the error still occurs.. I don''t know how to fix it, if I set a new sql connection to another project all works fine, this is a bug specific for my project.

A bad solution is to start the project again because is a biiiig one..

Any ideas how to fix this error? Maybe I deleted some important variables? Or some actions?!

Any idea is welcome, thanks for your time!

推荐答案

在完成对话框的所有操作之后,RadioButtonGroup1的名为IS_SQLSERVER_AUTHENTICATION的属性会在以下列表中多次出现msi配置(请参见附加工具标签,直接编辑器->在这里您可以找到msi的所有表).

我删除重复的属性,再次构建并运行安装程序.

感谢Gabriel的帮助!
After all operation I have made with the dialogs, the property of RadioButtonGroup1 called IS_SQLSERVER_AUTHENTICATION appears many times in the tables of msi configuration (see Additional Tools tab, Direct Editor -> here you can find all tables of msi).

I delete the duplicated properties, build and run the setup again.

Thanks for help Gabriel!


这篇关于Installshield 2010中的SQLLogin对话框中的错误2878的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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