I am hosting a web application in azure virtual machine. I am trying to connect to another VM hosting SQL server through this web app. But I am getting an application error at login page itself "Object reference not set to an instance of an object".
The error is at the user authentication check method. But the username/passwrd I am using are correct.
Both the VMs are in different private networks.
All TCP and firewall settings are properly done(verified many times).
Both the VMs are in different private networks.
All TCP and firewall settings are properly done(verified many times).