BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Help setting up OBDC-SQLServer 7 Urgent

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder Databases (SQL Servers)
View previous topic :: View next topic  
Author Message
Carlos Aguero
Guest





PostPosted: Mon Nov 03, 2003 9:26 pm    Post subject: Help setting up OBDC-SQLServer 7 Urgent Reply with quote



Hey guys:
I have a problem. I have sql server 7 running on machine B. I have an
application(cbuilder 6) running on machine A.
I created that ODBC on machine A (Win2000). But it seems that sql server is
requestin a login username and password to access that data. It is funny
because when I run my application in the same machine where SQL Server is,
everything is ok.
Does anyone know what I am doing wrong here? How do I set up or create a
logina name? I guess in sql server. The problem is that I have done it but
my sql server still requests that info. Any help will be appreciated

Carlos Aguero


Back to top
Chip Ling
Guest





PostPosted: Wed Dec 17, 2003 3:11 pm    Post subject: Re: Help setting up OBDC-SQLServer 7 Urgent Reply with quote



Carlos,

There's two way you can connect to the SQL server, one call using Windows NT
authentication and the other is authentication using user id and password.

My wild guess is that when you install the SQL server on machine B, the default
setting for accessing SQL server through machine B is set to use Windows NT
authentication. That's why you can access the SQL server database without
entering a user id and password. (In fact, you did enter it when you logon to
the windows 2000, don't you?)

It makes sense that the machine B where your SQL server resided using Windows
NT authentication because it is the same machine. But you can always change it
to back to authentication using user id and password.

First of all, you need to go to SQL enterprise manager (Start --> Programs -->
SQL server 7.0 --> Enterprise manager) and set up yourself a user id and
password. Then go to control panel the ODBC Admininstrator and change the
configuration of the DSN you have defined. Go to the page where the question
saying

"How should SQL server verify the authentication of the login ID?"
Select the second option "with SQL server authentication using a login ID and
password entered by the user".
Go through the whole re-config process and save it. Now you can login to the
SQL server by user id and password.

Rgds,
Chip Ling


Carlos Aguero wrote:

Quote:
Hey guys:
I have a problem. I have sql server 7 running on machine B. I have an
application(cbuilder 6) running on machine A.
I created that ODBC on machine A (Win2000). But it seems that sql server is
requestin a login username and password to access that data. It is funny
because when I run my application in the same machine where SQL Server is,
everything is ok.
Does anyone know what I am doing wrong here? How do I set up or create a
logina name? I guess in sql server. The problem is that I have done it but
my sql server still requests that info. Any help will be appreciated

Carlos Aguero


Back to top
Chip Ling
Guest





PostPosted: Wed Dec 17, 2003 3:39 pm    Post subject: Re: Help setting up OBDC-SQLServer 7 Urgent Reply with quote



Carlos,

There's two way you can connect to the SQL server, one call using Windows NT
authentication and the other is authentication using user id and password.

My wild guess is that when you install the SQL server on machine B, the default
setting for accessing SQL server through machine B is set to use Windows NT
authentication. That's why you can access the SQL server database without
entering a user id and password. (In fact, you did enter it when you logon to
the windows 2000, don't you?)

It makes sense that the machine B where your SQL server resided using Windows
NT authentication because it is the same machine. But you can always change it
to back to authentication using user id and password.

First of all, you need to go to SQL enterprise manager (Start --> Programs -->
SQL server 7.0 --> Enterprise manager) and set up yourself a user id and
password. Then go to control panel the ODBC Admininstrator and change the
configuration of the DSN you have defined. Go to the page where the question
saying

"How should SQL server verify the authentication of the login ID?"
Select the second option "with SQL server authentication using a login ID and
password entered by the user".
Go through the whole re-config process and save it. Now you can login to the
SQL server by user id and password.

Rgds,
Chip Ling


Carlos Aguero wrote:

Quote:
Hey guys:
I have a problem. I have sql server 7 running on machine B. I have an
application(cbuilder 6) running on machine A.
I created that ODBC on machine A (Win2000). But it seems that sql server is
requestin a login username and password to access that data. It is funny
because when I run my application in the same machine where SQL Server is,
everything is ok.
Does anyone know what I am doing wrong here? How do I set up or create a
logina name? I guess in sql server. The problem is that I have done it but
my sql server still requests that info. Any help will be appreciated

Carlos Aguero


Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder Databases (SQL Servers) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.