database.sarang.net
UserID
Passwd
Database
DBMS
MySQL
ㆍPostgreSQL
Firebird
Oracle
Informix
Sybase
MS-SQL
DB2
Cache
CUBRID
LDAP
ALTIBASE
Tibero
DB 문서들
스터디
Community
공지사항
자유게시판
구인|구직
DSN 갤러리
도움주신분들
Admin
운영게시판
최근게시물
PostgreSQL Q&A 1984 게시물 읽기
No. 1984
소스를 올릴께요....혹시 틀린점이 있으면 지적을 해주셔요...
작성자
이상미
작성일
2000-12-15 13:40
조회수
5,809

<%

 

Set conn = Server.CreateObject("ADODB.Connection")

conn.ConnectionString = "ODBC;DATABASE=name;UID=post;PWD=post;DSN=PostgreSQL"

ConnectionString = ConnectionString&"Driver=PostgreSQL;Server=xxx.xxx.xxx.xxx;"&"Database=name;"&"Port=5432;Uid=admin;Pwd=admin"

conn.Open connectionString

 

'Set adors = New ADODB.Recordset

' adors.CursorType = adOpenDynamic

' adors.LockType = adLockPessimistic

' adors.Open "name", conn, , , adCmdTable

 

set ddd = conn.Execute("select * from news")

do while (not ddd.eof)

response.Write"<tr>"

for index=0 to (ddd.fields.count/1)

response.write"td"&ddd(index)&"</td>"

next

response.write "</tr>"

ddd.movenext

loop

ddd.close

'adors.close

%>

라고 하면

Microsoft OLE DB Provider for ODBC Drivers error '80004005'

 

Could not connect to the server; Could not connect to remote socket.

 

/bbs/post.asp, line 6

라는 에러가 나요....

[Top]
No.
제목
작성자
작성일
조회
1999PostgreSQL.....
김정호
2000-12-18
5339
2000┕>Re: PostgreSQL.....
정재익
2000-12-18 14:23:47
5204
1990initdb.....pg_encoding...
곽상철
2000-12-16
4837
1991┕>Re: initdb.....pg_encoding...
곽상철
2000-12-16 19:25:37
5311
1993 ┕>Re: Re: initdb.....pg_encoding...
정재익
2000-12-17 00:43:18
5125
1995 ┕>Re: 먼저 pg_encoding 명령이 정말 있는지 부터
김상기
2000-12-17 15:19:30
5402
1996┕>Re: initdb.....pg_encoding...
샛별이
2000-12-17 19:35:59
5485
1986postgres error
초보자
2000-12-16
4377
1987┕>Re: postgres error
정재익
2000-12-16 15:01:34
4830
1984소스를 올릴께요....혹시 틀린점이 있으면 지적을 해주셔요...
이상미
2000-12-15
5809
1994┕>Re: 먼저 터미널 로그인을 시도해 보십시오.
김상기
2000-12-17 15:12:09
5961
1981급합니다.
이상미
2000-12-15
5919
1983┕>Re: 급합니다.
정재익
2000-12-15 13:21:11
5922
1979도와주세요...
김용관
2000-12-15
4628
1977odbc드라이버 설정에 관해
한경일
2000-12-15
5615
1978┕>Re: odbc드라이버 설정에 관해
김상기
2000-12-15 09:16:39
5973
1985 ┕>Re: Re: odbc드라이버 설정에 관해..여전히 안되네여
한경일
2000-12-15 18:03:57
6102
1989  ┕>Re: Re: Re: 질문 내용 만으로는 도저히 짐작이 안가는 질문인지라...
김상기
2000-12-16 19:08:36
5771
1997   ┕>Re: Re: Re: Re: 질문 내용 만으로는 도저히 짐작이 안가는 질문인지라...
한경일
2000-12-18 11:53:19
6032
1998    ┕>Re: Re: Re: Re: Re: 질문 내용 만으로는 도저히 짐작이 안가는 질문인지라...
한경일
2000-12-18 13:26:28
5601
2005    ┕>Re: 윈98이나 NT에서 한번 해보시지요.
김상기
2000-12-18 16:59:48
5712
Valid XHTML 1.0!
All about the DATABASE... Copyleft 1999-2024 DSN, All rights reserved.
작업시간: 0.019초, 이곳 서비스는
	PostgreSQL v16.2로 자료를 관리합니다