Click here to Skip to main content
15,887,485 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Team,
In our project, we are using ODBC driver for connecting oracle database.
When we are running the application in Windows 7 Professional Edition, It is showing an error that [Microsoft][ODBC Driver Manager]Data source name not found and no default driver specified.
We are using a DSN less connection and the connection string in the web.config file is
"<connectionStrings>
<add name="xxxx" connectionString="server=xxxx; user id=xxxx; password=xxxx"
providerName="System.Data.OracleClient" />
</connectionStrings>"
The connection string used for VB pages is
<ConnectionString>
Provider=OraOLEDB.Oracle;Password=xxxx;User ID=xxxx;Data Source=xxxx;
</ConnectionString>

Thanks in Advance.
Posted

1 solution

If you're using .NET try looking into .NET Framework Data Provider for Oracle in

http://connectionstrings.com/oracle[^]

[Standard]
Data Source=MyOracleDB;Integrated Security=yes;

[Specifying username and password]
Data Source=MyOracleDB;User Id=myUsername;Password=myPassword;Integrated Security=no;
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900