Shrink database log file
— Shrink the Transaction Log USE DatabaseName GO DBCC SHRINKFILE(, 1) BACKUP LOG WITH TRUNCATE_ONLY DBCC SHRINKFILE(, 1) GO
[Error] Please install NETCFv35.Messages.EN.wm.cab or NETCFv35.Messages.FR.wm.cab
Damn… I’ve taken some time to find a correct way to handle this… Sometimes, when debugging windows mobile applications, i got the following message : “An error message is available for this exception but cannot be displayed because these messages are optional and are not currently installed on this device. Please install ‘NETCFv35.Messages.EN.wm.cab’ for Windows […]
[Code Sample] GetSoftwareRoot without knowing 64 or 32bit mode
In the case where you explicitly need to read a value written by a 32 bit program in a 64 bit program, it’s OK to hard code it. Simply because there really is no other option. I would of course abstract it out to a helper function. For example : private static RegistryKey GetSoftwareRoot() { […]
[HowTo] Can’t save table modifications in ms sql manager : Saving changes is not permitted.
In mssql server manager, when trying to update tables design, you get this message : Saving changes is not permitted. The changes you have made require the following tables to be dropper and re-created. Here is the solution… uncheck the “prevent saving changes that require table re-creation” checkbox as follow :
Cablage boitier TF2007
Autre lien
Clean up Winsxs on Windows 7/2008 R2 after SP1 install
Run (as administrator) the command prompt and type : dism /online /cleanup-image /spsuperseded The worst offender was the Winsxs directory. To read more about what Winsxs actually does, go here. More : @Happy SysAdmin @Alan’s sysadmin Blog
[.NET] Use IIS Express instead ASP.NET Development Server (Cassini)
Tutorial in French Download link
How to upload a .SQL file to a Hoster and Execute it to Deploy a SQL Database
How to upload a .SQL file to a Hoster and Execute it to Deploy a SQL Database @ ScottGU BLOG
Uninstall the Vmware tools when already upgraded to workstation 8
Unable to upgrade existing VMware Tools
Online Barcode Generator
Datamatrix (2D) Code39/128 (1D)