Ok not sure what to enter in the subject line so apologies if it stands unclear.
I created a simple web app using MS Access 2013. It simply had one table with sample data in it. The I launched it to my share point. Before we go ahead, I would like to tell you that I am using Office 365 enterprise version where we need to admin everything like Lync/SharePoint/Exchange etc.
So as per Microsoft blogs and articles and discussions all over, and even the following screenshot suggests that the data stored in the Office 365 is stored in a SQL Azure database for office 2013 web app.
So as the next step, the instructions over web says that if we choose "From Any Location" and enable "Read Write Connection", it should allow you to access the data from any window like SQL Server Management Window.
Ok, my credential looks like this:
Now, when I go to SQL Server Management Studio and use the above credential, and try to login, I get the following error:
I am assuming that there is some setting in our admin page I need to change which can allow me to connect. Any help? I think it seems pretty straight forward to connect it but it is not connecting.
Any help?
Do we have to fix anything like BCS? Please help.
Edit: I have already got two downvotes so please note that I have tried reading more than 50 different web pages discussing this and none of it said it can be problem at all. Whatever solution they could offer, I have tried it. Why downvote without commenting? For fun eh?
Thanks, Vikas B
I am adding this answer in detail because it was really something very easy, yet very difficult to find. So it may help others as well.
While working with Access Web Apps, the data is stored in SQL Azure server, since there is no SQL Azure subscription along with Office 365 Subscription.
The outcome is, that by default, you have set the Connect to Database to "". In such a case, you will need to provide the database name explicitly because you don't have the access to point your request to default database.
Please see the following screenshot,
You will need to enter the database name here, if you don't then the firewall rule will come into picture and your request will be rejected.
Simple, yet strong.
Thanks guys to help me resolve this.
EDIT: If you are still unable to connect, please make sure that you have the latest ODBC driver for connecting to SQL Server 2012. You can download from the Microsoft here:
Microsoft Link for downloading ODBC Driver
Thanks, Vikas
You are connecting to an Azure DB
There seems to be a major disconnect here. Your DB is on the server under window.net. *Have you logged on to the SQL Azure Portal like the instructions says? *
How can you set up an Azure DB?
Watch this video: http://www.windowsazure.com/en-us/manage/services/sql-databases/
How to Connect using SSMS
This page: http://www.windowsazure.com/en-us/manage/services/sql-databases/how-to-manage-a-sqldb/ tells you exactly what you need to do (which is exactly what your error message is telling you)
Step 2: Connect to SQL Database
In case you need a ODBC connection, run the ODBC administrator manually, create e.g. a new user data source with SQL Server 11 - there you can specify the default database and then connect to the protected Azure instance for your Access Web App.
Just to be clear and provide some searchable text for this problem, Vikas has nailed this: "Cannot open server ... requested by the login. Client with IP address ... is not allowed to access the server. To enable access, use the Windows Azure Management Portal or run sp_set_firewall_rule on the master database to create a firewall rule for this IP address or address range. It may take up to five minutes for this change to take effect" ... (Microsoft SQL Server, Error: 40615)
For those that think an Azure login is required.. there is none, when you use MS Acces to create a web app it imports data from the sources you specify but it then creates a new database on the azure platform and exports the data to that database. So the database cannot be managed through the azure portal (even when if the original data source was an Azure database!). A note of caution: The database structure created is pretty complex with lots of tables devoted to integrating with sharepoint/web app requirements etc. Messing around with the tables too much is inevitably going to break something!
Also worthy of note, using SQL 11 driver you can create ODBC source but not with SQL Native driver as you cannot specify database name until you have logged in to server. The later versions allow you to move to specifying database before connecting (although you may have to enter the password AFTER changing the database name from "default". Or make your own from script:
On connect server dialog at Sql Server Management Studio select options and insert the name of database that you want to connect
For those still having the problem, see my blog post: https://smindreau.wordpress.com/2014/04/29/access-web-app-2013-client-with-ip-address-is-not-allowed-access-to-the-server/
Key to the solution is ticking the location from which you want to connect in the Access File pane.