Thanks a lot for all the responses
The problem is with internet explorer running in protected mode. Internet explorer running in protected mode restricts add on's writing files to the disk.
One more change I did to my config is to add the following line to Assembly.cs file
[assembly: log4net.Config.XmlConfigurator(ConfigFile = "C:\\Program
Files\\Temp\\app.config", Watch = true)]