Hello,
I developed an applicaiton with Netadvantage winform 2008 Vol2 CLR 2.0 and i'am deploying this application on differents computers.
Some computers with Win XP and others with Win7.
Every thing is ok on Win xp but it do not works on win7's computers.
Here is a part of the error message :Can you help me ?
************** Texte de l'exception **************System.Reflection.TargetInvocationException: Une exception a été levée par la cible d'un appel. ---> System.Data.DuplicateNameException: Une colonne nommée 'Inform' appartient déjà à ce DataTable. à System.Data.DataColumnCollection.RegisterColumnName(String name, DataColumn column, DataTable table) à System.Data.DataColumnCollection.BaseAdd(DataColumn column) à System.Data.DataColumnCollection.AddAt(Int32 index, DataColumn column) à System.Data.DataColumnCollection.Add(DataColumn column) à BLS.Board_001.Funct_Board_Evenemen() à BLS.Board_001.Board_001_Load(Object sender, EventArgs e) à System.Windows.Forms.UserControl.OnLoad(EventArgs e) à System.Windows.Forms.UserControl.OnCreateControl() à System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible) à System.Windows.Forms.Control.CreateControl() à System.Windows.Forms.Control.RecreateHandleCore() à System.Windows.Forms.Control.OnParentHandleRecreated() à System.Windows.Forms.Control.RecreateHandleCore() à System.Windows.Forms.Control.OnParentHandleRecreated() à System.Windows.Forms.Control.RecreateHandleCore() à System.Windows.Forms.Control.OnParentHandleRecreated() à System.Windows.Forms.Control.RecreateHandleCore() à System.Windows.Forms.Form.RecreateHandleCore() à System.Windows.Forms.Control.RecreateHandle() --- Fin de la trace de la pile d'exception interne ---
I don't think this has to do something with the ribbon because I don' believe it is using a DataTable. The ribbon doesn't work probably because it is supposed to be initialized just after the code that caused the error, so it is being skipped (but this is just an assumption).
Just for your information, the error message appear to the screen and then, after clicked ok, all the application works, except the Ribbon menu.
May be it makes you find other suggestions ?!
ps : sorry for my english but i'm french :-)
You don't need VS in the user machine. Just compile you app in debug mode and open it in the user machine. After that, open your VS and in Debug menu click on "Attach to process...", change the qualifier to the user machine address, find your app name in the list and attach to it. Now you're debugging an application in the user machine.
Not yet because all of the win7 computers are end user's computer, not develper computer.
But i will try to install visual studio on one machine and infragistics 2008 CLR2.0 and test it.The problem will probably be that netadvantage 2008 version is not compatible with win7 ?!
Do you have other suggestions ?
You can try remote debugging.