Tuesday, 3 November 2009

Finding Long Lost emails super fast with Outlook Plug-in Xobni

Have you ever had trouble finding a particular email with standard search from Outlook?


I had until I found this great tool. It basically builds a cube with all the information from outlook, and makes it ultra fast to find all emails from a contact, a particular email from some contact, and the feature that I like most to find a specific attachment you remember someone sent you.

This plug-in is excelent, although when you open the outlook it can be a little slow indexing all the information from your email.

The only real drawback I could find is that it doen't work in Windows 7 yet.

The great thing about it is that is free! You can download it here
And you can know more about it here

There is also a paid version with more features such as unlimited pst search, but for me this works just fine

Monday, 2 November 2009

Web.Config: Using a proxy with bypass list

Sometimes when we are developing some application, we do it in a particular location where there's a proxy to access internet.

To build some websites with the capability to integrate information from internet sources we defined the proxy in the application's web.config like this

<configuration>
 <system.net>
  <defaultProxy>
   <proxy proxyaddress ="http://localproxy:8080" bypassonlocal="True" usesystemdefault="False" />
   <bypasslist>
   <add address="somelocaladdress.com" />
   <add address="someotherlocaladdress.com" />
   </bypasslist>
  </defaultProxy>
 </system.net>
</configuration>

Producing a timestamp in a batch file log

Every now and then is necessary to log some command line output. If you need to recursively do it every in a automatic way it's good that you timestamp the log file with the current date.

So to do it use a batch file with the following instructions


set startDate=%date%
set startTime=%time%

set sdy=%startDate:~10%
set /a sdm=1%startDate:~4,2% - 100
set /a sdd=1%startDate:~7,2% - 100
set /a sth=%startTime:~0,2%
set /a stm=1%startTime:~3,2% - 100
set /a sts=1%startTime:~6,2% - 100

somecommand > logfilename%sdy%%sdm%%sdd%%sth%%stm%.txt

Sunday, 1 November 2009

Event Id 59: Generate Activation Context failed for <...> Reference error message:Access is denied

For some reason, I came across this error on a sql server machine.

Generate Activation Context failed for C:\Program Files\Microsoft SQL Server\MSSQL.2\OLAP\bin\msmdctr90.DLL. Reference error message: Access is denied.

To solve this problem I had to give the "Performance Log Users" List Folder Contents permissions

c:\Program Files\Microsoft SQL Server\MSSQL.2\OLAP\bin


Credits to this website more specifically Max Ustinov

Quickly view free space on your computer: Space Monger

Every now and then my hard drive starts to be almost full and for some reason I long forgot or for some unneeded files that lays around.

There's was a time where I checked folder by folder for those files that were eating up free space, the I found out this free tool that quickly displays what and how much space is being used



Download here

Theres is also a more recent but paid version here