Click here to Skip to main content
15,887,676 members
Home / Discussions / Database
   

Database

 
GeneralRe: Creating New Database in SQL 2012 Management Studio Pin
Eddy Vluggen15-Jun-13 1:54
professionalEddy Vluggen15-Jun-13 1:54 
AnswerRe: Creating New Database in SQL 2012 Management Studio Pin
Amol_B24-Jun-13 19:22
professionalAmol_B24-Jun-13 19:22 
Questionneed recommandation for database for vs.net 2010 c# web service project Pin
neodeaths12-Jun-13 5:14
neodeaths12-Jun-13 5:14 
AnswerRe: need recommandation for database for vs.net 2010 c# web service project Pin
Richard Deeming12-Jun-13 7:11
mveRichard Deeming12-Jun-13 7:11 
AnswerRe: need recommandation for database for vs.net 2010 c# web service project Pin
jschell12-Jun-13 8:59
jschell12-Jun-13 8:59 
QuestionConnecting to an SQL Database. Pin
Bram van Kampen11-Jun-13 13:41
Bram van Kampen11-Jun-13 13:41 
AnswerRe: Connecting to an SQL Database. Pin
Eddy Vluggen11-Jun-13 22:28
professionalEddy Vluggen11-Jun-13 22:28 
GeneralRe: Connecting to an SQL Database. Pin
Bram van Kampen12-Jun-13 12:59
Bram van Kampen12-Jun-13 12:59 
Thanks,

That worked! Unfortunately, the whole proces turns out to be One Step at the Time!
It connected to the SQL Database, to arrive at the Next hurdle:

Exception:
-
Quote:
System.Data.SqlClient.SqlException (0x80131904): Cannot open database "SgTextiles" requested by the login. The login failed.
Login failed for user 'b-PC\Bram'.


Now, this very database exists in Ms SQL Management Studio under the Path:

-
Quote:
b-pc\SOFTGUARD\Databases\SgTextiles


It is definitely populated with tables with content. The correct spelling and case has been meticulously checked. The Tables were constructed and populated with the SQL management studio, and, also saved. In a further check, (done while writing this, I performed a 'Save All' in the studio, and closed it down. (this went without any complaint from the Studio about Unsaved Files etc) When re-starting the studio, The database had the 'SgTextiles', and all its components in the tree display. When Clicked upon, there was a Dlg stating that 'SgTextiles' is un-available, and the branch cleared. SgTextiles is still unavailable, and is displayed as if totally empty.


Any idea what other "magical incantations" are required to get to the next step.

To anticipate a following issue, I named the first two tables "Users" and "Roles". They are shown in the studio as "dbo.Users", resp "dbo.Names". Is this the correct way of addressing these tables in a queery string, or should I leave out the 'dbo' part.

Thanks for your much appreciated help sofar.

Regards, Smile | :)

N.B.(Modification)

A thought just entered my mind. I am running all this software under a Standard Win7 User Account.
Is there a problem with permissions? I have both Amin and User Access to this machine.
In retrospect, I noted a few times SQL Studio purporting to do thing without complaint, and then not doing them, without stating so. I had already a few detours via the 'Admin', trying to set HKLM Reg Keys by hand.


Thanks Smile | :)
Bram van Kampen

GeneralRe: Connecting to an SQL Database. Pin
Tim Carmichael13-Jun-13 2:03
Tim Carmichael13-Jun-13 2:03 
GeneralRe: Connecting to an SQL Database. Pin
jschell13-Jun-13 8:57
jschell13-Jun-13 8:57 
GeneralRe: Connecting to an SQL Database. Pin
Eddy Vluggen13-Jun-13 9:44
professionalEddy Vluggen13-Jun-13 9:44 
GeneralRe: Connecting to an SQL Database. Pin
Bram van Kampen14-Jun-13 0:42
Bram van Kampen14-Jun-13 0:42 
GeneralRe: Connecting to an SQL Database. Pin
Eddy Vluggen14-Jun-13 8:56
professionalEddy Vluggen14-Jun-13 8:56 
GeneralRe: Connecting to an SQL Database. Pin
Bram van Kampen14-Jun-13 13:59
Bram van Kampen14-Jun-13 13:59 
GeneralRe: Connecting to an SQL Database. Pin
Eddy Vluggen15-Jun-13 2:35
professionalEddy Vluggen15-Jun-13 2:35 
GeneralRe: Connecting to an SQL Database. Pin
Bram van Kampen17-Jun-13 14:13
Bram van Kampen17-Jun-13 14:13 
GeneralRe: Connecting to an SQL Database. Pin
Eddy Vluggen19-Jun-13 8:54
professionalEddy Vluggen19-Jun-13 8:54 
GeneralRe: Connecting to an SQL Database. Pin
Bram van Kampen21-Jun-13 13:46
Bram van Kampen21-Jun-13 13:46 
GeneralRe: Connecting to an SQL Database. Pin
Eddy Vluggen22-Jun-13 21:47
professionalEddy Vluggen22-Jun-13 21:47 
GeneralRe: Connecting to an SQL Database. Pin
Bram van Kampen23-Jun-13 14:09
Bram van Kampen23-Jun-13 14:09 
GeneralRe: Connecting to an SQL Database. Pin
Eddy Vluggen23-Jun-13 22:33
professionalEddy Vluggen23-Jun-13 22:33 
GeneralRe: Connecting to an SQL Database. Pin
Bram van Kampen24-Jun-13 12:56
Bram van Kampen24-Jun-13 12:56 
GeneralRe: Connecting to an SQL Database. Pin
Eddy Vluggen25-Jun-13 9:52
professionalEddy Vluggen25-Jun-13 9:52 
GeneralRe: Connecting to an SQL Database. Pin
Bram van Kampen18-Jun-13 15:42
Bram van Kampen18-Jun-13 15:42 
GeneralRe: Connecting to an SQL Database. Pin
Eddy Vluggen18-Jun-13 22:29
professionalEddy Vluggen18-Jun-13 22:29 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.