Locally the project works perfectly. It is executing and there are proper entries in database. But when I am deploying it to cloud at staging it is giving me this error as object reference not set to an instance. My project requires 2 instances of each web and worker role but since I have a limited edition to free instances I am using only 2. one each. Can that be a problem ? I am using SDK 1.8 It is ASP.Net project.
Can anyone suggest me how to resolve this issue ?
I haved same error today, after upgrading Azure SDK to version 2.5 I'm add configuration diagnostics to each role in service and the error disappeared