|
|
|
|
µ¹¸ÍÀÌ / 2001-09-07 / ¿ÀÀü 11:26:32 / 203.234.144.16
Á¶È¸¼ö : 144
|
[Áú¹®] ODBC ¿¡·¯ÀÔ´Ï´Ù. ºÁ ÁÖ¼¼¿ä..x); |
[¿¡·¯]
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC µå¶óÀ̹ö °ü¸®ÀÚ] µ¥ÀÌÅÍ ¿øº» À̸§ÀÌ ¾ø°í ±âº» µå¶óÀ̹ö¸¦ ÁöÁ¤ÇÏÁö ¾Ê¾Ò½À´Ï´Ù.
/buildingsite/kwanak/write_ok.asp, line 20
¿ì¿Õ ÀÌ·± ¿¡·¯°¡ ¶ß³×¿ä....
DSNÀº Webboard·Î Àâ¾Æ ÁÖ¾ú°í Å×À̺í¸íµµ Mboard·Î ÁöÁ¤ÇØ ÁÖ¾ú´Âµ¥ ¿Ö ¾ÈÀâÈú ±î¿ä...
¿¾³¯¿¡´Â Àâ¾Ò´Âµ¥ ¿À´ÃÀº Àß ¾ÈµÇ³×¿ä..
¿ÀÈıîÁö ÀÛ¼ºÇØ¾ß Çϴµ¥....
[WRITE.ASP]
<%
if request("id")<> "" then
Set db = Server.CreateObject("ADODB.Connection")
db.Open("Webboard")
SQL = "SELECT b_subject,b_content FROM MBoard"
SQL = SQL & " where b_board_idx = " & request("id")
Set Grs = Server.CreateObject("ADODB.Recordset")
Grs.Open SQL,db
b_subject = Grs("b_subject")
b_content = Grs("b_content")
b_content = ">" & b_content
b_content = replace(b_content,chr(13) & chr(10),chr(13) & chr(10) & ">")
end if
%>
[write_ok.asp]
.....
Set db = Server.CreateObject("ADODB.Connection")
db.Open ("Webboard")
SQL = "Select MAX(b_num) from MBoard"
Set rs = Server.CreateObject("ADODB.Recordset")
rs.Open SQL, db
....
|
|
|
|