?
Solved

Error 2147217900 in VB6

Posted on 2009-04-15
2
Medium Priority
?
319 Views
Last Modified: 2012-05-06
Hi one of our users is getting an Error -2147217900 while trying to read some data from the database. the application is in vb6 with SQL Server 2005 database.

Please if anyone of you could help me sort out this issue?
Thanks!!
sreenish
0
Comment
Question by:SreenishKrishnan
2 Comments
 
LVL 10

Accepted Solution

by:
Christian de Bellefeuille earned 2000 total points
ID: 24154494
Do you have any code?  On which line it cause this error?  Any error description?

Is the connection opened?
What does your SQL query look like?
Make sure that all the fields you are trying to read exists in the database
Make sure that when you read values and assign them to variables, that all columns have values to not get "Null's"

Please, post some code
0
 

Author Closing Comment

by:SreenishKrishnan
ID: 31570622
Thanks Sir..!!i got the solution..!! ' :)
0

Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

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

This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
A Stored Procedure in Microsoft SQL Server is a powerful feature that it can be used to execute the Data Manipulation Language (DML) or Data Definition Language (DDL). Depending on business requirements, a single Stored Procedure can return differe…
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.
Suggested Courses

840 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