Tuesday, 27 February 2024

The program '[10812] UserService.exe' has exited with code 2147516566 (0x80008096).

Solution:

https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/runtime-aspnetcore-6.0.27-windows-x64-installer?cid=getdotnetcore

Thursday, 19 December 2019

Update datetime field by blank in datatable

      Catalogcl oCatalogcl = new Catalogcl();
      DataTable dtModetare = oCatalogcl.Moderate();
      dtModetare.Rows[0]["dt_moderate"] = DBNull.Value;
      DataTable dt = dtModetare;

Saturday, 2 November 2019

Verbatim String

A verbatim string is one that does not need to be escaped, like a filename:
string myFileName = "C:\\myfolder\\myfile.txt";
would be
string myFileName = @"C:\myfolder\myfile.txt";
The @ symbol means to read that string literally, and don't interpret control characters otherwise.

Regular Expression

Friday, 12 July 2019

Enable/Disable SSL in IIS

Can use Nartac's IIS Crypto tool
Use url https://www.nartac.com/Products/IISCrypto to download Crypto tool.

https://www.sslshopper.com/article-how-to-disable-ssl-2.0-in-iis-7.html
https://www.digicert.com/ssl-support/iis-disabling-ssl-v3.htm