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
Choosing the "Allow access to Azure services" option will allow the app service to connect to the MySQL server. On the MySQL server blade, under the Settings heading, click Connection Security to open the Connection Security blade for Azure Database for MySQL. Select ON in Allow access to Azure services, then Save.
Connect to the instance of SQL Server or SQL Azure to which you want to link the Access tables. In Access Metadata Explorer, select the tables that you want to link. Right-click Tables, and then select Link.
Open Database Connectivity (ODBC) is a protocol that you use to connect an Access database to an external data source such as Microsoft SQL Server.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With