Solved

Azure SQL connection through Excel 2010 using ODBC

Posted on 2013-01-20
2
528 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

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

895 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

11 Experts available now in Live!

Get 1:1 Help Now