License not valid.

License not valid.

Postby scott.pedersen » Tue 01 Aug 2006 02:58

Hi,

I have created a login form which calls the main form. This main form has been running fine by itself when not called from the login form and still does.

When called from the login form I get the error below when the dataadapter.fill method is called. Any help on how to resolve this error would be appreciated.

Cheers,

Scott.

CoreLab.Oracle.OracleException was unhandled
Message="License not valid. Please view \"Licensing\" topic in OraDirect .NET documentation for details or contact Core Lab technical support."
Source="CoreLab.Oracle"
Code=-1
Offset=0
StackTrace:
at CoreLab.Oracle.OracleConnection.Open()
at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, String srcTable)
at Com.Bcl.ExtendBillingSystem.ExtendBillingData.FillDataSetTable(String sqlQuery, String table, DataSet dataSet) in C:\Visual Studio 2005\Projects\ExtendBillingSystem\ExtendBillingSystem\ExtendBillingData.cs:line 36
at Com.Bcl.ExtendBillingSystem.ExtendBillingData.FillDataSetTables(String table) in C:\Visual Studio 2005\Projects\ExtendBillingSystem\ExtendBillingSystem\ExtendBillingData.cs:line 47
at Com.Bcl.ExtendBillingSystem.ExtendBillingAdmin.ConfigureComboBoxFill(ComboBox comboBox, String displayMember, String valueMember, String table) in C:\Visual Studio 2005\Projects\ExtendBillingSystem\ExtendBillingSystem\ExtendBilling.cs:line 56
at Com.Bcl.ExtendBillingSystem.ExtendBillingAdmin.ConfigurePeriodsComboBox() in C:\Visual Studio 2005\Projects\ExtendBillingSystem\ExtendBillingSystem\ExtendBilling.cs:line 73
at Com.Bcl.ExtendBillingSystem.ExtendBillingAdmin.ExtendBillingAdmin_Load(Object sender, EventArgs e) in C:\Visual Studio 2005\Projects\ExtendBillingSystem\ExtendBillingSystem\ExtendBilling.cs:line 22
.....
scott.pedersen
 
Posts: 21
Joined: Tue 06 Jun 2006 03:14
Location: Auckland, New Zealand

Postby scott.pedersen » Tue 01 Aug 2006 03:16

Hi,

I have sorted this now by adding an OracleConnection to my other project and then deleting it, which I assume creates the license file needed.

Cheers,

Scott.
scott.pedersen
 
Posts: 21
Joined: Tue 06 Jun 2006 03:14
Location: Auckland, New Zealand

Postby Alexey » Tue 01 Aug 2006 06:28

Thanks for informing as about resolving.
Alexey
 
Posts: 2756
Joined: Mon 13 Mar 2006 07:43


Return to dotConnect for Oracle