Hi,
In my ASP.NET application I have two major componets ASP.NET pages and WEB Service.
While starting service in debug mode I can able to see Registry.LocalMachine.OpenSubKey(path, wrriteAccess) return correct registry values.
But If I start the debug application of ASP.NET pages while reading Registry.LocalMachine.OpenSubKey(path, wrriteAccess) returns null everytime. Both Registry reading code is there in common. Refered as a dll in ASP.net pages.
I have checked all the applications in x64 mode. But I didn't know why this returns null through ASP.NET pages returns this value Registry.LocalMachine.OpenSubKey(path, wrriteAccess) null value. Kindly let me know your thoughts on this.
Thanks.

Answers
Know the answer? Post it. Somebody with the same question will find it here.