Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > ADO.NET
|
ADO.NET For discussion about ADO.NET.  Topics such as question regarding the System.Data namespace are appropriate.  Questions specific to a particular application should be posted in a forum specific to the application .
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ADO.NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 15th, 2004, 04:21 PM
Registered User
 
Join Date: Dec 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default NotesSQL ODBC issue

Im trying to access data stored in notes tables/flat-files. And access it in ASP.NET.

What I did so far:-
1) I dowloaded a NOTESSQL odbc-driver from the IBM website.

2) i created a system-dsn with name xyz thru control panel.

3) from asp.net i created an oledb adapter/connection by dropping the object from the toolbox on the webform.

4) In the provider tab, I specified the provider as Microsoft-Oledb-provider-for-odbc-driver.

5.1) In the connection tab, I select the "use data source data" radio button and i see the xyz name in the list, but if i select it and hit 'Test connection' I get an error as below

ERROR:- Test connection failed because of an error in initializing provider. [Microsoft][ODBC Driver Manager] Driver's SQLAllocHandle on SQL_HANDLE_DBC failed

5.2) In the connection tab, Instead of clicking the "use data source data" radio button, i tried to go thru the second radio button "use connection string" and in the next screen i selected the system dsn "xyz"
ERROR:- Operation cannot be executed because an error occurred during connection to the driver.

Pls help jshaker
[email protected]

Jeba Shaker
[email protected]





Similar Threads
Thread Thread Starter Forum Replies Last Post
ODBC Microsoft Access Driver Issue mat41 Classic ASP Professional 5 June 30th, 2008 10:37 AM
ODBC renanfv Oracle 1 August 18th, 2007 12:43 AM
ODBC Connection Issue On Client Site prince500 SQL Server 2005 1 June 7th, 2007 02:03 PM
ODBC - insert on a linked field - [microsoft][ODBC chimp MySQL 0 April 7th, 2005 04:44 AM
ODBC connection mishaq SQL Server 2000 13 June 16th, 2004 02:55 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.