By default .NET core collects telemetry when you use it. Telemetry data should be an opt-in process and not ON by default. How do you disable it?
The DOTNET_CLI_TELEMETRY_OPTOUT environment variable must be set to 1 or true.
In Windows you can do this by running in the command prompt:
You can check if the environment variables by running “set” in the command prompt.
In most situations after you (re)install Windows and the Intel Rapid Storage Technology (IRST) Driver the SSD cache volume will be found and used automatically as an Cache volume in a RAID 0 configuration.
What to do if you deleted the RAID volume or you bought a SSD card for a RAID 0 configuration?
First things first make BACKUPS of all your files. You may have to delete your volumes.
If you deleted the RAID volume IRST will not find the RAID config automatically. IRST can create them for you, so don’t try to create RAID volumes yourself in the Intel Rapid Storage Technology Option ROM settings. That doesn’t work!
Start with your BIOS settings. The SATA mode must be in RAID, make sure AHCI is not selected. In IRST Option ROM you should now see this:
Don’t create RAID Volumes here, continue installing Windows on the Non-RAID disk. After installing Windows install the IRST Driver. Restart and open IRST. You can now create the cache volume.
What if you can’t create the volume to select the SSD as cache disk?
You have to shrink the Volume where you installed Windows on in Disk Management with 200MB. After this the create cache volume becomes available and you create a RAID0 config with IRST. The end result should look like this:
Other resources: Up & Running has an good video on this
Some users have trouble signing in on WordPress using the Mozilla Firefox browser. They get the message: “Oops! That page can’t be found.” Or the login just doesn’t work.
A possible solution is a change in the security settings. Open the about:config page in Firefox and check the settings for:
If the value is 0 the login doesn’t work. Set this value to 1 or higher and the login works again.
If you try to import from disk with MySQL Workbench 8.0 the “Start import” button doesn’t fit on the laptop screen (1920×1080).
A workaround to make this work is to go to the tab “Import progress” and press “start import” from here.
GeoJSON is a popular file format to store the coordinates and properties of a map.
With QGIS you can create GeoJSON files from Shapefiles (in this tutorial QGIS 3.8 is used).
First add your Shapefile layer to the project in main menu => Layer => Add layer => Add vector layer. Make sure to specify the Coordinate Reference System (CRS) of the Shapefile while adding the shape.
Now you can export the shapefile to GeoJSON in the menu (right click on the layer and choose Export => Save Features As…)In the next screen make sure to choose the right CRS: EPSG:4326 – WGS 84. This CRS works also if you want to project your map in EPSG:3857 – WGS 84 / Pseudo-mercator.
Now you have a GeoJSON file to use in Google Maps or OpenStreetMap.
Check this question on Stackexchange to read more about the difference between EPSG 3857 and 4326 for GoogleMaps, OpenStreetMap and Leaflet.
The DevExpress ASP.NET AJAX Autocomplete was not working on the iPad or iPhone with Safari, Chrome and Firefox. After a lot of testing it turned out the CompletionInterval setting can not be set to “0”. It works fine with this setting in a desktop environment with all the browsers, but not on an iPad or smartphone.
Although SMTP on Windows Server 2012 is deprecated, it still works fine, but support is not great. We had some complaints that e-mails where not delivered in some occasions. Looking in the SMTP log files we found it used a different protocol: BDAT:
SMTPSVC1 – 25 BDAT – 17830+LAST 0 0 4 0 610 SMTP
BDAT is part of ESMTP and is involved in sending binary data. You can check on your server if this option is turned on by using telnet: ‘telnet localhost 25’ and than typing ‘ehlo’. If you see BINARYMIME and CHUNKING in the list it’s turned on.
To turn ESMTP off you have to install the IIS Metabase Explorer. This is part of the IIS6 Resource Kit. NOTE: you only need the IIS Metabases Explorer to change some parameters.
Open the Metabase Explorer and go to: LM\SmtpSvc\1, there you see the SmtpInboundCommandSupportOptions default value is set to: 7697601. By using this table you can calculate the new value by subtracting 2097152 (BINARYMIME) and 1048576 (CHUNKING) from 797601-2097152-1048576 = 4551873
You can see CHUNKING and BINARYMIME is not listed any longer:
Last thing is to change the value of SmtpOutboundCommandSupportOptions in LM\SmtpSvc from 7 to 5 to disable the BDAT command.
You can read more on this page.
I’m running a website on IIS8.5, but it gives me only a blank page and the following error in the IIS logs: status error 500 and sc-substatus 19
There is not much documentation on this error, the Microsoft website has a list with errors, with only the description: “Configuration data is invalid”. There is more detailed information here, but I didn’t get any Hresult codes.
After searching for clues, I finally found the solution: in IIS Manager, under the Server name → Feature delegation the IP Address and Domain Restrictions was set to readonly. This must be set to read/write in order to be able to get it working in the web.config. The same holds for the Handler Mappings in the web.config.
There will be some new posts about some typical Microsoft Windows situations. Where you think the solution should be simple, but it turns out it’s almost impossible.
Installing .NET Framework 4.5.2 on Windows 7
This should be simple, the latest Framework will show up on Windows Update for installation, but this gives an error:
Microsoft offers some solutions for this here. Luckily none of them works.
If you try to install .NET Framework with the offline installer you get a strange error:
Returning IDOK. INSTALLMESSAGE_ERROR [Overlapped I/O operation is in progress. ]
After trying so many things I wanted to give up. Than I found a small message on the Microsoft website from a guy named: RURajesh Upadhayay:
The fix of this issue is to rename c:\program data\microsoft\crypto\RSA\S-1-5-18 and try re-installation of .net again.
This was the solution found after many hours waisted…
On Windows Server 2012 the SMTP Server is deprecated, but you can still install it using the Add Roles and Features Wizard in the Server Manager.
Lately we received this error:
System.Net.Mail.SmtpException: Exceeded storage allocation. The server response was: 4.3.1 Session size exceeds fixed maximum session size
at System.Net.Mail.DataStopCommand.CheckResponse(SmtpStatusCode statusCode, String serverResponse)
at System.Net.Mail.DataStopCommand.Send(SmtpConnection conn)
at System.Net.Mail.SmtpConnection.OnClose(Object sender, EventArgs args)
at System.Net.Mail.SmtpClient.Send(MailMessage message)
It turned out the attachment size was to big for the SMTP Server. You can change these settings the same way as in Windows Server 2012. Use the Windows Server 2012 Search charm to find the IIS 6.0 Manager. On the tab “messages” you can change the Limit message size.