Skip to content
Background The target computer system is outdated, running Windows Server 2003 (which is essentially Windows XP), and the latest framework it can support is .NET Framework 4.0.3. The goal is to create a headless application that executes automatically upon startup and provides simple file-based outputs, allowing easy access for other legacy programming languages. Prerequisites You need to install the following NuGet packages in Visual Studio. The choice of packages may depend on your specific needs. (For details on how to install NuGet packages, please refer to online documentation.) CommandLineParser [v2.9.1] NLog [v5.4.0] Dapper [v1.50.2] DataBooster.SqlServer [v1.8.4] Additionally, since we want... To read more, click hereWhen you encounter a black screen while attempting to switch to Desktop Mode on your Steam Deck, it can be frustrating. However, there is a simple solution to help resolve this issue. Here is a step-by-step guide to solve the problem: Solution Switch Accounts: First, log in to a new Steam account through the game interface. Use this new account to switch to Desktop Mode. If the switch is successful, delete all files (excluding folders) located at Home/.local/share/kscreen and Home/.local/share/kscreen/outputs. For safety, you may choose to cut and back up these files to another location before deleting them from the... To read more, click herelayout: post title: Mysterious 403.3 Authentication Error on Windows IIS 8 Website date: 2021-09-15 11:49 +8 description: Adjusting folder permissions on Windows. toc: false share: true comments: true tags: IIS Windows Note This article provides a solution for Windows IIS 8 and later versions. Problem Check Create a new website and create a simple helloWorld.html file. If it's in a subdirectory, remember to convert it to a "Web Application." Grant the folder permissions to "Everyone" with "Full Control." If this solves the problem, then it is confirmed to be a permissions issue. Main Solution In wwwroot or the root directory... To read more, click herelayout: post title: Using Google Maps Javascript to Import KML Files and Automatically Draw Maps date: 2021-08-24 17:41 +8 description: How to use KmlLayer to present data without manually reading it, and potential issues you may encounter. toc: false share: true comments: true tags: GoogleMaps Javascript Development Code Potential Issues Line thickness differs from what you see on Google My Maps or Google Earth! Why is it so thick? You need to manually add <width>0.001</width> for each <LineStyle></LineStyle> in the KML file. 0.001 can be changed to your desired value. Tip: Find and replace </LineStyle> with <width>0.001</width></LineStyle> Error happened.layout: post title: Jekyll tips date: 2021-08-21 17:41 +8 description: Various personal issues with Jekyll toc: false share: true comments: true tags: Jekyll Development Compilation Issues ffi-1.11.1-x64-mingw32 requires ruby version < 2.7.dev, >= 2.2, which is incompatible with the current version, ruby 2.7.4p191 In 2019, I used Ruby 2.5, and in 2021, I switched to another computer and started using Ruby 2.7.4. As a result, the original project failed to deploy with bundle exec jekyll serve. Solution: Run bundle update to see if it resolves the issue. Error happened.