Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error calling form
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
C# 1.1
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01042687
Message ID:
01042808
Vues:
18
>I'm still following the Jump Start steps but making some changes for my own project. I was able to build the solution and run the application but when I call my form, I get the error "Invalid characters in path." I'm not sure where to look next. The details are listed below. Thanks.

> at System.IO.Path.CheckInvalidPathChars(String path)
> at System.IO.Path.GetExtension(String path)
> at OakLeaf.MM.Main.mmString.JustExt(String fileName)
> at OakLeaf.MM.Main.mmBindingStrategyCommon.GetBindingSourceMember(String member)
> at OakLeaf.MM.Main.mmBindingStrategyCommon.GetBindingSource(mmBusinessObject bizObj, String member, String& dataTableName, String& dataViewName, String& memberName)
> at OakLeaf.MM.Main.Windows.Forms.mmBindingStrategyBase.GetBindingSource(mmBusinessObject bizObj, String member, String& dataTableName, String& dataViewName, String& memberName)
> at OakLeaf.MM.Main.Windows.Forms.mmBindingStrategyList.BindData(ImmBindingList mmControl, mmBusinessObject bizObj, mmBusinessStateChangeEventArgs e)
> at OakLeaf.MM.Main.Windows.Forms.mmBindingStrategyList.BindData(ImmBindingList mmControl, mmBaseBusinessObject bizObj, mmBusinessStateChangeEventArgs e)
> at OakLeaf.MM.Main.Windows.Forms.mmComboBox.OnBindData(mmBaseBusinessObject bindingSource, mmBusinessStateChangeEventArgs e)
> at OakLeaf.MM.Main.Windows.Forms.mmUIHelper.StateChangeHandlerList(Control control, mmBaseBusinessObject bizObj, mmBusinessStateChangeEventArgs e)
> at OakLeaf.MM.Main.Windows.Forms.mmComboBox.StateChangeHandler(mmBaseBusinessObject bizObj, mmBusinessStateChangeEventArgs e)

Based on your stack trace it looks like there are invalid characters in the binding properties of one of the combo boxes on your form. If you examine the binding properties of all your combo's but don't see any problems, you can determine which one is causing the error by setting the BindingFlag property to false on one combo box at a time. When the problem goes away, you've found your culprit!

Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform