I have already checked Host :: Module definitions in which under Edit Module Definition section of every module the Source of every module is displaying the path starting with "NewAdminDirectory/" which is correct as i have changed the "Admin " directory name.
Ln:880: AddModuleMessage("LoginFailed", ModuleMessageType.RedWarning, True)
The Exception it throws is: The file '/MyDirectory/admin/skins/ModuleMessage.ascx' does not exist.
As you can see it is still picking up the old name of "Admin" directory which i have changed not only in code but in DB also the table name is "ModuleControls" and the column name is "ControlSrc"
The path for ModuleMessage.ascx is still picked up as '/MyDirectory/admin/skins/ModuleMessage.ascx'.
I hope this will help you in understanding my actual problem more clearly.
As i had mentioned earlier stating about wrong login,the line of code in file "Login.ascx.vb" under the directory structure "NewAdminDirectory\Authentication\" which throws HttpException is: