Quantcast
Channel: Ivanti User Community : Document List - Console
Viewing all articles
Browse latest Browse all 316

Console Initialization Error: Exception has been thrown by the target of an invocation on 9.6 SP1 Remote Consoles

$
0
0

console1.png

Description: When logging into a remote console the following error may be displayed.

 

Cause: Multiple sources. See resolution

 

Resolution: Look at the console.exe.log file located in the C:\Program Files\LANDesk\ManagementSuite\Log folder. Depending on the error displayed the following may help:

 

Error 1:

01/28/2015 10:59:16 INFO 4812:Main Thread RollingLog : Exception:

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> LANDesk.ManagementSuite.Data.UnauthorizedProcessException: Current running process <C:\Program Files (x86)\LANDesk\ManagementSuite\Console.exe> is not authorized. Blocking access.

at LANDesk.ManagementSuite.Data.AssemblyHelper.AuthorizeRunningProcess()

--- End of inner exception stack trace ---

 

- This error generally indicates that incorrect files for the database version in question are in use. It's recommended to clean the machine from all previous installations. Try a remove/re-install and/or use the following documents:

Streams and why you should remove them

How to remove a 9.6 and 9.6 SP1 console from client machines when the uninstall or re-install fails.

 

Error 2:

02/11/2015 11:47:48 INFO 5776:Main Thread RollingLog : Connecting to the database

02/11/2015 11:47:49 INFO 5776:Main Thread RollingLog : Core has changed, resetting the core language cache

02/11/2015 11:47:49 INFO 5776:Main Thread RollingLog : Getting core language for Key:CurrentLanguage Language:ENU

02/11/2015 11:47:49 INFO 5776:Main Thread RollingLog : Getting core language for Key:LegacyLanguage Language:ENU

02/11/2015 11:47:50 ERROR 5776:Main Thread DataServices.Database : ExecuteDataTable: exception sql: select * from TrustedToken

02/11/2015 11:47:50 ERROR 5776:Main Thread DataServices.Database : ExecuteDataTable

System.Configuration.ConfigurationErrorsException: The 'DbProviderFactories' section can only appear once per config file.

at System.Configuration.BaseConfigurationRecord.EvaluateOne(String[] keys, SectionInput input, Boolean isTrusted, FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentResult)

 

- This error is a configuration problem with .NET. The following configuration file needs to be edited and additional entries (like that below) should be removed. (*NOTE: Best practice indicates you should backup the original file before modification)

 

<DbProviderFactories>

<add name="IBM DB2 for i5/OS .NET Provider" invariant="IBM.Data.DB2.iSeries" description=".NET Framework Data Provider for i5/OS" type="IBM.Data.DB2.iSeries.iDB2Factory, IBM.Data.DB2.iSeries, Version=12.0.0.0, Culture=neutral, PublicKeyToken=9cdb2ebfb1f93a26" />

</DbProviderFactories>

 

and\or

 

Any blank entry for </DbProviderFactories> if using the IBM ISeries clients

 

C:\Windows\Microsoft.Net\Framework64\v4.0.30319\Config

 

and\or

 

On the managed device side:

 

C:\Windows\Microsoft.Net\Framework64\v4.0.30319\machine.config


Viewing all articles
Browse latest Browse all 316

Latest Images

Trending Articles



Latest Images

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