Connect to Oracle through the Microsoft Enterprise Library Version 3.1
682549Jan 30 2009 — edited Jan 30 2009Hello,
I have a tiny peace of code written in .NET (C# ) and Oracle 10g XE as database.
its connecting fine with ODP.NET
but facing problem connection with Microsoft Enterprise Library Version 3.1
We connect to Oracle through the Microsoft Enterprise Library Version 3.1 for all the data access activities. And whenever we connect via the Microsoft Enterprise Library, it’s not connected. And we hosted a sample application which uses the Microsoft Enterprise Library in the following URL.
http://biztecschool-com.securebizserver.net/TestODPNET
output
=====
Connecting oracle using ODP.NET....
Connection String:User Id=biztech; Password=biztech1234; Data Source=XE;
Success.
Connecting oracle using Enterprise Library....
Fail
Object reference not set to an instance of an object.
at Biztec.DataAccess.DAL.GetDataReaderFromSQL(String argStrSQL) in D:\Biztec\Project\Web\GW1\Source\DataAccess\DAL.cs:line 301 at Default.PageLoad(Object sender, EventArgs e)
===========================================================
Kindly Suggest us.
Waiting for your reply!
Edited by: user10667377 on Jan 30, 2009 5:56 AM