Solved

Azure SQL connection through Excel 2010 using ODBC

Posted on 2013-01-20
2
548 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 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

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

Suggested Solutions

The following article is comprised of the pearls we have garnered deploying virtualization solutions since Virtual Server 2005 and subsequent 2008 RTM+ Hyper-V in standalone and clustered environments.
Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
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.

759 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