Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

ASP.NET Forum


You are currently viewing our ASP.NET Forum as a guest. Please register to participate.
Login



Reply
Old 09-20-2005, 05:14 PM Iis/sql
Junior Talker

Posts: 2
Trades: 0
I am running SQL 2000 server, and IIS and can not get the two to talk. I dont recieve an application error so have to assume that the database is not even being reached. Using ASP script is there any connection that has to be made outside of the ASP script? Or a program that needs to be loaded on the server? Any help is appreciated.
Hutch is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 09-20-2005, 05:21 PM
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
What code are you using to connect?

DSN or connection string ?
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 09-20-2005, 05:34 PM
Junior Talker

Posts: 2
Trades: 0
Connection string
set dcnDB = Server.CreateObject("adodb.connection")
dcnDB.open "Provider=SQLOLEDB;DATA SOURCE=comp name;DATABASE=dbase name;uid=webuser;password=webuser"
Hutch is offline
Reply With Quote
View Public Profile
 
Old 09-20-2005, 05:48 PM
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
pwd=password NOT password=password
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to Iis/sql
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.32419 seconds with 12 queries