Error Occured while saving attendance to database Hanvon FACEID Manager

Today our HR department got this error when they started polling Attendance in Hanvon FaceID Manager Error Occurred while saving attendance to database Hanvon FACEID Manager To find out why really the Hanvon is spitting out this error and not saving the records, I have to look at the Windonw NT Logs. To look at Windows NT logs, start SQL Server Management Studio, connect to your local SQL Server, then go to Management > SQL Server Logs. Select the log that start with “the current” and click view log. ON the left side, there is bunch of software you can…

Read More

IMPORTANT UPDATE! You should update your Media Player Immediately

If your browser (esp Firefox) randomly redirects to some strange url and display this message “IMPORTANT UPDATE! You should update your Media Player Immediately”, it is likely either the website your accessing is not safe or you have a virus on your system that does the redirect. The redirect does not takes place to the same site or URL, it always goes to a different url. I have installed a number of anti viruses and anti malware software but they could not help, although some were better than others. Malewarebytetes that I previously relied on heaveily failed this time and…

Read More

Stimulsoft Report Multiple Queries with different Parameters

Lets say I have two queries in my stimulsoft (.mrt) report.

In Stimulsoft Report for this to work correct, Query1 which takes 3 arguments must come first than Query2, for the report to work correct. You can move Query (DataSource) up and own by selecting the query first and the click up and own arrow at the top. How to troubleshoot your Stimulsoft Report The most common scenario that you will have to troubleshoot is are parameters passed correctly the queries? To do that simply drag all parameters from the queries on to the report area, one in each…

Read More

It is an error to use a section registered as allowDefinition=’MachineToApplication’ beyond application level

Scott Michell wrote an excellent article about the above error explaining exactly why are you getting this error. Basically you are opening the parent folder of a project in Visual Studio and you get this error. Since web.config in this case is in sub folder, you get this error. A little Explanation There can be more than one web.conf files in your application. They can be all in root or in sub folders as in nested form. The root web.conf can contain almost all elements but that that are nested in sub folders may not contain certain elements. This error…

Read More

MySQL Database not staring on Mac (XAMPP)

When you start manager-osx and start all services (Apache, MySQL, ProFTPD), you might notice MySQL database fails to start. Here is how to fix it on Mac Go to spotlight in the top right corner, bring up Activity Monitor by typing “activity” Type SQL in the top right search box. It will show a process called “mysqld” Hightlight this process and click x icon to stop it. Restart mysql in manager-osx and it should start.

Read More

directory is already under version control SmartSVN

I was getting this error while adding my project in SmartSVN and I had no clue whatsoever *directory* is already under version control SmartSVN The reason I was getting this error was because I had select the root folder and the sub folder and choose to add the files recursively . That basically added the sub-folder two time, one time as part of recursion and a second time because it was explicated added. Simple solution is, select only the root folders and click add *recursively* or select all folder and choose to “Only Add Directory”.  The first solution worked better for me…

Read More

javascript changes does not take effect in asp.net

I have this problem where I changed javascript and when I looked at the generated code, the change would not appear! Where is the problem? 1. Empty cache and then refresh page should fix the problem. Or simply hit Ctrl+ Shift+R in FF or Ctrl+F5 in IE should updated the page with the latest server contents. 2. You are probably editing the wrong file. Can happen if the same project exists in two different location. Your editing in a wrong project and not seeing the results! 3. The IIS server is pointing to the wrong project. You recently or a…

Read More

specified cast is not valid linq

The error specified cast is not valid linq can come from the fact the column types do not match between the class and the name attribute of that class. Example : NorthWnd Database The territories table in NorthWnd database has three field TerritoryID nvarchar(20) TerritoryDescription nchar(50) RegionID int If you map this to LINQ using the following class mapping [Table(Name = “Territories”)] public class Territory { [Column] public int TerritoryID; # error is here. In DB this field is nvarchar [Column] public string TerritoryDescription; [Column] public int RegionID; } Change int TerritoryID to String will fix the problem.

Read More