I GOT IT!!! there is an error in the coding, here:
Code:
Dim NameSpc As String = _
            Reflection.Assembly.GetExecutingAssembly().GetName().Name.ToString()
this line does not return the namespace...it returns the assembly name... sometimes the assembly name and namespace are same, thats why, it works...

we have to set the namespace manually...or maybe by other way!