Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Azure SQL connection through Excel 2010 using ODBC

Posted on 2013-01-20
2
Medium Priority
?
576 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 43

Expert Comment

by:Eugene Z
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 1500 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

Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

Question has a verified solution.

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

What if you have to shut down the entire Citrix infrastructure for hardware maintenance, software upgrades or "the unknown"? I developed this plan for "the unknown" and hope that it helps you as well. This article explains how to properly shut down …
Simulator games are perfect for generating sample realistic data streams, especially for learning data analysis. It is even useful for demoing offerings such as Azure stream analytics, PowerBI etc.
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed

886 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