Home
Help
Register
Log in

Search

 
   Active Threads  

You are here: Home > LLBLGen Pro > LLBLGen Pro Runtime Framework> ArgumentOutOfRangeException: The value specified will cause an overflow error in the database. Value length: 16. Column max. length: 10
 

Pages: 1
LLBLGen Pro Runtime Framework
ArgumentOutOfRangeException: The value specified will cause an overflow error in the database. Value length: 16. Column max. length: 10
Page:1/1 

  Print all messages in this thread  
Poster Message
JeffM
User



Location:

Joined on:
30-Dec-2006 18:04:34
Posted:
29 posts
# Posted on: 12-Feb-2007 01:56:55.  
ArgumentOutOfRangeException: The value specified will cause an overflow error in the database. Value length: 16. Column max. length: 10
Parameter name: Type

I do not understand why i am getting this exception thrown. My database has the field as nvarchar(30)

LLBL project designer sees it as that type of field when I edit the properties for the specified table.

I have regenerated the code, rebuilt the db specific and non specific projects and added the correct bins to my website bin folder??

kWhat else do I need to do?
  Top
JimHugh
User



Location:
Davis, CA
Joined on:
16-Nov-2005 14:32:25
Posted:
191 posts
# Posted on: 12-Feb-2007 03:13:22.  
Like you, I'm an end user. It would be helpful if you used the posting guidelines at http://www.llblgen.com/TinyForum/Messages.aspx?ThreadID=7720

Have you restarted the web server?

Have you checked the web.config connection string to ensure that it is connecting to the same database as that used to refresh the designer?

I've had the same issues, and the above steps helped me.


Jim Hughes  Top
jbb
User



Location:

Joined on:
29-Nov-2005 13:38:48
Posted:
267 posts
# Posted on: 12-Feb-2007 14:33:19.  
Hello,

what version of llblgen do you use?
when did this error come(when trying to upgrade a field, saving an entity ..)?
  Top
JeffM
User



Location:

Joined on:
30-Dec-2006 18:04:34
Posted:
29 posts
# Posted on: 13-Feb-2007 03:34:02.  
Have you restarted the web server?
Yes, several times since the cahnge occured on the db.

Have you checked the web.config connection string to ensure that it is connecting to the same database as that used to refresh the designer?
I have three db's that my code generated points too. I am pointing to the XML Appconfig file created.

what version of llblgen do you use?
Version 2.0

when did this error come(when trying to upgrade a field, saving an entity ..)?
The error occurs when updating an entity.

About three days ago I changed the status field to accept length 30. One day ago I added workingrrid and oldstatus to another table same db. I regenerated the code. rebuilt the vb projects. I have access to the new fields. But the status field still gives me the problem. Do I need to temporarily get rid of the collumn in the db? Very odd.


  Top
Walaa
Support Team



Location:

Joined on:
21-Aug-2005 16:03:48
Posted:
14626 posts
# Posted on: 13-Feb-2007 08:39:57.  
I guess your application somehow is using an older version of the generated code.
Make sure the application reference the most recent version of the genareted code.

Quote:
I have regenerated the code, rebuilt the db specific and non specific projects and added the correct bins to my website bin folder??

Sometimes bins from the ASP.NET temp folder or the gac can be still used rather than the new bins, so make sure you delete any previous existing version of your generated code (DBSpecific & DBGeneric)
  Top
MichaelLeppan
User



Location:
Private
Joined on:
23-Oct-2007 13:03:36
Posted:
11 posts
# Posted on: 23-Oct-2007 13:22:51.  
I have the exact same problem... So what is the solution to this problem... ?

  Top
Otis
LLBLGen Pro Team



Location:
The Hague, The Netherlands
Joined on:
17-Aug-2003 18:00:36
Posted:
38044 posts
# Posted on: 23-Oct-2007 18:15:54.  
MichaelLeppan wrote:
I have the exact same problem... So what is the solution to this problem... ?

Have you checked Walaa's post right above yours? Regular Smiley
Frans Bouma
LLBLGen Pro / ORM Profiler Lead Developer | Blog | Twitter
 
Top
MichaelLeppan
User



Location:
Private
Joined on:
23-Oct-2007 13:03:36
Posted:
11 posts
# Posted on: 24-Oct-2007 17:37:17.  
I would like to add, if you are using this product in a team environment, make sure no other team members have deleted constraints or foreign keys...

  Top
Pages: 1  


Powered by HnD ©2002-2007 Solutions Design
HnD uses LLBLGen Pro

Version: 2.1.12172008 Final.