473,503 Members | 10,660 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to connect to oracle9i with sys user using .net

2 New Member
I want to get the access using the sys user of the oracle9i from vb.net application but i cant connect using this username.

I got the error like this
connection to sys should be as sysdba or sysoper.
so what should i do for it?


Pradip.
Mar 31 '10 #1
2 1587
Frinavale
9,735 Recognized Expert Moderator Expert
I'm not sure if you can access the system user for the database...

Anyways, you should post the code that is involved in the error so that we can see what your doing.

-Frinny
Mar 31 '10 #2
pradip010189
2 New Member
I do code like this ..

Expand|Select|Wrap|Line Numbers
  1. Dim con As New OracleClient.OracleConnection("Data Source=pradip;User ID=sys;Password=compengg;Unicode=True")
  2. Dim ad As New OracleClient.OracleDataAdapter("select * from " + TextBox1.Text, con)
  3. Dim ds As New DataSet()
  4. ad.Fill(ds, "stable")

here i changed the password of the sys user at install.
by default it is "change_on_install"


using this code i got the error is "connection to sys should be as sysdba or sysoper."

but if i write the user name as sys /as sysdba
then it will display the error is "username and password is incorrect,access denied".

reply..

Pradip
Apr 1 '10 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

0
1923
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...
3
10962
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...
8
14357
by: danbredy | last post by:
Hi, I'm attempting to connect to an Oracle database using SQL Server 2005 Express (OS is Windows XP Professional) and having absolutely no luck. Here is the information SQL Plus gives me about...
0
944
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-...
4
3210
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.. ...
2
1341
by: charlesa | last post by:
hi all I long back using oracle9i . But today suddenly power is gone and get back With in second . so my system is going to restart . After that I am not able To access even Scott user also ...
11
2361
by: Mishika9486 | last post by:
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...
8
4515
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...
1
1550
by: Renilkumar | last post by:
Hi, I am using .net2.0,oracle9i with odp.net9. When a password is expired, I am forcing the user to enter the new password and once it sets I am redirecting the user to the login page to login...
4
2004
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...
0
7095
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7294
Oralloy
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,...
0
7361
jinu1996
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...
1
7015
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7470
tracyyun
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...
0
5602
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4693
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...
0
3173
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
403
bsmnconsultancy
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.