when connecting to Azure SQL DB you get the below error:
Resource ID : 2. The session limit for the database is 640 and has been reached. See
'http://go.microsoft.com/fwlink/?LinkId=267637' for assistance.
More information about error: Error 10928: Resource ID: %d
the mitigation for this issue is to make sure the application create the connection with the user database instead of the master database.
you may check session limit for your current service tier in the docs page:
Resource limits for Single database using DTU model
Resource limits for Single database using vCore model
Resource limits for Elastic pool database using DTU model
Resource limits for Elastic pool database using vCore model
you will find that 640 limit is not listed in any of the above pages.
the 640 is the session limit for the master database of your Azure SQL Server.
generally speaking, no connection should be created with the master database as in master nothing (almost) can be done.
also cross database queries are not supported for Azure SQL DB.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.