Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: Server Core issues

I do not have any problems running installer or using .NET assembly on Windows 2016 without desktop (aka "core").

How do you get the "SxS Trace"?
bpr-guy

Followup

Here's what's being reported in the Event log:
Activation context generation failed for "C:\WinSCP\winscp.exe". Dependent Assembly Microsoft.Windows.Common-Controls,language="*",processorArchitecture="*",publicKeyToken="6595b64144ccf1df",type="win32",version="6.0.0.0" could not be found. Please use sxstrace.exe for detailed diagnosis.



Here's what's being reported in the SxS Trace:

=================

Begin Activation Context Generation.
Input Parameter:
   Flags = 0
   ProcessorArchitecture = Wow32
   CultureFallBacks = en-US;en
   ManifestPath = C:\WinSCP\winscp.exe
   AssemblyDirectory = C:\WinSCP\
   Application Config File =
-----------------
INFO: Parsing Manifest File C:\WinSCP\winscp.exe.
   INFO: Manifest Definition Identity is WinSCP,processorArchitecture="*",type="win32",version="5.0.0.0".
   INFO: Reference: Microsoft.Windows.Common-Controls,language="*",processorArchitecture="*",publicKeyToken="6595b64144ccf1df",type="win32",version="6.0.0.0"
INFO: Resolving reference Microsoft.Windows.Common-Controls,language="*",processorArchitecture="*",publicKeyToken="6595b64144ccf1df",type="win32",version="6.0.0.0".
   INFO: Resolving reference for ProcessorArchitecture WOW64.
      INFO: Resolving reference for culture en-US.
         INFO: Applying Binding Policy.
            INFO: No publisher policy found.
            INFO: No binding policy redirect found.
         INFO: Begin assembly probing.
            INFO: Did not find the assembly in WinSxS.
            INFO: Attempt to probe manifest at C:\Windows\assembly\GAC_32\Microsoft.Windows.Common-Controls\6.0.0.0_en-US_6595b64144ccf1df\Microsoft.Windows.Common-Controls.DLL.
            INFO: Did not find manifest for culture en-US.
         INFO: End assembly probing.
      INFO: Resolving reference for culture en.
         INFO: Applying Binding Policy.
            INFO: No publisher policy found.
            INFO: No binding policy redirect found.
         INFO: Begin assembly probing.
            INFO: Did not find the assembly in WinSxS.
            INFO: Attempt to probe manifest at C:\Windows\assembly\GAC_32\Microsoft.Windows.Common-Controls\6.0.0.0_en_6595b64144ccf1df\Microsoft.Windows.Common-Controls.DLL.
            INFO: Did not find manifest for culture en.
         INFO: End assembly probing.
      INFO: Resolving reference for culture Neutral.
         INFO: Applying Binding Policy.
            INFO: No publisher policy found.
            INFO: No binding policy redirect found.
         INFO: Begin assembly probing.
            INFO: Did not find the assembly in WinSxS.
            INFO: Attempt to probe manifest at C:\Windows\assembly\GAC_32\Microsoft.Windows.Common-Controls\6.0.0.0__6595b64144ccf1df\Microsoft.Windows.Common-Controls.DLL.
            INFO: Did not find manifest for culture Neutral.
         INFO: End assembly probing.
   INFO: Resolving reference for ProcessorArchitecture x86.
      INFO: Resolving reference for culture en-US.
         INFO: Applying Binding Policy.
            INFO: No publisher policy found.
            INFO: No binding policy redirect found.
         INFO: Begin assembly probing.
            INFO: Did not find the assembly in WinSxS.
            INFO: Attempt to probe manifest at C:\Windows\assembly\GAC_32\Microsoft.Windows.Common-Controls\6.0.0.0_en-US_6595b64144ccf1df\Microsoft.Windows.Common-Controls.DLL.
            INFO: Did not find manifest for culture en-US.
         INFO: End assembly probing.
      INFO: Resolving reference for culture en.
         INFO: Applying Binding Policy.
            INFO: No publisher policy found.
            INFO: No binding policy redirect found.
         INFO: Begin assembly probing.
            INFO: Did not find the assembly in WinSxS.
            INFO: Attempt to probe manifest at C:\Windows\assembly\GAC_32\Microsoft.Windows.Common-Controls\6.0.0.0_en_6595b64144ccf1df\Microsoft.Windows.Common-Controls.DLL.
            INFO: Did not find manifest for culture en.
         INFO: End assembly probing.
      INFO: Resolving reference for culture Neutral.
         INFO: Applying Binding Policy.
            INFO: No publisher policy found.
            INFO: No binding policy redirect found.
         INFO: Begin assembly probing.
            INFO: Did not find the assembly in WinSxS.
            INFO: Attempt to probe manifest at C:\Windows\assembly\GAC_32\Microsoft.Windows.Common-Controls\6.0.0.0__6595b64144ccf1df\Microsoft.Windows.Common-Controls.DLL.
            INFO: Attempt to probe manifest at C:\WinSCP\Microsoft.Windows.Common-Controls.DLL.
            INFO: Attempt to probe manifest at C:\WinSCP\Microsoft.Windows.Common-Controls.MANIFEST.
            INFO: Attempt to probe manifest at C:\WinSCP\Microsoft.Windows.Common-Controls\Microsoft.Windows.Common-Controls.DLL.
            INFO: Attempt to probe manifest at C:\WinSCP\Microsoft.Windows.Common-Controls\Microsoft.Windows.Common-Controls.MANIFEST.
            INFO: Did not find manifest for culture Neutral.
         INFO: End assembly probing.
   INFO: Resolving reference for ProcessorArchitecture MSIL.
      INFO: Resolving reference for culture en-US.
         INFO: Applying Binding Policy.
            INFO: No publisher policy found.
            INFO: No binding policy redirect found.
         INFO: Begin assembly probing.
            INFO: Did not find the assembly in WinSxS.
            INFO: Attempt to probe manifest at C:\Windows\assembly\GAC_MSIL\Microsoft.Windows.Common-Controls\6.0.0.0_en-US_6595b64144ccf1df\Microsoft.Windows.Common-Controls.DLL.
            INFO: Did not find manifest for culture en-US.
         INFO: End assembly probing.
      INFO: Resolving reference for culture en.
         INFO: Applying Binding Policy.
            INFO: No publisher policy found.
            INFO: No binding policy redirect found.
         INFO: Begin assembly probing.
            INFO: Did not find the assembly in WinSxS.
            INFO: Attempt to probe manifest at C:\Windows\assembly\GAC_MSIL\Microsoft.Windows.Common-Controls\6.0.0.0_en_6595b64144ccf1df\Microsoft.Windows.Common-Controls.DLL.
            INFO: Did not find manifest for culture en.
         INFO: End assembly probing.
      INFO: Resolving reference for culture Neutral.
         INFO: Applying Binding Policy.
            INFO: No publisher policy found.
            INFO: No binding policy redirect found.
         INFO: Begin assembly probing.
            INFO: Did not find the assembly in WinSxS.
            INFO: Attempt to probe manifest at C:\Windows\assembly\GAC_MSIL\Microsoft.Windows.Common-Controls\6.0.0.0__6595b64144ccf1df\Microsoft.Windows.Common-Controls.DLL.
            INFO: Did not find manifest for culture Neutral.
         INFO: End assembly probing.
   INFO: Resolving reference for ProcessorArchitecture Data.
      INFO: Resolving reference for culture en-US.
         INFO: Applying Binding Policy.
            INFO: No publisher policy found.
            INFO: No binding policy redirect found.
         INFO: Begin assembly probing.
            INFO: Did not find the assembly in WinSxS.
            INFO: Attempt to probe manifest at C:\Windows\assembly\GAC\Microsoft.Windows.Common-Controls\6.0.0.0_en-US_6595b64144ccf1df\Microsoft.Windows.Common-Controls.DLL.
            INFO: Did not find manifest for culture en-US.
         INFO: End assembly probing.
      INFO: Resolving reference for culture en.
         INFO: Applying Binding Policy.
            INFO: No publisher policy found.
            INFO: No binding policy redirect found.
         INFO: Begin assembly probing.
            INFO: Did not find the assembly in WinSxS.
            INFO: Attempt to probe manifest at C:\Windows\assembly\GAC\Microsoft.Windows.Common-Controls\6.0.0.0_en_6595b64144ccf1df\Microsoft.Windows.Common-Controls.DLL.
            INFO: Did not find manifest for culture en.
         INFO: End assembly probing.
      INFO: Resolving reference for culture Neutral.
         INFO: Applying Binding Policy.
            INFO: No publisher policy found.
            INFO: No binding policy redirect found.
         INFO: Begin assembly probing.
            INFO: Did not find the assembly in WinSxS.
            INFO: Attempt to probe manifest at C:\Windows\assembly\GAC\Microsoft.Windows.Common-Controls\6.0.0.0__6595b64144ccf1df\Microsoft.Windows.Common-Controls.DLL.
            INFO: Did not find manifest for culture Neutral.
         INFO: End assembly probing.
   ERROR: Cannot resolve reference Microsoft.Windows.Common-Controls,language="*",processorArchitecture="*",publicKeyToken="6595b64144ccf1df",type="win32",version="6.0.0.0".
ERROR: Activation Context generation failed.
End Activation Context Generation.
Guest

Server Core issues

First issue, I could not install WinSCP on Server core because the installer would not run.

2nd, I ended up downloading the .net & com library since all I'm doing is powershell anyway.

When I try to run it, I get this error:

Error: Exception calling "Open" with "1" argument(s): "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"

I think this is the same error I got when I was trying to run the installer as well. What is going on with this?

OS: Windows Server 2016 Server Core