Friday, January 21, 2011

Some of my fav quotes

A lot of these i picked shamelessly from the fb status updates of my dear friends, some even from some e-mail siignatures. :)

Marriage

A woman has the last word in any argument.
Anything a man says after that is the beginning of a new argument. :)

Life and success.

O LORD ! Don't make me among the TALENTED ones,
but make me among the BLESSED ones.
Because I have seen many TALENTED ones SERVING The BLESSED ones. ;)

"Only those who have the patience to do simple things perfectly will acquire the skill to do difficult things easily"


A human mind is a wandering mind, and a wandering mind is an unhappy mind. The ability to think about what is not happening is a cognitive achievement that comes at an emotional cost."

Friday, April 4, 2008

MapiExceptionLogonFailed: Unable to make connection to the server. (hr=0x80040111, ec=1010)

OK, when i first hit this, It was really random in nature. At times on and off and then i saw a pattern with this: It would happen with alternate runs or attempts.. The main cause of this ( Esp if you see LIDs like this:
Lid: 23065 EcDoConnectEx called [length=162]
Lid: 17913 EcDoConnectEx returned [ec=0x3F2][length=56][latency=34]
Lid: 56945
Lid: 23065 EcDoConnectEx called [length=162]
Lid: 17913 EcDoConnectEx returned [ec=0x3F2][length=56][latency=3] ) Is that internally Microsoft Exchange Store is caching the information about various attributes of your mailbox e.g. login information or your mailbox database and by repeatedly re-creating and deleting the user time and again you are increasing the probability of hitting it. This might be just one of the reasons why we hit this exception but it certainly fixed my code. So if possible, try creating users only in the beginning and then use them throughout or create them with random names. Restarting MS Exchange IS ( Information store ) might also help.

Saturday, March 22, 2008

Useful tip.

Being a long time Linux user, i have always been a commandline fan and i find this right click option really useful where you can right click any folder and say give me a command prompt here and it does :)

Open Windows Explorer
Choose Tools → Folder Options...
Switch to the File Types tab
Select Folder from the list and press the Advanced button.
Choose New
Give it a nice name like "Command Prompt Here" and the application c:\windows\system32\cmd.exe /K cd "%1"
OK, OK and OK to save it.

There are other ways to do this from regedit but this way is less risky. If you also like command line then trust me you guys are going to ABSOLUTELY LOVE the new Windows powershell ! I recently tried the beta and It's AMAZZZZINNNING ! more on that later.

Friday, August 3, 2007

Exchange error (hr=0x80040115, ec=-2147221227)

I am posting this here because when i got this error. I opened MSN live and started searching for this. I couldn't find the solution and after debugging thru the code and with the help of a senior collegue when i finally was able find the solution i thought i will post it as a way of giving back !
So If you are hitting "Microsoft.Mapi.MapiExceptionNetworkError: MapiExceptionNetworkError: Unable to make connection to the server. (hr=0x80040115, ec=-2147221227)" read on.
You can hit it either through your code when you try to open a mailbox session using MAPI. OR using OWA, or even using send/recv of outlook. I was hitting it from code.
First thing, check that your Database i mounted, You can logon to the exchange admin console, or go to Powershell prompt and give "get-mailboxdatabase | fl Stat*"
Make sure the status is Mounted.
Next check your Microsoft Exchange Information Store service. Better yet, restart that and your Mailbox Submission.
The solution i think worked for me is purely my case. yours could be completely different.
If this doesnt work for you blog me and we can look at it :)

Monday, April 23, 2007

My first post

I have never been a blogger/chat kinda person but i guess i have to get started .. pressure of modern day internetters :)