(imported topic written by kogasira)
I am a total newbie in BigFix. Unable to connect to the BigFix server at all. TRied to run the TestAPI.htm or create my own C# project to no avail. Could someone be kind to explain what am I missing? We are running BigFix 8.2.1175
string username = “********”;
string password = “********”;
string dsn = “bes_bfenterprise”;
int siteID = 2;
int fixletID = 3022404;
int action = 0;
FixletMessage fixlet = new FixletMessage();
fixlet.SetDSN(dsn);
fixlet.SetServer(“NAMSTBYGT001”);
fixlet.Load(siteID, fixletID, username, password);
if (fixlet.DiagnosticMessage.Length != 0)
throw new Exception(fixlet.DiagnosticMessage);
Receiving Error: “Unexpected server error: Database Error: A database query unexpectedly failed to return any results. (error HTTP 500 in method /data/load-external-object)”