Solved

Any one hav an Idea of this Error -2147217887

Posted on 2002-03-28
6
276 Views
Last Modified: 2011-09-20
I would be the happiest person if someoen solve my problem.

Iam using oracle as backend and VB as frontend.

1. i have table in oracle under a user
2. when i connect to oracle and fetch the records under the table using an recordset visual basic doesnt give an error.
3. but only during runtime,  when  it encountered the code for displaying the fetched field (     for ex like rec("Dateofjoin") ) it pops me an error -2147217887(80040e21) errors occured
4. This same code is running fine with other user id in oracle.
5. I cannot not figure out whether the error is with vb or oracle .
if anybody can help me out plz
0
Comment
Question by:vishwa_gv
6 Comments
 
LVL 18

Expert Comment

by:bobbit31
ID: 6902667
can we see more of the offending code?
0
 
LVL 4

Accepted Solution

by:
RichW earned 200 total points
ID: 6902703
The (80040e21) portion of the error means that the field is too small to accept the amount of data you're trying work with.  http://msdn.microsoft.com/library/default.asp?url=/library/en-us/adoce31/html/ado30ref_103.asp

The -2147217887 portion of the error is one of those obscure MS errors that even Microsoft has a hard time figuring out what it means.  It is an OLE DB Specific error that pops up for many reasons.  http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnacchbk/html/acsybex_chap6.asp

Sorry I couldn't be of more help.




0
 

Expert Comment

by:jwillemssens
ID: 6903019
Are you using Odbc driver or directly attack Oracle ?
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 14

Expert Comment

by:Matti
ID: 6908001
Hi!

I think you try latebinding someting which is not creatable.

Try reference these objects and stop using "create object"

Matti
0
 
LVL 49

Expert Comment

by:DanRollins
ID: 7637926
Hi vishwa_gv,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will ask a Community Support Moderator to:

    Accept RichW's comment(s) as an answer.

vishwa_gv, if you think your question was not answered at all or if you need help, just post a new comment here; Community Support will help you.  DO NOT accept this comment as an answer.

EXPERTS: If you disagree with that recommendation, please post an explanatory comment.
==========
DanRollins -- EE database cleanup volunteer
0
 

Expert Comment

by:SpideyMod
ID: 7754840
per recommendation

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

912 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now