Click here to Skip to main content
15,895,011 members
Home / Discussions / Database
   

Database

 
AnswerRe: how can Bind ComboBox Pin
Paul Brower17-Apr-07 10:26
Paul Brower17-Apr-07 10:26 
QuestionStored procedure in sqlserver..... Pin
Member 387988113-Apr-07 18:23
Member 387988113-Apr-07 18:23 
AnswerRe: Stored procedure in sqlserver..... Pin
andyharman16-Apr-07 1:30
professionalandyharman16-Apr-07 1:30 
QuestionGrabing info from table Pin
hahii13-Apr-07 11:16
hahii13-Apr-07 11:16 
AnswerRe: Grabing info from table Pin
Krish - KP16-Apr-07 17:52
Krish - KP16-Apr-07 17:52 
QuestionO/R-Mapping with OleDb compatibility Pin
dannyyy13-Apr-07 7:21
dannyyy13-Apr-07 7:21 
AnswerRe: O/R-Mapping with OleDb compatibility Pin
Pete O'Hanlon13-Apr-07 9:57
mvePete O'Hanlon13-Apr-07 9:57 
QuestionSql Server Pin
drc_no113-Apr-07 6:03
drc_no113-Apr-07 6:03 
Hello again!
I'm rather new to what SQL means and does (many new "stored procedures"-words for me lately).
So, just the other day i ran into a problem. I designed a program which connects to a SQL Server 2000 Database. And it works just fine on my computer. Still, one of my friends wanted to test the application. I gave him the database files and registered them with SQL Server 2000 (attached to server). He also had VC# Express Edition installed (i think this is the cause and an important clue). When running the .exe, while trying to connect to the databases, he receives an error message which says that there is no connection available for SQL SERVER 2005:

An error has occured while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server( OMG | :OMG: Confused | :confused: ).

Then, i tried the other way around. I gave him the code of my application, made him run it... and... another error: Cannot open database requested in login 'Consulting'. Login fails. Login failed for user 'GABRIELA\gabi'. I understand that there are users... and i can't synchronize them... but, how do i allow my database to be accesed on any computer with SQL Server 2000 installed on it?

the connection string in the program is:
<br />
<connectionStrings><br />
        <add name="cristina_atestat.Properties.Settings.Consulting_coConnectionString"<br />
            connectionString="Data Source=(local);Initial Catalog=Consulting;Integrated Security=True;Trusted_Connection=yes;"<br />
            providerName="System.Data.SqlClient" /><br />
    </connectionStrings><br />
<br />


Thanks a lot in advance,
Catalin David.
AnswerRe: Sql Server Pin
nlindley713-Apr-07 6:14
nlindley713-Apr-07 6:14 
GeneralRe: Sql Server Pin
drc_no113-Apr-07 6:21
drc_no113-Apr-07 6:21 
GeneralRe: Sql Server Pin
nlindley713-Apr-07 6:38
nlindley713-Apr-07 6:38 
GeneralRe: Sql Server Pin
drc_no113-Apr-07 6:54
drc_no113-Apr-07 6:54 
GeneralRe: Sql Server Pin
nlindley713-Apr-07 6:57
nlindley713-Apr-07 6:57 
GeneralRe: Sql Server Pin
drc_no113-Apr-07 7:12
drc_no113-Apr-07 7:12 
GeneralRe: Sql Server Pin
nlindley713-Apr-07 7:21
nlindley713-Apr-07 7:21 
AnswerRe: Sql Server Pin
Jerry Hammond14-Apr-07 4:11
Jerry Hammond14-Apr-07 4:11 
GeneralRe: Sql Server Pin
drc_no114-Apr-07 20:00
drc_no114-Apr-07 20:00 
QuestionSQL Server Issues With XP Pin
nlindley713-Apr-07 5:54
nlindley713-Apr-07 5:54 
Questionretiveig columns Pin
yuvachandra13-Apr-07 1:28
yuvachandra13-Apr-07 1:28 
AnswerRe: retiveig columns Pin
Krish - KP13-Apr-07 1:59
Krish - KP13-Apr-07 1:59 
GeneralRe: retiveig columns Pin
yuvachandra13-Apr-07 2:48
yuvachandra13-Apr-07 2:48 
GeneralRe: retiveig columns Pin
Krish - KP16-Apr-07 22:25
Krish - KP16-Apr-07 22:25 
QuestionRead a portion of flat file - SSIS Pin
amnaahmad12-Apr-07 21:15
amnaahmad12-Apr-07 21:15 
Questionsql query for number days in a month & number of sundays in a month... Pin
Member 387988112-Apr-07 20:47
Member 387988112-Apr-07 20:47 
AnswerRe: sql query for number days in a month & number of sundays in a month... Pin
Krish - KP13-Apr-07 2:05
Krish - KP13-Apr-07 2:05 

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.