Thread: bug base/DAL
View Single Post
  #1 (permalink)  
Old July 21st, 2007, 02:51 PM
ursinho99 ursinho99 is offline
Registered User
 
Join Date: Jul 2007
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default bug base/DAL

Imar,

I am attempting to use the VB version of your three part article building layered web applications with the BugBase as a foundation.

I have an insert procedure that adds a new customer to the database. Upon the initial log in the insert works fine, when i go to add a second customer i get an error;

String or binary data would be truncated.
The statement has been terminated.
The 'bus_RCustomerInsertUpdate' procedure attempted to return a status of NULL, which is not allowed. A status of 0 will be returned instead.

If i log out and back in again the insert works fine. Any idea what could be causing this error.

If you want me to post some code let me know.

EC