Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to install IdFix tool on windows server 2016 #20

Closed
1 of 4 tasks
Tracked by #82
pedro-roeseler opened this issue Jul 8, 2020 · 28 comments
Closed
1 of 4 tasks
Tracked by #82

Not able to install IdFix tool on windows server 2016 #20

pedro-roeseler opened this issue Jul 8, 2020 · 28 comments
Labels
Discussion investigate issues needs looking into

Comments

@pedro-roeseler
Copy link

Category

  • Enhancement
  • Bug
  • Question
  • Documentation gap/issue

Version

2.2.00

Expected / Desired Behavior / Question

I'm having some customers complaining about not being able to lunch IdFix tool from the setup file. I am having the same issue on a windows 2016 server but on windows 10 it works without any issues... Version 2.2.00
Error message:
Launching Application.URLDownloadToCacheFile failed with HRESULT '-2146697208'
Error: An error occurred trying to download 'https://raw.githubusercontent.com/Microsoft/idfix/master/publish/IdFix.application'.
I am able to open the URL manually in the browser.

idfix_error

Any idea what might be causing this?
Thanks in advance!
Cheers,
Pedro

@patrick-rodgers
Copy link
Member

Thanks for reaching out with your question. Did you review the indicated log file and were there any hints as to what might be causing the problem?

@pedro-roeseler
Copy link
Author

pedro-roeseler commented Jul 10, 2020

Hi Patrick.
Thanks for the feedback.
Yes, the log only had this information:

The following properties have been set:

Property: [AdminUser] = true {boolean}
Property: [InstallMode] = HomeSite {string}
Property: [NTProductType] = 3 {int}
Property: [ProcessorArchitecture] = AMD64 {string}
Property: [VersionNT] = 10.0.0 {version}
Running checks for package 'Microsoft .NET Framework 4.5.2 (x86 and x64)', phase BuildList
Reading value 'Release' of registry key 'HKLM\Software\Microsoft\NET Framework Setup\NDP\v4\Full'
Read integer value 394802
Setting value '394802 {int}' for property 'DotNet45Full_Release'
Reading value 'v4' of registry key 'HKLM\SOFTWARE\Microsoft\NET Framework Setup\OS Integration'
Read integer value 1
Setting value '1 {int}' for property 'DotNet45Full_OSIntegrated'
The following properties have been set for package 'Microsoft .NET Framework 4.5.2 (x86 and x64)':
Property: [DotNet45Full_OSIntegrated] = 1 {int}
Property: [DotNet45Full_Release] = 394802 {int}
Running checks for command 'DotNetFX452\NDP452-KB2901907-x86-x64-AllOS-ENU.exe'
Result of running operator 'ValueEqualTo' on property 'InstallMode' and value 'HomeSite': true
Result of checks for command 'DotNetFX452\NDP452-KB2901907-x86-x64-AllOS-ENU.exe' is 'Bypass'
Running checks for command 'DotNetFX452\NDP452-KB2901907-x86-x64-AllOS-ENU.exe'
Result of running operator 'ValueEqualTo' on property 'InstallMode' and value 'HomeSite': true
Result of checks for command 'DotNetFX452\NDP452-KB2901907-x86-x64-AllOS-ENU.exe' is 'Bypass'
Running checks for command 'DotNetFX452\NDP452-KB2901954-Web.exe'
Result of running operator 'ValueNotEqualTo' on property 'InstallMode' and value 'HomeSite': false
Result of running operator 'ValueGreaterThanEqualTo' on property 'DotNet45Full_Release' and value '379893': true
Result of checks for command 'DotNetFX452\NDP452-KB2901954-Web.exe' is 'Bypass'
Running checks for command 'DotNetFX452\NDP452-KB2901954-Web.exe'
Result of running operator 'ValueNotEqualTo' on property 'InstallMode' and value 'HomeSite': false
Result of running operator 'ValueGreaterThanEqualTo' on property 'DotNet45Full_Release' and value '379893': true
Result of checks for command 'DotNetFX452\NDP452-KB2901954-Web.exe' is 'Bypass'
'Microsoft .NET Framework 4.5.2 (x86 and x64)' RunCheck result: **No Install Needed**
Launching Application.
**URLDownloadToCacheFil**e failed with HRESULT '-2146697208'
**Error: An error occurred trying to download 'https://raw.githubusercontent.com/Microsoft/idfix/master/publish/IdFix.application'.**

Just tried it in another server but with Windows Server 2012 and it installed without problems.

Cheers,
Pedro

@kevinblumenfeld
Copy link

I had the exact same issue on 2016. Wondering if this is not a TLS versioning issue.

@pedro-roeseler
Copy link
Author

Just to check if you have any feedback on this.

@jwilkes260
Copy link

I installed IdFix on a Windows 2016 VM and it worked.

PS C:\Users\jw> systeminfo | findstr /B /C:"OS Name" /C:"OS Version"
OS Name:                   Microsoft Windows Server 2016 Datacenter
OS Version:                10.0.14393 N/A Build 14393

The error, -2146697208, indicates that there was an issue downloading the file (INET_E_DOWNLOAD_FAILURE).

@Shockelite
Copy link

Same error on Window Server 2019 (17763.1158).
2020-08-06 14_14_19-Window

@jwilkes260
Copy link

This might be a networking issue. Have you tried this from another network or location?

@kevinblumenfeld
Copy link

I have been using IDFix for years without issue. This version is the first that is causing me issues. I am having to install a version that is four years old. It is clear there is something going on with this packaged click to run version. Like the PowerShell Gallery that began enforcing TLS1.2 I am wondering if this is not a similar issue?

@patrick-rodgers
Copy link
Member

Going to tag in #17 and #22 into this issue as they are all install related to join the conversation. While looking at the August release we were still unable to duplicate these install issues. We just released 2.3.0.0 - please give that a try and see if somehow it fixes the install problem - though I am not aware of why it would. We did test out various TLS versions and couldn't find a way to duplicate the reported behavior. Since multiple people report it something is not working, we just can't yet figure out what.

@jake-ct
Copy link

jake-ct commented Aug 19, 2020

Getting the same error on 2012r2, trying the latest 2.3.0.0. Similar log file and exact same HRESULT.

I did find a workaround that let me install & run IDFix, at least in my specific scenario:

  1. Set Internet Explorer as default browser
  2. Reset IE security settings: Internet Options>Security tab>Reset All Zones to Default Level
  3. Open the faulting URL in IE and leave it open
  4. Run the clickonce installer

@Tripwyr
Copy link

Tripwyr commented Oct 6, 2020

This issue occurs for me when SSL caching is disabled. The following registry change fixes the issue, it can be changed back immediately after installation if necessary:

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
"DisableCachingOfSSLPages"=dword:00000000

@spchester
Copy link

Jake's fix didn't work for me on a brand new server 2019 install (converted from eval), but the registry change did the trick.

@samody
Copy link

samody commented Oct 19, 2020

The registry change worked here also on Server 2016

This issue occurs for me when SSL caching is disabled. The following registry change fixes the issue, it can be changed back immediately after installation if necessary:

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
"DisableCachingOfSSLPages"=dword:00000000

@jwilkes260 jwilkes260 removed their assignment Dec 3, 2020
@andygen21
Copy link

i encountered this issue on an Windows 2019 server standard. The registry fix posted by Tripwyr above worked.

@myitguycorp
Copy link

This issue occurs for me when SSL caching is disabled. The following registry change fixes the issue, it can be changed back immediately after installation if necessary:

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
"DisableCachingOfSSLPages"=dword:00000000

The registry change also worked on Server 2012R2

@zRISC
Copy link

zRISC commented May 27, 2021

that registry change worked on Windows Server 2019 as well

@Bryand13
Copy link

If everyone is wondering. Also, workaround provided by Trypwyr, is working on Windows Server 2022

@bryan-phillips-ms
Copy link
Contributor

An MSI is available for install to those that cannot run the ClickOnce application: https://github.com/microsoft/idfix/tree/master/MSIs

@agentdogit
Copy link

This worked for me also on Server 2016

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
"DisableCachingOfSSLPages"=dword:00000000

@anwarmahmood1
Copy link

anwarmahmood1 commented Jul 12, 2022

needed on Windows Server 2022 as well.

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
"DisableCachingOfSSLPages"=dword:00000000

@elray
Copy link

elray commented Jul 27, 2022

worked form me on Windows Server 2019 Datacenter.

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
"DisableCachingOfSSLPages"=dword:00000000

@SkydioFlyer
Copy link

ERROR DETAILS
Following errors were detected during this operation.
* [11/27/2022 10:59:11 AM] System.Deployment.Application.InvalidDeploymentException (ManifestParse)
- Exception reading manifest from https://raw.githubusercontent.com/Microsoft/idfix/master/publish/IdFix.application: the manifest may not be valid or the file could not be opened.
- Source: System.Deployment
- Stack trace:
at System.Deployment.Application.ManifestReader.FromDocument(String localPath, ManifestType manifestType, Uri sourceUri)
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, Uri& deploymentUri)
at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivationWithRetry(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivationWithRetry(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl)
at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
--- Inner Exception ---
System.Deployment.Application.InvalidDeploymentException (ManifestSemanticValidation)
- Deployment manifest is not semantically valid.
- Source: System.Deployment
- Stack trace:
at System.Deployment.Application.Manifest.AssemblyManifest.ValidateSemanticsForDeploymentRole()
at System.Deployment.Application.ManifestReader.FromDocument(String localPath, ManifestType manifestType, Uri sourceUri)
--- Inner Exception ---
System.Deployment.Application.InvalidDeploymentException (InvalidManifest)
- Deployment manifest identity contains missing or unsupported processor architecture.
- Source: System.Deployment
- Stack trace:
at System.Deployment.Application.Manifest.AssemblyManifest.ValidateSemanticsForDeploymentRole()
LG6GGZJV.log

@cb3inco
Copy link

cb3inco commented Jan 4, 2023

MSI installer worked for me on Windows 2022 Server machine.

@PeterCheungHK
Copy link

some error because Microsoft disabled SSL caching

Set-ItemProperty -Path "HKCU:Software\Microsoft\Windows\CurrentVersion\Internet Settings" -Name "DisableCachingOfSSLPages" -Value 0

@sy5tem
Copy link

sy5tem commented Mar 17, 2023

server manager "ie enchanced security: off worked for me

@MWGMorningwood
Copy link

server manager "ie enchanced security: off worked for me

This was it for me.
Didn't even bother trying the RegKey as this seemed more basic than the symptoms.
Flipping IE ES off worked perfectly on '22.

@chocoken
Copy link

chocoken commented Aug 7, 2023

worked form me on Windows Server 2019 Datacenter.

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings] "DisableCachingOfSSLPages"=dword:00000000

Worked from me on Windows 2019 Standard as well

@JorritGit
Copy link

This issue occurs for me when SSL caching is disabled. The following registry change fixes the issue, it can be changed back immediately after installation if necessary:

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings] "DisableCachingOfSSLPages"=dword:00000000

This resolved my issue, thank you.

@Danyel23456 Danyel23456 mentioned this issue Sep 27, 2023
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Discussion investigate issues needs looking into
Projects
None yet
Development

No branches or pull requests