[Help] KHUT not able to install
KHUT error Application cannot be started
KHUT not able to install Posted on: 05/16/2016 5:34am
Quote Post

I am at wits end. I have tried all the basic things from posts and can't get it to work. I have spent a few hours trying things and nothing has worked. So I now feel I should ask the experts! :) Any help would be greatly appreciated!  ~ Jon 

Trainer Version: Downloaded 3-15-2016
Operating System: Windows 10 x64 
Issue: I keep getting Application Cannot be started Contact Application Vendor. 

I have taken the steps of: disabled firewall and Anti-virus. Updated Runtime and .Net framework. Restarted. Redownloaded. Deleted Apps/2.0 

Here is output. 


PLATFORM VERSION INFO
    Windows             : 10.0.10586.0 (Win32NT)
    Common Language Runtime     : 4.0.30319.42000
    System.Deployment.dll         : 4.6.1078.0 built by: NETFXREL3STAGE
    clr.dll             : 4.6.1080.0 built by: NETFXREL3STAGE
    dfdll.dll             : 4.6.1038.0 built by: NETFXREL2
    dfshim.dll             : 10.0.10586.0 (th2_release.151029-1700)

SOURCES
    Deployment url            : file:///C:/Users/Jon/Downloads/KongHackTrainer.application

ERROR SUMMARY
    Below is a summary of the errors, details of these errors are listed later in the log.
    * Activation of C:\Users\Jon\Downloads\KongHackTrainer.application resulted in exception. Following failure messages were detected:
        + The type initializer for 'System.Net.ServicePointManager' threw an exception.
        + The type initializer for 'System.Net.ComNetOS' threw an exception.
        + Configuration system failed to initialize
        + Root element is missing. (C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\machine.config)
        + Root element is missing.

COMPONENT STORE TRANSACTION FAILURE SUMMARY
    No transaction error was detected.

WARNINGS
    There were no warnings during this operation.

OPERATION PROGRESS STATUS
    * [5/16/2016 12:18:55 AM] : Activation of C:\Users\Jon\Downloads\KongHackTrainer.application has started.

ERROR DETAILS
    Following errors were detected during this operation.
    * [5/16/2016 12:18:55 AM] System.TypeInitializationException
        - The type initializer for 'System.Net.ServicePointManager' threw an exception.
        - Source: System
        - Stack trace:
            at System.Net.ServicePointManager.EnsureConfigurationLoaded()
            at System.Deployment.Application.SystemNetDownloader.DownloadAllFiles()
            at System.Deployment.Application.FileDownloader.Download(SubscriptionState subState)
            at System.Deployment.Application.DownloadManager.DownloadManifestAsRawFile(Uri& sourceUri, String targetPath, IDownloadNotification notification, DownloadOptions options, ServerInformation& serverInformation)
            at System.Deployment.Application.DownloadManager.DownloadDeploymentManifestDirectBypass(SubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, SubscriptionState& subState, IDownloadNotification notification, DownloadOptions options, ServerInformation& serverInformation)
            at System.Deployment.Application.DownloadManager.DownloadDeploymentManifestBypass(SubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, SubscriptionState& subState, IDownloadNotification notification, DownloadOptions options)
            at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl)
            at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
        --- Inner Exception ---
        System.TypeInitializationException
        - The type initializer for 'System.Net.ComNetOS' threw an exception.
        - Source: System
        - Stack trace:
            at System.Net.ServicePointManager..cctor()
        --- Inner Exception ---
        System.Configuration.ConfigurationErrorsException
        - Configuration system failed to initialize
        - Source: System.Configuration
        - Stack trace:
            at System.Configuration.ClientConfigurationSystem.EnsureInit(String configKey)
            at System.Configuration.ClientConfigurationSystem.PrepareClientConfigSystem(String sectionName)
            at System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection(String sectionName)
            at System.Configuration.PrivilegedConfigurationManager.GetSection(String sectionName)
            at System.Diagnostics.DiagnosticsConfiguration.Initialize()
            at System.Diagnostics.DiagnosticsConfiguration.get_Sources()
            at System.Diagnostics.TraceSource.Initialize()
            at System.Net.Logging.InitializeLogging()
            at System.Net.Logging.get_On()
            at System.Net.ComNetOS..cctor()
        --- Inner Exception ---
        System.Configuration.ConfigurationErrorsException
        - Root element is missing. (C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\machine.config)
        - Source: System.Configuration
        - Stack trace:
            at System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignoreLocal)
            at System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(ConfigurationSchemaErrors schemaErrors)
            at System.Configuration.ClientConfigurationSystem.EnsureInit(String configKey)
        --- Inner Exception ---
        System.Xml.XmlException
        - Root element is missing.
        - Source: System.Xml
        - Stack trace:
            at System.Xml.XmlTextReaderImpl.Throw(Exception e)
            at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
            at System.Configuration.XmlUtil..ctor(Stream stream, String name, Boolean readToFirstElement, ConfigurationSchemaErrors schemaErrors)
            at System.Configuration.BaseConfigurationRecord.InitConfigFromFile()

COMPONENT STORE TRANSACTION DETAILS
    No transaction information is available.


 

RE: KHUT not able to install Posted on: 05/16/2016 5:56am
Quote Post
Never let a computer tell me shit.

Yikes! thats a new one!
to resolve:
in windows explorer go to C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\
replace the contents of file machine.config with the contents from machine.config.default

alternatively, you could just delete machine.config and make a copy of machine.config.default and rename it to machine.config
 




I use this AoB tool to make all the AoBs I post. Try the online version if you dont feel like downloading it.
"Obviously, windows are central to Windows. They are so important that they named the operating system after them. But what is a window?"

RE: KHUT not able to install Posted on: 05/16/2016 7:24am
Quote Post

That fixed it! Thanks! 

Just for curiosity any known reasons that file would corrupt? I know enough coding to do apps/web languages/get myself into trouble. I know often it is if a million monkeys on a million typewriters type thing where something is bound to happen eventually, especially with platforms where you add a ton of different programs that all can change things, but sometimes it is a known bug. I like knowledge even if I never have need to use it :)  

And again many thanks!  

RE: KHUT not able to install Posted on: 05/16/2016 7:38am
Quote Post
Never let a computer tell me shit.

the most likely reason is that during an install/update to the .net framework the machine.config was in use by another program and thus couldnt be updated




I use this AoB tool to make all the AoBs I post. Try the online version if you dont feel like downloading it.
"Obviously, windows are central to Windows. They are so important that they named the operating system after them. But what is a window?"