Solved

DSN in Windows XP with MS SQL server

Posted on 2004-05-03
12
510 Views
Last Modified: 2012-05-04
Hi there
I installed MS SQL server 2000 developer edition in windows xp professional. How to make DSN in window xp to connect MS SQL server? server is running HOME - YYOOSOR..
Please help

Thanks in advance
0
Comment
Question by:chetanpatel
[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
  • 6
  • 6
12 Comments
 
LVL 19

Accepted Solution

by:
Melih SARICA earned 300 total points
ID: 10978127
Control panel -> Administrative tools->ODBC data sorurces...

New.. Select SQL server from the provider list..

type 127.0.0.1

user name and password..

test it..

Melih SARICA
0
 

Author Comment

by:chetanpatel
ID: 10986761
sorry but
can MSSQL server 2000 run on window xp
0
 

Author Comment

by:chetanpatel
ID: 10986766
sorry but
can MSSQL server 2000 developer  run on window xp professional
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 19

Expert Comment

by:Melih SARICA
ID: 10986818
yep it can run
0
 

Author Comment

by:chetanpatel
ID: 10986933
can u write procedure to installed?
0
 
LVL 19

Expert Comment

by:Melih SARICA
ID: 10986972
Procedure of what ?
be more specific...
0
 

Author Comment

by:chetanpatel
ID: 10987048
I installed MSsql and it run.  
i made  database and table but i cannot access this database through dsn so what should i do? also i cannot make login in security..
0
 
LVL 19

Expert Comment

by:Melih SARICA
ID: 10987103
ok

lets start it..

first lets try to connect from osql
  from command prompt
   c:\>osql -E

it means connect my server .. and use trusted connection..
if it connects..  we ll go on working other steps
0
 

Author Comment

by:chetanpatel
ID: 10987171
I got this error

Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E4D)
[Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user 'HOME-YYOROCZYSJ\IUSR_HOME-YYOROCZYSJ'.
/asp/testing.asp, line 3
0
 
LVL 19

Expert Comment

by:Melih SARICA
ID: 10987275

when u type it from command prompt ?

r u sure  ? becouse..

IUSR_HOME-YYOROCZYSJ is the internet user.. used for anonymous internet access user...

ok

i guess ur trying to connect from internet explorer

run SQL analyzer  execute this sql

exec sp_addlogin 'HOME-YYOROCZYSJ\IUSR_HOME-YYOROCZYSJ'
go
EXEC sp_grantdbaccess 'HOME-YYOROCZYSJ\IUSR_HOME-YYOROCZYSJ' , Urdatabasename

0
 

Author Comment

by:chetanpatel
ID: 10988587
HI non zero

thanks it working.
now what i want to import file from ISP, i have ipaddress, servername, login, password

so how can i connect with ISP server through my local server.

thanks again.
0
 
LVL 19

Expert Comment

by:Melih SARICA
ID: 10993046
Connect ur ISP admin.

They ll give u an IP address, Username and password to make a connection between Web pages and DataBase..

Change the specific Fields in ur Connection String and its ok ...


Hope it helps..

Melih SARICA
thx 4 points
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
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.

734 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