windows-server-2012-r2

client and server cannot communicate, because they do not possess a common algorithm - SSLStream

本小妞迷上赌 提交于 2019-12-08 17:09:33
There are lot of similar questions already answered and none of the answers help my current scenario. In the windows service we have TCPL SSL stream and client connecting to the stream. I have created a .NET Client and am able to access the server successfully with Strict TLS 1.2 using IIS Crypto. We are trying to access the server using Lantronix xport Pro and the below line throws exception stream.AuthenticateAsServer(serverCertificate, false, SslProtocols.Ssl3| SslProtocols.Tls | SslProtocols.Tls11 | SslProtocols.Tls12, True); Exception happens only if strict TLS 1.2 is enabled. If we have

InitializeSecurityContext (Schannel) not changing BufferType

ぃ、小莉子 提交于 2019-12-08 11:58:56
问题 So i have following code: SecBuffer input_buffers[2]; SecBuffer output_buffers[2]; ULONG context_attributes; /* we need to try and perform the second (next) step of the init */ input_buffers[0].cbBuffer = tls_io_instance->received_byte_count; input_buffers[0].BufferType = SECBUFFER_TOKEN; input_buffers[0].pvBuffer = (void*)tls_io_instance->received_bytes; input_buffers[1].cbBuffer = 0; input_buffers[1].BufferType = SECBUFFER_EMPTY; input_buffers[1].pvBuffer = 0; SecBufferDesc input_buffers

IE11 document mode 7 issue on a website on one server but not so on another server

不想你离开。 提交于 2019-12-08 08:18:52
问题 On IE 11 , when we browse through our website that is deployed on Windows Server 2012 ( not R2), the website correctly displays its home page (as shown in figure 1 below). But if the exact same website is deployed on another server that is windows Sever 2012 R2 , and browse through it on IE11, it displays completely messed up as shown in figure 2 below. If we use IE Developer tool ( F12 ) on second website, we get the following error on the console tab of the tool, but there is no such error

client and server cannot communicate, because they do not possess a common algorithm - SSLStream

拜拜、爱过 提交于 2019-12-08 07:59:41
问题 There are lot of similar questions already answered and none of the answers help my current scenario. In the windows service we have TCPL SSL stream and client connecting to the stream. I have created a .NET Client and am able to access the server successfully with Strict TLS 1.2 using IIS Crypto. We are trying to access the server using Lantronix xport Pro and the below line throws exception stream.AuthenticateAsServer(serverCertificate, false, SslProtocols.Ssl3| SslProtocols.Tls |

IIS & service-based generation of web images - GDI, GDI+ or Direct2D?

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-08 06:19:36
问题 It is May 2017. My boss has asked me to produce some code to make some custom web images on our website based on text that the user enters into their browser. The Server environment is Windows 2012 running IIS, and I am familiar with C#. From what I read I should be able to use GDI+ to create images, draw smooth text into them etc. However, one of my colleagues suggested GDI+ may not work on Windows Server, and that GDI+ is based on older GDI which is 32-bit and will therefore be scrapped one

Word Automation with ASP.NET

倖福魔咒の 提交于 2019-12-08 04:03:29
问题 I have an old application that uses Microsoft Word automation in asp.net and I need to install it on a Windows Server 2012 R2 x64 with Office 2013 Standard x86. I know that Office automation in server technologies like IIS should be avoided but I don't have the green light to rewrite the application at the moment, so I have to take it as-is. Initially I started the application and it gave this error: Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000

Do VB6 apps run in Azure RemoteApp?

大憨熊 提交于 2019-12-07 22:56:52
问题 I suppose this is more of a question of whether the VB6 Runtime runs on Windows Server 2012 R2. I was thinking about Azure app migration scenarios, and Azure RemoteApp could be a great way to allow an enterprise to migrate to the cloud and Windows 10, while still supporting their legacy LOB applications; such as those written in VB6. I wasn't able to find any information in the Azure documentation specifically on this, so I thought I'd ask it here. Does anyone know if a VB6 app can run in

IIS & service-based generation of web images - GDI, GDI+ or Direct2D?

旧时模样 提交于 2019-12-07 09:51:36
It is May 2017. My boss has asked me to produce some code to make some custom web images on our website based on text that the user enters into their browser. The Server environment is Windows 2012 running IIS, and I am familiar with C#. From what I read I should be able to use GDI+ to create images, draw smooth text into them etc. However, one of my colleagues suggested GDI+ may not work on Windows Server, and that GDI+ is based on older GDI which is 32-bit and will therefore be scrapped one day soon, and that I should use DirectX instead. I feel that to introduce another layer would make

System.Speech.Synthesis hangs with high CPU on 2012 R2

耗尽温柔 提交于 2019-12-06 17:11:03
问题 I have an asp.net MVC application that has a controller action that takes a string as input and sends a response wav file of the synthesized speech. Here is a simplified example: public async Task<ActionResult> Speak(string text) { Task<FileContentResult> task = Task.Run(() => { using (var synth = new System.Speech.Synthesis.SpeechSynthesizer()) using (var stream = new MemoryStream()) { synth.SetOutputToWaveStream(stream); synth.Speak(text); var bytes = stream.GetBuffer(); return File(bytes,

Export Certificate with private key including all certificates in path using powershell

浪子不回头ぞ 提交于 2019-12-06 02:35:05
问题 I am working on power shell script to export certificate with private key which also includes all the certificates in the path. I wrote a script for that, it is not including the certificates in the path or the root certificate. Below is script. Kindly suggest me if there is any changes to make in my script. Thanks in Advance. $Password="@de08nt2128"; #password to access certificate after expting $CertName="WMSvc-WIN-9KC7DG31JBV"; # name of the certificate to export $RootCertName="WMSvc-WIN