Search the web
Sign In
New User? Sign Up
DatabaseTemplateLibrary · The Database Template Library
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Cannot operate on invalidated dtl::DBStmt object   Message List  
Reply | Forward Message #2296 of 2479 |
Hi All,

I am getting this exception with my VC++ client app using DTL 3.5.1
with MS SQL Server 2005.

Exception type: ValidityException Method: ValidatedObject::validate()
Error Message: Cannot operate on invalidated object of type class
dtl::DBStmt! objType: class dtl::DBStmt

Any idea why the DBStmt object may not be a valid object? How does DTL
do the validity check & how often? Like, What are some typical
instances where an object might go invalid?

Thanks in advance.




Fri Oct 19, 2007 5:10 pm

msvenx
Offline Offline
Send Email Send Email

Forward
Message #2296 of 2479 |
Expand Messages Author Sort by Date

Hi All, I am getting this exception with my VC++ client app using DTL 3.5.1 with MS SQL Server 2005. Exception type: ValidityException Method:...
msvenx
Offline Send Email
Oct 19, 2007
6:43 pm

Broadly, I think that a DBStmt can go invalid if it has problems executing or gets into an invalid intermediate intermediate state. You should get a sql error...
Corwin Joy
corwinjoy
Offline Send Email
Oct 22, 2007
3:50 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help