License Information... is throwing ArgumentOutOfRangeException
Posted: Sun 06 Sep 2020 23:13
Hi Team,
I was wondering why The OracleConnection.Open() command threw an ArgumentOutOfRangeException and noticed later that this seems to be related with licensing.
Because trying to open the "License information... screen" from the Devart menu in Visual Studio 2019 the same error is thrown.
Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: startIndex
Uninstalling and reinstalling dotConnect for Oracle led to the same issue.
I tried two other solutions where one solution has the same error and the other has NO issues..
All solutions had no issues before. Don't know what caused the issue. I had a Laptop reinstall, VS reinstall, dotConnect reinstall...
What can I do now? We are using the licensed Version 9.12.1064.0
Hope you can help quickly :)
Regards...Michael
StackTrace:
System.ArgumentOutOfRangeException
HResult=0x80131502
Message=Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: startIndex
Source=mscorlib
StackTrace:
at System.String.IndexOf(Char value, Int32 startIndex, Int32 count)
at System.String.IndexOf(Char value, Int32 startIndex)
at Devart.Common.CRLicenseProvider.a(Stream A_0, String A_1, String A_2, String& A_3, String& A_4)
at Devart.Common.CRLicenseProvider.a(LicenseContext A_0, Type A_1, String& A_2, String& A_3, String& A_4)
at Devart.Common.CRLicenseProvider.a(LicenseContext A_0, Type A_1, String& A_2, Boolean& A_3, String& A_4, String& A_5)
at Devart.Common.CRLicenseProvider.a(LicenseContext A_0, Type A_1, Boolean A_2)
at Devart.Common.CRLicenseProvider.a(LicenseContext A_0, Type A_1, Object A_2, Boolean A_3)
at Devart.Data.Oracle.OracleConnection.Open()
I was wondering why The OracleConnection.Open() command threw an ArgumentOutOfRangeException and noticed later that this seems to be related with licensing.
Because trying to open the "License information... screen" from the Devart menu in Visual Studio 2019 the same error is thrown.
Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: startIndex
Uninstalling and reinstalling dotConnect for Oracle led to the same issue.
I tried two other solutions where one solution has the same error and the other has NO issues..
All solutions had no issues before. Don't know what caused the issue. I had a Laptop reinstall, VS reinstall, dotConnect reinstall...
What can I do now? We are using the licensed Version 9.12.1064.0
Hope you can help quickly :)
Regards...Michael
StackTrace:
System.ArgumentOutOfRangeException
HResult=0x80131502
Message=Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: startIndex
Source=mscorlib
StackTrace:
at System.String.IndexOf(Char value, Int32 startIndex, Int32 count)
at System.String.IndexOf(Char value, Int32 startIndex)
at Devart.Common.CRLicenseProvider.a(Stream A_0, String A_1, String A_2, String& A_3, String& A_4)
at Devart.Common.CRLicenseProvider.a(LicenseContext A_0, Type A_1, String& A_2, String& A_3, String& A_4)
at Devart.Common.CRLicenseProvider.a(LicenseContext A_0, Type A_1, String& A_2, Boolean& A_3, String& A_4, String& A_5)
at Devart.Common.CRLicenseProvider.a(LicenseContext A_0, Type A_1, Boolean A_2)
at Devart.Common.CRLicenseProvider.a(LicenseContext A_0, Type A_1, Object A_2, Boolean A_3)
at Devart.Data.Oracle.OracleConnection.Open()