Hi pals..
i hav developed an application in vb nd am tryin to connect using oracle..
it gives the following error using ADODC and ODBC
"test connection failure because of an error in initializing provider.[microsoft][odbc]driver for oracle]"
please help..
11 2367
kindly post your connection string for my reference.
QVeen72 1,445
Recognized Expert Top Contributor
Hi,
Use this Connection string : -
ConnStr = "UID=username;PWD=password;" _
-
& "Server=OSName;Driver={Microsoft ODBC For Oracle}" _
-
& ";DSN = ''"
-
OSName in the above is the Oracle Client's Net Configuration Name...
First u have to configure the Client..
Regards
Veena
Hi,
Thanks a lot. I could achieve it through ODBC driver .But the application has become really slow. it nearly hangs while fetching the data.
Also the problem still persists when i use " microsoft oledb provider for oracle".
the steps i follow are as below:
1. set the ado data control on form, click to set the properties of Adodc.
2. Choose build for conn str, microsoft ole db for oracle.
3. the next click asks for the server name, the user name and pwd.
4. testing connection after feeding "scott/tiger", gives error, it says "Connection fails.error while initializing provider, the error could not be recovered from oracle".
5. Even if i set the server name to oracle9i , it doesnt work giving the same error.
Thanks a lot for devoting time to my problems.
QVeen72 1,445
Recognized Expert Top Contributor
hI,
U HAVE TO GIVE "Server Name" as the NetConfig Client Name. And Why use Scott/Tiger..? Create a User /pwd in Oracle for ur Schema and give that..
REgards
Veena
hi,
how do i find what is my net config client name?
QVeen72 1,445
Recognized Expert Top Contributor
Hi,
After Installing the Oracle Client, u have to do configure the Client using the "Net Configuration Assistant", by giving the Global Database name and option "Local Net Service Name Configuration" and Give the Host Name.
At the end of it, it will ask the Name, there provide some name. So whenevr u connect to oracle, u have to Refer that as ServerName...
REgards
Veena
Hi,
I had given the gds name as oracle9i at the time of installation.
I dont use the server name while logging on, i directly logon with user/pwd.
I had given oracle9i while connectivity before alos but it is not working.
kindly suggest..
Also, how can i import a set of tables from one schema to another?
Giving the privilege for all table is not serving the purpose.
thanks & regards
Mishika
QVeen72 1,445
Recognized Expert Top Contributor
Hi,
I had given the gds name as oracle9i at the time of installation.
I dont use the server name while logging on, i directly logon with user/pwd.
I had given oracle9i while connectivity before alos but it is not working.
kindly suggest..
Also, how can i import a set of tables from one schema to another?
Giving the privilege for all table is not serving the purpose.
thanks & regards
Mishika
Hi,
Did u configure the Local Net Name using the "Net Configuration Assistant"...?
First u have to do that.. see my previous post how to create it..
To Export, use "Exp" in command prompt, and follow the Instructions on the screen, and Export the Tables to a Dump File.
And to Import those tables, use "Imp" at the command prompt.
One more way of creating tables from one schema to another is run this SQL Statement (provided u have Priviliges to Create Table)
Create Table NewSchema.MyTab leName As Select * From OldSchema.MyTab leName
If the table being created is already present in the NewSchema, u will get an Error, Probably u may have to drop the Table before creating it...
Regards
Veena
hi,
Thanks a ton...will try n tell u.
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: Oracle Instructor |
last post by:
Hi All,
Edmonds Community College is now offering the Oracle Development
Courses, which include Oracle9i SQL, Oracle9i PL/SQL, Oracle9i Forms,
and Oracle9i Reports. These courses will provide you with the skills
needed to pass the Oracle Certification tests. Because they are
credit classes (State Funded), you will save thousands of dollars by
taking these courses with Edmonds Community College.
Here are the Oracle courses that are...
|
by: Nathan Sokalski |
last post by:
When I attempt to run a form created with Oracle9i Forms Builder I receive a
dialog box asking for the following info:
User Name:
Password:
Database:
I obviously know my User Name and Password, and I assume that the value I
use for Database is the value found in the tnsnames.ora file (in my case,
ORCL). However, when I do this I receive the following error:
|
by: Kristof Thys |
last post by:
Hello,
I'm developing a C# - windows forms application. To get some information
for my application, I'm connecting to an URL, wich gives me XML
generated using php.
With 90% of the users, this code just works fine:
WebRequest request = WebRequest.Create(URL);
|
by: vicky |
last post by:
Hello Experts,
Trying to run sample Postgrel's ECPG(Embedded
SQL)programs on RHL 9.0.
Im unable to connect to PostgreSQL database (sirishadb) when I run
the program ....
# su postgres (enter)
|
by: newladder |
last post by:
Hi all,
Iam struck with one of the problem with postgres. Please help me out....
Iam trying to connect to connect to postgres database on remote machine with the IP address 10.2.1.4. Iam unable to get connected.
below is my script.
<?php
$connection_string = 'DRIVER={PostgreSQL};SERVER=10.2.1.4:5432;DATABASE=Admin';
| |
by: SD007 |
last post by:
I am trying to connect Oracle9i with jdk1.4, but it is giving error at-
Class.forName("Oracle.jdbc.driver.OracleDriver");
The error is-
java.lang.ClassNotFoundException:Oracle.jdbc.driver.OracleDriver.
please help me.
|
by: gopiinamadar |
last post by:
hi
i want to connect a jsp file with oracle9i server.
initially i used MS Access with jsp and i will copy all jsp and html pages in webapp/root files and run apache tomacat5.5, it works fine..
but now i want to connect it with oracle9i server. so what i have to do or where i have to copy the files(jsp & html) or any other method?
please help me
thanks
|
by: boss1 |
last post by:
i have created a database named:Rezgroup
and i have already developed some pages but i dont know what is the code to connct Php and oracle.Thats why i can not access the database.
so far i have come up with the code is:
<?php
set conn=Server.CreateObject("ADODB.Connection")
conn.Provider="MSDAORA "
conn.Open "c:/webdata/Rezgroup"
set rs=Server.CreateObject("ADODB.recordset")
rs.Open "nwd_info", conn
|
by: eeriehunk |
last post by:
Hi, Please give me a lead on how to connect Oracle 9i which is on a unix machine to MS SQL Server and access its data. Does Oracle9i or TOAD have any inbuild functionality to make connections and access data.
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |