SQL Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsDatabaseSQL Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old August 23rd, 2001, 09:48 PM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,575 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
Can't get ODBC DSN to work using example

Originally posted by : Victor Tellez (vtellez@hgservices.com)I'm using the example.Paging certain # of records usingStored Procedure, Command Object and MS-SQL ServerI have IIS 5, and SQL 2000 I can't seem to get the correct setup for the DSN in the paging3.asp file to work.

Reply With Quote
  #2  
Old August 28th, 2001, 06:05 PM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,575 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
Originally posted by : HeatherP (vhe009@aol.com)------------HeatherP 8/28/01Did you try the DSN Less connection First? You might want toHere is an example:Cut and paste this code into notepad and call it DatabaseConnect.aspWhen ever you are trying to access this particular database, you use afor asp at the begining of the file then you can access the database using SQL like thisim strSQLstrSQL = "SELECT Column1, Column2, Column3, FROM tblColumns ORDER BY Price DESC"'Create a recordset object instance, and execute the SQL StatementDim objRSSet objRS = Server.CreateObject("ADODB.Recordset")objRS.Open strSQL, objConn

Reply With Quote
  #3  
Old October 24th, 2001, 05:11 PM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,575 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
Originally posted by : Jordan (jordan.michaels@wwcc.ctc.edu)Thanks for posting this Heather.I've tried it though and I get an odd error:Error Type:Microsoft OLE DB Provider for ODBC Drivers (0x80004005)[Microsoft][ODBC Microsoft Access Driver]General error Unable to open registry key 'Temporary (volatile) Jet DSN for process 0x92c Thread 0x910 DBC 0x204806c Jet'./catalog/test.asp, line 13Any idea what this could mean and how to fix it?Thanks in advance,Jordan------------HeatherP at 8/28/2001 3:05:00 PM------------HeatherP 8/28/01Did you try the DSN Less connection First? You might want toHere is an example:Cut and paste this code into notepad and call it DatabaseConnect.aspWhen ever you are trying to access this particular database, you use afor asp at the begining of the file then you can access the database using SQL like thisim strSQLstrSQL = "SELECT Column1, Column2, Column3, FROM tblColumns ORDER BY Price DESC"'Create a recordset object instance, and execute the SQL StatementDim objRSSet objRS = Server.CreateObject("ADODB.Recordset")objRS.Open strSQL, objConn

Reply With Quote
Reply

Viewing: ASP Free ForumsDatabaseSQL Development > Can't get ODBC DSN to work using example


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
Stay green...Green IT