InvalidCastException... arggggggg


Author
Message
Ulrik Mueller
Ulrik Mueller
StrataFrame Beginner (32 reputation)StrataFrame Beginner (32 reputation)StrataFrame Beginner (32 reputation)StrataFrame Beginner (32 reputation)StrataFrame Beginner (32 reputation)StrataFrame Beginner (32 reputation)StrataFrame Beginner (32 reputation)StrataFrame Beginner (32 reputation)StrataFrame Beginner (32 reputation)
Group: Forum Members
Posts: 18, Visits: 59
I'm getting total crazy now.  In my standard application framework I have made several Maintenance Dialogs - but suddenly on a new dialog I'm getting InvalidCastException on everything.....  It states the it is "Unable to cast of type 'System.DBNull' to type 'System.String'" on my primary key field.

The destination table and it happens everytime I click the NEW buttom!!!!!

What the he.. is going on...  Am I missing a flag or.....

Hope that some of you can come up with a way to get me back on track!

Regards
Ulrik

Reply
Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 7K
The only thing I can suggest at this point is for you to provide a sample reproducing the error. There is something else within your code and I would like to see where the point of failure is. Thanks.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search