i am getting the change to answer my own question
well the problem was related to collation type of databases,
in my proc i was useing temp tables by "create table #temptable" ,
now by some searching i found that #temptable is having the collation type of temp database which is different from my database,
after changing the script to "select * into #temptable" ,I got that now #temptable is having same the collation as of my database, so that's how issue get resolved.
not sure this is the only reason behind the problem but it resolve my issue.