I'm receiving the following error: "An unhandled exception occurred while running the sql diagnostic manager desktop client. External component has thrown an exception (License4net)". Does anyone know what the issue is? We are current with licenses.
Licence4Net error when try to connect to sql diagnostic manager desktop client
Unable to Upgrade from 10.1.4 to 10.2.2 - License4Net.dll issue
After the November 6th issue were the Idera SQL Diagnostic Manager desktop client stopped working was resolved (Licence4Net), I wanted to upgrade from SQL Diagnostic Manager 10.1.4 to 10.2.2.
I downloaded the x64 installer, started the installation, it shows my database in the setup menu and when I clicked next, I received the following .Net error message:
Could not retrieve keys from repositoryExternal component has thrown an exception.
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.Exception: Could not retrieve keys from repositoryExternal component has thrown an exception.
at Installer_form_application.LicenseHelper.GetLicenseSummary(Boolean useSqlAuth, String sqlUser, String sqlPassword, String instance, String database)
at Installer_form_application.RepositoryDetailsDM.backgroundWorkerForLicenseInfo_DoWork(Object sender, DoWorkEventArgs e)
at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1649.1 built by: NETFXREL3STAGE
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
SQLDMCWFMasterInstaller
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/ATS/Version%2010.2.2%20-%20IderaSQLdmInstallationKit-x64/x64/SQLDMCWFMasterInstaller.exe
----------------------------------------
Idera.SQLdm.Common
Assembly Version: 10.2.2.58
Win32 Version: 10.2.2.58
CodeBase: file:///C:/ATS/Version%2010.2.2%20-%20IderaSQLdmInstallationKit-x64/x64/Idera.SQLdm.Common.DLL
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1649.1 built by: NETFXREL3STAGE
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1649.1 built by: NETFXREL3STAGE
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1099.0 built by: NETFXREL4STAGE
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
TracerX
Assembly Version: 2.1.809.18205
Win32 Version: 2.1.809.18205
CodeBase: file:///C:/ATS/Version%2010.2.2%20-%20IderaSQLdmInstallationKit-x64/x64/TracerX.EXE
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1087.0 built by: NETFXREL4STAGE
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1649.1 built by: NETFXREL3STAGE
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1099.0 built by: NETFXREL4STAGE
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
CWFInstallerService
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/ATS/Version%2010.2.2%20-%20IderaSQLdmInstallationKit-x64/x64/CWFInstallerService.DLL
----------------------------------------
System.Data
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1649.1 built by: NETFXREL3STAGE
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Transactions
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1099.0 built by: NETFXREL4STAGE
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/System.Transactions/v4.0_4.0.0.0__b77a5c561934e089/System.Transactions.dll
----------------------------------------
System.EnterpriseServices
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/System.EnterpriseServices/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
----------------------------------------
License4Net
Assembly Version: 5.1.3749.18339
Win32 Version: 5, 1, 0, 0
CodeBase: file:///C:/ATS/Version%2010.2.2%20-%20IderaSQLdmInstallationKit-x64/x64/License4Net.DLL
----------------------------------------
msvcm80
Assembly Version: 8.0.50727.8428
Win32 Version: 8.00.50727.8428
CodeBase: file:///C:/Windows/WinSxS/amd64_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.8428_none_88dcdb0b2fb19957/msvcm80.dll
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
After opening a ticket with support, sending them some logs and trying a couple of things, I noticed that one of the error lines:
CodeBase: file:///C:/ATS/Version%2010.2.2%20-%20IderaSQLdmInstallationKit-x64/x64/License4Net.DLL
referenced the "License4Net.dll" file.
I took my good copy of License4Net.dll and copied it into the installation path, re-ran the installer and it worked! I just wanted to post this incase anyone else has the same issue.
Thanks,
Terry
Addressing License DLL Issues
Idera has recently updated the license library for all the products due to which our customers are getting a license prompt upon launching the console. In order to resolve this issue, please follow the steps listed below for Diagnostic Manager. For other products, see the forum for those products or contact Tech Support.
For detailed instructions use this link.
1) Download the copy of License4Net.dll version 6.0.0.1 that corresponds to your version of Windows from the below link.
64 bit: downloadfiles.idera.com/.../License4Net.dll
32 bit: downloadfiles.idera.com/.../License4Net.dll
2. Log on to the server running the Idera software and navigate to the installation directory.
3. Rename the existing copy of License4Net.dll to License4Net.dll.old.
4. Copy the downloaded License4Net.dll into the installation directory next to the file that was just renamed.
(Program Files\Idera\Idera SQL diagnostic manager and \Program Files\Idera\Dashboard\CoreService & :\Program Files\Idera\Dashboard\CoreService\ProductPlugins\AddIns\SQLdm-10.x.x.x, if you are using Web Dashboard)
5. Restart the following SQLDM & Dashboard Services and also your SQLDM Desktop Client Console.
SQLdm Collection Service (Default)
SQLdm Management Service (Default)
SQLdm Predictive Analytics Service (Default)
SQLdm Rest Service (Default)
SQLdm Mobile & Newsfeed Service (if installed)
Idera Dashboard Core Service
Idera Dashboard Web Application Service
6. Start the Idera tool and apply the license key.
Note: If you have SQLDM Desktop Client installed on your remote workstations, then you will need to follow the same steps on your workstations too.
Setting up SQL DM for the first time
When folks are setting up the tool for the first time, do you enter all nodes for AlwaysOn clusters and failover clusters or just the AGL or virtual SQL name? Just trying to determine whether monitoring all nodes is valuable or if it is a waste of licenses.
Free trial for Diagnostics Manager
Hi Sir, I'm new here in SQL Idera and would like to ask help from you.
I downloaded the free/demo installer of Diagnostics manager. The installation went successful, but the thing is we don't have trial license to work this application.
Can someone share how to get the free license or how demo application works.
Thank you in advance,
Regards.
Paul Policarpio from Philippines with Love :)
add users based on databases
I have servers with multiple databases which belong to different departments. I want to share some Diagnostic Manager Info with DB owners but not the whole Server Information (i.e. Dashboard).
In application security I can only assign whole servers with users. As multiple users owning DBs are on this Systems I cannot do this. I will share some reports like "Database statistics" or "query statistics" with them. Is there a way to define alerts which are only triggered when metrics of specific databases are affected- like database Status or deadlocks
Or any other way to provide users of shared SQL Servers with diagnostic manager based information which are related to a specific database?
Thanks a lot
Index fragmentation on Columnstore Index not reported
I am not seeing fragmentation information for columnstore indexes in SQLDM after Table Statistics process runs. All other indices are reporting.
Could not load file or assembly 'License4Net.dll' or one of its dependencie
Could not load file or assembly 'License4Net.dll' or one of its dependencies. The application has failed to start because
its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool
for more detail. (Exception from HRESULT: 0x800736B1) (Idera.SQLdm.Common)
Who knows ??
SQLdm - Alert on Data/Log file set to 'Unlimited' ??
Is there a way to set a SQLdm Alert to trigger on if a data or log file maxsize is set to 'Unlimited' ?
I don't see it or how to configure in the SQLdm Alert templates.
Thanks!
Create a report for SQL Server status: Unable to connect
I'm wondering if there isany way to report on this status. I tried to create a custom report but it doesn't appear in the choices.
We'd like to be able to run a report for our network engineers of Instance/Times to see if we can find a root cause. We have 60 instances so manually assembling the data for the past 6 months is daunting.
Cory
How can I find servers which don't match the Template?
There are some servers where I have change the Alert Configuration from the default template, I.E. unticking the "CLR Enabled" so that it no-longer alerts for this condition. Is there a way to find all servers that have had these changes made?
Session CPU Time issue.
Hi,
I gets Session CPU Time alerts on my mail. its shows every thing but it did not show hostname and user name in this report.
Can you please help me what should i do to get hostname and users name in this report? Please find the report format below.
11/01/2018 8:10:32, Session CPU Time (Seconds) on Server Warning.
SQL Server instance Mssqlserver- Session 93 which logged in at 11/01/2018 8:05:05 has a cumulative CPU time of 796,384 seconds since login.
Last Command: exec [abc]
Session CPU Time (Seconds): CPU Time in seconds used by the SQL Server session since the last scheduled refresh.
mydatabase
N/A
N/A
Wants to add more information in alert generated through SQLDM
Hi Team,
I wants to add more information in alerts generated due to SQLDM. for example - if I got alert for session taking long CPU then I got below things in the alert building in email:
$(Timestamp), $(Metric) on $(Instance) and host $(Hostname) is $(Severity).
$(AlertText)
$(Metric): $(Description)
Where $(AlertText) replaced with information like "SQL Server instance xyz - Session 52 which logged in at 1/17/2018 7:11:00 AM has a cumulative CPU time of 125.611 seconds since login."
What I want is "SQL Server instance xyz - Session 52, loginName abc from Application Server AppServerName which logged in at 1/17/2018 7:11:00 AM has a cumulative CPU time of 125.611 seconds since login."
thank you!
Page life expectancy...with duration
can this alert be configured so only if PLE is below a threshold and stays below the threshold for a "n" seconds, the alert needs to be fired! Most of the time PLE goes low for few seconds and comes back up immediately. I would configure for this alert to fire if PLE is less than 300 for at least 60 seconds. Can this be done ? Or can this be added for future *** ? Ideally most alerts should have a duration tied to them.
Need SP Names to invoke List of Idera Reports in MS SQL 2012
Hi,
Below are the reports which I would like to get on MS SQL by invoking the Stored Procedures of Idera DB which we have,
Can you please specify the SP's which can be invoked for SAMPLING in Minutes.
Reports : (Below Are the Reports which I needed ones marked in RED) Would be a great help to get the list of SP's.
Number of Instances Monitored
Hi
A quick question (survey?). How many instances do all of you end up monitoring in your DM installation? My organization is crossing the 300 mark and as we have I've experienced some console slowness (lags). I'm curious if other have seen the same thing or if we're just abusing the limits of the application.
VLF Alert
Hi
Does anyone know a way to alert on a db that has a high VLF count?
Troubleshoot High CPU with SQL Diagnostic Manager
We recently had an issue where our primary database server was sustaining 100 % CPU utilization. We were able to identify sqlservr.exe was responsible for 95%. We could not identify a user process taking all of the CPU. Eventually, we were able to determine a script to delete 2 million rows that was being replicated was the cause. Unfortunately, it took many hours to find this. My question, is there someplace in Diagnostic Manager that we could have looked to find the replication problem? Hope this makes sense.
Thanks,
Mark
Report Based alerts for Disk space usage
I want to know if it is possible to create custom reports for Disk space usage which has exceeded 80% of their capacity. I am planning to get this scheduled everyday.
Batch Requests per second
I am running IDERA SQLdm 10.0.2.2261 on 1 instance of SQL 2014 using VMWare with 6 core.
I am noticing times when there are high Batch requests per second over 500 throughout the day. Does this imply I might need to increase memory?
Thank you.
Jon Lellelid
JLellelid@sno-ilse.org