473,387 Members | 1,535 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Getting an exception "Keyword not supported: 'provider'."

Hello:

I am trying to acccess an Gracle 10g database from within an ASP.NET
application running on a Windows 2003 server.

I have tried both the following connections strings:

"Provider=msdaora;Data Source=MyOracleDB;User Id=UserName;Password=asdasd;"

and

"Provider=OraOLEDB.Oracle;Data Source=MyOracleDB;User
Id=Username;Password=asdasd;"

In both cases, I get an exception:

"Keyword not supported: 'provider'."

What am I doing wrong?

Thanks.

Venkat

Nov 19 '05 #1
2 9142
Hello Venkat,
I work with sql server, but if I use the SQLConnection and set the
"Provider" in the connection string, I get the same error, and all I need to
do is remove the provider from the connection string, since the class
sqlconnection is set to work with sql serve, so if you are using the class
OracleConnection, try to just remove the provider from the connection
string...

Bruno

"vvenk" <vv***@discussions.microsoft.com> wrote in message
news:81**********************************@microsof t.com...
Hello:

I am trying to acccess an Gracle 10g database from within an ASP.NET
application running on a Windows 2003 server.

I have tried both the following connections strings:

"Provider=msdaora;Data Source=MyOracleDB;User Id=UserName;Password=asdasd;"
and

"Provider=OraOLEDB.Oracle;Data Source=MyOracleDB;User
Id=Username;Password=asdasd;"

In both cases, I get an exception:

"Keyword not supported: 'provider'."

What am I doing wrong?

Thanks.

Venkat

Nov 19 '05 #2
Bruno:

You are god-send! Thanks so much.

"Bruno Piovan" wrote:
Hello Venkat,
I work with sql server, but if I use the SQLConnection and set the
"Provider" in the connection string, I get the same error, and all I need to
do is remove the provider from the connection string, since the class
sqlconnection is set to work with sql serve, so if you are using the class
OracleConnection, try to just remove the provider from the connection
string...

Bruno

"vvenk" <vv***@discussions.microsoft.com> wrote in message
news:81**********************************@microsof t.com...
Hello:

I am trying to acccess an Gracle 10g database from within an ASP.NET
application running on a Windows 2003 server.

I have tried both the following connections strings:

"Provider=msdaora;Data Source=MyOracleDB;User

Id=UserName;Password=asdasd;"

and

"Provider=OraOLEDB.Oracle;Data Source=MyOracleDB;User
Id=Username;Password=asdasd;"

In both cases, I get an exception:

"Keyword not supported: 'provider'."

What am I doing wrong?

Thanks.

Venkat


Nov 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
by: DarkSpy | last post by:
many c++ compilers including "gcc" have not implemented the "export" keyword, but the comeau compilers made it (just i knew). i want to know about: is it too difficult to implement "export"...
2
by: ksskumar2000 | last post by:
Hi, I have added following two reference under COM tab, Microsoft Office 11.0 Object Library Microsoft Word 11.0 Object Library The software I have used: Visual studio 1.14 Microsoft Office...
11
by: Jim H | last post by:
I am trying to go through my Outlook (2003) address book. The code goes through the Items list and prints all the last names but after it hits 114 (out or 126 contacts) I get a "sepcified cast is...
7
by: Willem van Rumpt | last post by:
Hi all, coming from an unmanaged programming background, I took my time to sort out the IDisposable and finalizer patterns. Just when I thought I had it all conceptually neatly arranged, the...
8
by: Dot net work | last post by:
I need VB.NET's "shadows" functionality inside a C# project. I tried the "new" keyword, but it didn't seem to work, because my particular function does in fact differ in signature to the function...
5
by: Peter Steele | last post by:
We have an application that when it runs in the IDE in debug mode an unhandled exception is occurring in a system header file associated with STL stirngs. The actual statement that crashes is ...
0
by: Jas Shultz | last post by:
I'm using Win2K3 Enterprise edition with the latest .NET framework installed. I have this problem with getting "out of disk space" errors. It doesn't happen all the time but it does happen. When...
4
by: Ben R. | last post by:
I'm curious about the differeng behavior of the "new" keyword when dealing with value versus object types. If I'm correct, when I do: dim x as integer There's no need for "new" to be called...
0
by: Harshpandya | last post by:
Hi I am using MYSQL and ASP.Net. to build the Data Reader Page. when i define my connection Key - it gives me this error.Keyword not supported: 'dsn'. MY PAGE Data Reader <%@ Page Language="C#"...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...

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.