New Posts New Posts RSS Feed: Error on Default Value
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Error on Default Value

 Post Reply Post Reply
Author
davidklitzke View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 14-Jun-2007
Posts: 715
Post Options Post Options   Quote davidklitzke Quote  Post ReplyReply Direct Link To This Post Topic: Error on Default Value
    Posted: 13-Dec-2007 at 2:37pm
If it works for you, that's fine with me. 
Back to Top
willydavidjr View Drop Down
Newbie
Newbie
Avatar

Joined: 11-Dec-2007
Location: Philippines
Posts: 2
Post Options Post Options   Quote willydavidjr Quote  Post ReplyReply Direct Link To This Post Posted: 12-Dec-2007 at 4:50pm
[QUOTE=davidklitzke]This seems like it might be easy for us to reproduce.  Could you send your database and .ORM file to support@ideablade.com?[/QUOTE]
 
I think it will be quite hard to send it. The database is very large to send to an email. Anyway, what we did is we remove all the default values and we leave it blank from the original default value: new System.Byte[1]{0} . And the error doesn't occur anymore.
 
Does this advisable?
 
Back to Top
davidklitzke View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 14-Jun-2007
Posts: 715
Post Options Post Options   Quote davidklitzke Quote  Post ReplyReply Direct Link To This Post Posted: 12-Dec-2007 at 10:57am
This seems like it might be easy for us to reproduce.  Could you send your database and .ORM file to support@ideablade.com?
Back to Top
willydavidjr View Drop Down
Newbie
Newbie
Avatar

Joined: 11-Dec-2007
Location: Philippines
Posts: 2
Post Options Post Options   Quote willydavidjr Quote  Post ReplyReply Direct Link To This Post Posted: 11-Dec-2007 at 11:46pm
Hi guys, I've encountered an error about the default value. But it seems that I generated all my fields and properties properly. This is the first time I've encountered this. What do you think is the problem here. Here is the argument exception:
 
The DefaultValue for column IsSelected is of type System.DBNull, but the column is of type System.Byte.
 
Thanks in advance!
// Willy David Jr
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down