.NET Serverside Processing: Database connection.

.NET Serverside Processing: Database connection.

david.j.meyer2@boeing.comdavid.j.meyer2@boeing.com Posts: 54Questions: 15Answers: 0

I have a project that uses web api and mvc. My connection string works fine I can connect and retrieve data from my actions. When i attempt to use the web api for server side processing of data. string connectionString = "Data Source=MYDATABASE;Persist Security Info=True;User Id=DBUSER;Password=PWD;"

using (var db = new Database("oracle", connectionString))

I get the following exception

System.ArgumentException
HResult=0x80070057
Message=Unable to find the requested .Net Framework Data Provider. It may not be installed.

This is weird because that connection string works fine when i use as i do below.

using (OracleConnection con = new OracleConnection(connectionString))

Any help would be greatly appreciated.

Answers

This discussion has been closed.