I never imaged that Android has blue screen of death until my son handed to me his LG G3 smartphone with a blue screen of death. And after several seconds, the blue screen disappeared and the phone went “dead” and would not respond to any buttons, including long-holding the power button. After I opened up the phone case, take out the battery, and put it back, I was able to turn the phone on, but immediately […]
Tips & Tricks
Recently I got a new Windows 10 computer at work and tried to open an Visual Studio 2010 project, and then I got a web server error as follows: Configuring Web http://localhost:64886/ for ASP.NET 4.5 failed. You must manually configure this site for ASP.NET 4.5 in order for the site to run correctly. ASP.NET 4.0 has not been registered on the Web server. You need to manually configure your Web server for ASP.NET 4.0 in […]
Windows 10 gave me a challenge this morning. When I turned on my computer and went to File Explorer to access a downloaded file, File Explorer hang for a while then just crashed. Maybe it’s just an accident, so I tried again, and it crashed again the same way. Hmm, one more try…crashed. Well, it’s Windows, rebooting is a magic fix for most issues, so I reboot my computer, guess what, it didn’t fix the […]
Recently I developed a WCF Web service and deployed it to a server with SSL, however, when clients try to add the service reference in their Visual Studio IDE, the endpoint URL address generated in the web.config or app.config file points to a wrong URL address: it points to the internal machine name instead of the production URL address. Because our SSL certificate is registered with the production URL, this wrong endpoint URL address causes the security […]
By default, Windows 10 lists all user accounts on the Welcome screen which exposes all usernames, and it is not considered secure. Why it is not secure this way? Because malicious user can create a fake login screen looks like the Windows login screen, and then capture user’s credentials when a legitimate user tries to log in using the fake login screen. You can prevent this from happening by enabling a secure feature in Windows to require user […]
This SharePoint query error kept me busy for a while because the error message is very generic and useless, so I hope my experience can help someone in the future. When I ran my ASP.NET application to query a specific resource item from a SharePoint list the other day, I got this error message: Cannot complete this action. Please try again. You can see that this error is very generic and it didn’t provide much […]
Recently a support ticket was sent to me regarding an error customers get while trying to download a file with Google Chrome browser, and the error is ERR_RESPONSE_HEADERS_MULTIPLE_CONTENT_DISPOSITION as shown below: And this error only happens in Google Chrome browser, users of IE, FireFox, and Safari all can successfully download the file. After some further investigation, it turned out that the root cause was that the filename of the uploaded file contains a comma “,”. […]
When you develop ASP.net applications that interact with SharePoint lists, you may come to a point that you need to retrieve value from each column of a list by referencing the name of the list coluumn, however, you may end up with an error saying the column does no exist. This is because the name you use to create a column in SharePoint may not be the same as the one stored in SharePoint (which is […]
Swagbucks is an online rewards and cash back program that allows users to earn points (called SB) by doing activities such as watching videos, playing games, searching the web, shopping online stores, answering surveys, and so on. Swagbucks is a legitimate business and it is definitely worth your time, and let me show you why. Disclaimer: Swagbucks is a legitimate business and rewards you with good amount of gift cards or cash, but do not […]
If you work on ASP.NET DropDownList, most likely you will encounter a situation when you need to pre-select an item in the DropDownList. You might see people using the following way to do that after the DropDownList is bound: this.ddlSchools.SelectedValue = oSchool.AdminID This works very well if you are sure that the value you assign to the DropDownList actually is one of the DropDownList items, otherwise, you will get an ArgumentOutOfRangeException. So the safe way to […]