Solved

Azure SQL connection through Excel 2010 using ODBC

Posted on 2013-01-20
2
522 Views
Last Modified: 2014-11-12
I can't get an ODBC connection to work for a non-dbo user when trying to establish a connection to an Azure SQL DB.  It works fine for a dbo user.  It appears to have something to do with the default DB but the ODBC generator in windows 7 wont allow me to change the default db.  I know the non-dbo user has valid SQL credentials because I can connect to the remote Azure server/DB through Navicat as that user.  Any suggestions are welcome.
0
Comment
Question by:drewkilleen
2 Comments
 
LVL 42

Expert Comment

by:EugeneZ
ID: 38801590
please provide any specific  errors and try to create ODBC DSN with this user (check TCP and Port if) also try to grant DBO role permissions (just for test)
0
 
LVL 17

Accepted Solution

by:
k_murli_krishna earned 500 total points
ID: 38802216
Try and make sure that your non-dbo user is essentially equivalent to dbo user i.e. both users should have same roles and privileges. To do this be logged in as dbo and then grant all to non-dbo user. Change or set the default database to whatever you want at SQL Server level itself & then try in ODBC.
0

Featured Post

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Join & Write a Comment

Companies keep a much closer eye on costs today, so changing to new Technology – Microsoft Office 365 is the smartest move to take.
Disabling the Directory Sync Service Account in Office 365 will stop directory synchronization from working.
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Via a live example, show how to shrink a transaction log file down to a reasonable size.

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now