Invalid object name 'sys.configurations'. (.Net SqlClient Data Provider)
-
22 august 2009 22:42
Just trying to get started with a connection....
I was able to create a database using the Web-based Server Administration page. When I try to Add a Connection in VS 2008, the "Test Connection" succeeds, but I get the error:
Invalid object name 'sys.configurations'. (Microsoft SQL Server, Error: 208)
The same error occurs when trying to connect in SQL Server 2008 Management Studio.
At one point, I got this error:
Unable to add data connection in Server Explorer:The current user account was invoked with SETUSER or SP_SETAPPROLE. Changing databases is not allowed.
Thanks for any advice,
Ken
Author: ASP.NET 3.5 For Dummies- Mutat de Brian AurichMicrosoft Employee, Moderator 30 septembrie 2010 06:18 migration (From:SQL Azure - Archive)
Toate mesajele
-
22 august 2009 22:52
Hi Ken,
Adding a connection to SQL Azure in VS isn't currently working. We are looking into it, but for now you can use SSMS. Follow these steps to get started:
1. cancel out of the first connection dialog that pops up.
2. click on the New Query button from the toolbar (upper left)
3. entered
Server name: full servername
Login: just the username (no @...)
4. Under Options, Connect to Database, I typed TestDb1
5. Hit connect.
Stan
Program Manager, SQL Azure- Marcat ca răspuns de Stan Kitsis - MSFT 22 august 2009 22:52
-
14 septembrie 2009 06:17Hi,
i understand that you've mentioned adding connection to SQLAzure in VS is not working (dated 22th Aug.)
Is it working now? If no, do you know when will it be ready?
Thanks. -
18 septembrie 2009 00:44
I am having the same issue.
After following your advice on connecting to the database it looks like I am connected. If I mouse over the CloudNode.dbo.MasterDB… is see my databases but if I select one of them I get an error “The database (master, ASD, etc.) in not accessible". Then the connection is closed?
Is there some configuration I am missing.
Thanks,
Lewis -
18 septembrie 2009 04:10I am getting the same behavior. I am in SSMS 2008.
-
21 septembrie 2009 12:57Hi
At this point I am only working in SSMS and am having the same trouble as the first post - Invalid object name 'sys.configurations'. (Microsoft SQL Server, Error: 208)
The connection Azure SQL Server [um, ____? No, that isnt going to work] is made OK and the test connection works. When I try to open the DB, no luck. Any ideas?
Thank you
Mike -
9 noiembrie 2009 02:03
Hi All,
I had the same problem: Invalid object name 'sys.configurations'. (Microsoft SQL Server, Error: 208) today. I did the steps mentioned in the document Prepare your SQL Azure Account which comes the Azure Toolkit.
1. Connect using "New Query" (instead of using Connect Object Explorer) from SQL Server 2008. Give SQL Azure Account Name (say AZ1) and password to login. Here you will have access to only the master database.
2. Create a new database (say DB1).
3. Create a new login (say LG1).
4. Now close the Query window. Click "New Query", click Options, select the default database as DB1. Connect to it using SQL Azure Account Name AZ1.
5. Create a new user (say TUSER1) using the login LG1.
6. Give 'db_owner' privilege to TUSER1.
7. Close the Query window. Click "New Query", click Options, choose DB1 as the default database, login as TUSER1.
Now, you have created a database named DB1, with TUSER1 as the login user with required privileges. Now you can create tables and procedures in DB1. We could have just used the SQL Azure Account Name AZ1 for DB1 also, but for security reasons, it is good to create a separate user (TUSER1) to access DB1.
Hope this is helpful.- Propus ca răspuns de Adam Wengert 3 noiembrie 2010 23:16
-
23 noiembrie 2009 03:17I am having the same problem. Currently evaluating Cloud computing, looking at AWS AMI stuff as well as Azure. The AWS stuff works perfectly (once one has figured out the credentials, keys, tokens etc.).
Would like to work with Azure solution... BUT frustrated as MS should really do better than this - wasting time by having to figure out what should be simple - reduces all confidence that this thing will be ready for production in Q1 2010... AND something is up with the SQL Azure site this evening.. lots of page crashes etc.
-- peter
-
30 noiembrie 2009 21:40When you create a new query and the connection dialog box pops up, click on the Options >> button, and on the Connection Properties tab type in the database name in the Connect to database: area. then validate Login tab entries and click on Connect. That'll fix it.
ilya -
5 ianuarie 2010 01:29thats works fine for new query window but if I try to browse the object explorer the connection dialog box pops up again and again I get the error:
Invalid object name 'sys.configurations'
My SSMS version is:
Microsoft SQL Server Management Studio Complete 10.0.2531.0
is that ok?
paburgos -
13 ianuarie 2010 20:09Yeah.. i'm connected but i don't see anything in object explorer....
mitnerd -
13 ianuarie 2010 20:13Object Explorer wasn't supported by SQL Azure, last i checked. Sounds like your experience confirms that it's still the case.
-
13 ianuarie 2010 20:20
I see items in the Object Explorer on Azure. What made all the difference for me was installing Microsoft® SQL Server® 2008 R2 November Community Technology Preview - Express Edition. Mine is version 10.50.1352.12.
http://www.microsoft.com/downloads/details.aspx?FamilyID=c772467d-e45b-43e1-9208-2c7b663d7ad1&displaylang=en
Ken
Author: ASP.NET 3.5 For Dummies- Marcat ca răspuns de Cox, Ken 7 aprilie 2010 06:27
-
7 aprilie 2010 06:26
I Agree with Ken Cox. It perfectly works on SQL Server 2008 R2 version.
- Marcat ca răspuns de Cox, Ken 7 aprilie 2010 06:27
-
18 mai 2010 19:12
Hi Stan Kitsis,
yes, I can make a connection using SSMS following your instruction. Although I am connected to the server, I don't see anything on object explore. When trying to make connection to the object explore, I get the same error again: Invalid object name 'sys.configurations'. (Microsoft SQL Server, Error: 208)
Is this a bug or am I doing something wrong?Thanks.
-
18 mai 2010 20:11
That's because you're using a version of SSMS that's earlier than SSMS 2008 R2 (see previous discussion of this thread). You need the R2 version to get SQL Azure support in Object Explorer. You can download a free SSMS 2008 R2 RTM Express Edition from http://www.microsoft.com/express/Database/InstallOptions.aspx (see "Management Tools option) or get it as part of SQL Server 2008 R2 RTM. AFAIK, including the latest cumulative update for SQL Server 2008 SP1 that came out yesterday, SQL Azure support has not been "backported" to SSMS 2008 pre-R2.
Hope this helps, Bob Beauchemin, SQLskills
-
2 septembrie 2012 04:17Bless you! The problem is apparently SSMS trying to connect to master to get everything in the object explorer, clicking on "New Query" worked for me.