Quantcast
Channel: SCN : Discussion List - SAP Crystal Reports, version for Visual Studio
Viewing all articles
Browse latest Browse all 3636

Why would SetLocation on an Oracle database result in COMException 0x80047E4C?

$
0
0

CR version XI release 2

 

The description of the error is this:

 

De database gegevens kunnen niet worden geladen, which translated to English is something like this:

The database data cannot be loaded.

I'm puzzled as to what might cause this behavior.

 

The fragment of code resulting in the error works fine normally.

 

table.DllName = "crdb_oracle.dll";

 

SetProperty(table, "Server", _dataServiceSettings.DatabaseName); -> tns names reference

SetProperty(table, "Database Type", "OLE DB");

SetProperty(table, "UserId", _dataServiceSettings.DatabaseUserName);

SetProperty(table, "User ID", _dataServiceSettings.DatabaseUserName);

SetProperty(table, "Password", _dataServiceSettings.DatabasePassword);

 

table.Location = string.Concat(_dataServiceSettings.DatabaseUserName.ToUpper(), ".", table.Location.ToUpper());

 

Could anyone shed any light on this case for me to be able to solve it?

 

Thanks in advance,

 

Henk Spaan.


Viewing all articles
Browse latest Browse all 3636

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>