windows-server-2016

A fatal error occurred while creating a TLS client credential. The internal error state is 10013

独自空忆成欢 提交于 2020-05-25 09:01:29
问题 Recently deployed a Windows 2016 Standard Server, with Active Directory and Exchange 2016. We have disabled SSL 1.0, 2.0 and 3.0 for both Server and Client, and have disabled TLS 1.0 and TLS 1.1. We are repeatedly getting the following entry in our system log. What is causing this, and how can I fix it. 回答1: Basically we had to enable TLS 1.2 for .NET 4.x . Making this registry changed worked for me, and stopped the event log filling up with the Schannel error. More information on the answer

Can I call Channel.invoke_shell() without calling Channel.get_pty() beforehand, when NOT using Channel.exec_command()

℡╲_俬逩灬. 提交于 2020-05-08 17:09:28
问题 I have read Paramiko docs multiple times. Still I am not able to find an answer for question I had: Why can't I call channel.invoke_shell() without calling channel.get_pty() beforehand? – Here is my understanding from the docs – it is not necessary to call channel.get_pty() if I want to use channel.exec_command() . But what if I would like to use an interactive shell with channel.send() or channel.recv() . Is it mandatory? Here is my try: client = paramiko.SSHClient() # Set SSH key parameters

Can I call Channel.invoke_shell() without calling Channel.get_pty() beforehand, when NOT using Channel.exec_command()

核能气质少年 提交于 2020-05-08 17:01:07
问题 I have read Paramiko docs multiple times. Still I am not able to find an answer for question I had: Why can't I call channel.invoke_shell() without calling channel.get_pty() beforehand? – Here is my understanding from the docs – it is not necessary to call channel.get_pty() if I want to use channel.exec_command() . But what if I would like to use an interactive shell with channel.send() or channel.recv() . Is it mandatory? Here is my try: client = paramiko.SSHClient() # Set SSH key parameters

How do I access Windows eventlog of a Docker container

天涯浪子 提交于 2020-03-17 06:47:12
问题 How do I access the Windows Event Log of a Microsoft Docker container from the host? I have a docker container under Windows Server 2016. The container is based on image: microsoft/iis I can get the ip address of the container with: docker inspect -f "{{ .NetworkSettings.Networks.nat.IPAddress }}" my-running-site How can I connect to it via the Event Viewer on the windows host? 回答1: Create a powershell session for the container docker exec -it <container_id> powershell Then from the container

Cannot load c:/php/php5apache2_4.dll into server: The specified module could not be found

被刻印的时光 ゝ 提交于 2020-02-20 09:39:28
问题 When trying to use PHP 5.6.30 with Apache 2.4 there seems to be a somewhat well-known issue (outside of using Docker) but there does not seem to be any real solution for fixing the issue. I am getting the following error: httpd.exe: Syntax error on line 534 of C:/Apache24/conf/httpd.conf: Cannot load c:/php/php5apache2_4.dll into server: The specified module could not be found. Examining the directory of C:\php (inside the Docker container) I see the DLL is clearly there 03/09/2017 04:34 PM

Cannot load c:/php/php5apache2_4.dll into server: The specified module could not be found

↘锁芯ラ 提交于 2020-02-20 09:39:10
问题 When trying to use PHP 5.6.30 with Apache 2.4 there seems to be a somewhat well-known issue (outside of using Docker) but there does not seem to be any real solution for fixing the issue. I am getting the following error: httpd.exe: Syntax error on line 534 of C:/Apache24/conf/httpd.conf: Cannot load c:/php/php5apache2_4.dll into server: The specified module could not be found. Examining the directory of C:\php (inside the Docker container) I see the DLL is clearly there 03/09/2017 04:34 PM

SQL / Windows OS releasing unused space

一曲冷凌霜 提交于 2020-01-30 12:27:05
问题 I have recently done some archiving of my data, and performed the following: I had a database table that had over 33 million records, many of which were duplicates. I backed up the table and inserted the unique data into a new table, then renamed/swapped the table names, this achieved what I needed. Now however I am left with two tables... Table1 (good/live table) - 10 million records Table1_Backup (backup table) - 33 million records After doing this my SQL mdf/data file has rose to 319.7 GB,

WIX Installer: Prevent installation on Windows Server 2012 R2

五迷三道 提交于 2020-01-27 04:28:19
问题 I have a WIX project that must only be installed on Windows Server 2016 (or newer). Looking at Microsoft documentation, VersionNT for: Windows Server 2016 is 603, Windows Server 2012 is 602. The VersionNT for Windows Server 2012R2 has never been mentioned. When I use below line of code: <Condition Message="!(loc.RequireServer2016)"><![CDATA[INSTALLED OR (VersionNT >= 603)]]></Condition> it still lets me install on Windows Server 2012R2. How can I limit the installation of my software to only

vcruntime140.dll 14.0 not compatible with PHP build

試著忘記壹切 提交于 2020-01-15 03:18:07
问题 I have downloaded PHP 7.4.1 NTS vc15 x86 on a windows server 2016 machine. I also downloaded and installed vc_redist.x86.exe . When I try and run php-cgi from the command prompt I get the following error: PHP Warning: 'vcruntime140.dll' 14.0 is not compatible with this PHP build linked with 14.16 in Unknown on line 0 Any ideas on how to resolve this? I guess I could install an older version of PHP from the archives but this doesn't really address the problem. 回答1: Turns out PHP 7.4.x requires

Appcrash KERNELBASE.dll error when I try to use Microsoft Office in Docker Container

纵然是瞬间 提交于 2020-01-13 05:19:46
问题 I’m building a Docker Windows container with Microsoft Office 2013 using following Dockerfile: FROM microsoft/windowsservercore ## Setup package management. ENV chocolateyUseWindowsCompression=false RUN powershell -Command "iwr https://chocolatey.org/install.ps1 -UseBasicParsing | iex; Install-PackageProvider -Name chocolatey -Force" ## Installing office RUN powershell choco install officeproplus2013 --version 15.0.4827 -y ENTRYPOINT powershell When I try to create Microsoft Word COM object