This requires being connected to your server.
Issue:
Users can implement a URL-based Single-Signon (SSO) dashboard launcher (a C#/ASP.Net application) on a web server such that using encrypted username/password method generates a URL automatically for the user to access iDashboards. An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
References:
iDashboards Admin Manual 13.3.5 Enabling URL-Based SSO
iDashboards provides the idb_encrypt tool which is a command-line utility that encrypts passwords in a format that iDashboards can decrypt. It can be used to encrypt certain strings such as usernames and password to be used with URL-based SSO.
iDashboards Admin Manual 6.1 Using the idb_encrypt Tool
Example of a user defined code in C# to create an encryption string:
protected void btnTrans_Click(object sender, EventArgs e) { string iDPassword = null; iDPassword = txtOld.Text;
idb_encrypt.Codec obj = new idb_encrypt.Codec(); encryptedPassword = obj.obfuscate(ref iDPassword); lblNew.Text = encryptedPassword;Error that can be encountered:
Retrieving the COM class factory for component with CLSID {8C9B1C1C-A056-4FCF-AB98-494EC611CCC7} failed due to the following error: 80040154.
Resolution:
Two things to make sure:
- When the idb_encrypt.dll was added to Visual Studio as a reference, make sure it does NOT get renamed to something other than idb_encrypt.dll
- The idb_encrypt.dll will be required to be registered if it is run on a Windows 2003 server. The idb_encrypt.dll will not be required to be registered on a Windows 2008 server.
If the above is unable to resolve the issue, then please contact iDashboards Support for further assistance.
Comments
0 comments
Please sign in to leave a comment.