Background Image

FORUM

2009.01.04 13:05

asp.net 의 oledb 연동

조회 수 40924 추천 수 0 댓글 3
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄

안녕하세요.

VS 2005에서 asp.net 과 큐브리드를 연동하려고 합니다.

web.config 파일 내용 
<configuration>
 <appSettings/>
 <connectionStrings>
  <add name="ConnectionString" connectionString="Provider=CUBRIDProvider.1;Data Source=demodb;Persist Security Info=False;Location=localhost;User ID=public;Cache Authentication=False;Encrypt Password=False;Mask Password=False;Persist Encrypted=False;Port=33000;Fetch Size=100" providerName="System.Data.OleDb"/>
 </connectionStrings>

default.aspx 파일 내용
<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>제목 없음</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
            ProviderName="<%$ ConnectionStrings:ConnectionString.ProviderName %>" SelectCommand="SELECT * FROM [ATHLETE]">
        </asp:SqlDataSource>
        <asp:Repeater ID="Repeater1" runat="server" DataSourceID="SqlDataSource1">
         <ItemTemplate>
         코드 : <%# Eval("code") %><br />
         이름 : <%# Eval("name") %><br />
         성 : <%# Eval("gender") %><br />
         국가 : <%# Eval("nation_code") %><br />
         이벤트 : <%# Eval("event") %><br />
         </ItemTemplate>
        </asp:Repeater>
    </div>
    </form>
</body>
</html>

연동방법이 맞는지 궁금하고요.
큐브리드 db 드라이버 는 dev.naver.com 에서 다운 받은 겁니다.

문제점 : 페이지빌드후 컴퓨터를 부팅하고나거나 혹은 큐브리드 재시작 후 큐브리드 매니저로 접속이 안됩니다.

에러메세지 : 서버에 접속할 수 없습니다. 큐브리드 매니저 서버의 구동및 기타 접속환경을 점검하시기 바랍니다.

OLEDB로 연결하려면 아직 7.3버전으로 해야 하는지요?

  • ?
    flypig 2009.01.04 22:22
    내용을 읽어 보니 먼저 확인이 필요한 것이 있네요. dev.naver.com에서 cubrid2008매니져만 다운 받으셔서 설치를 하시고 DB서버는 이전 버젼을 이용하시는 것이라면 DB서버도 2008로 업그레이드를 하셔야 합니다.
    즉 매니져와 DB서버를 같은 버젼으로 사용하셔야 연결이 됩니다.
    먼저 해당 부분에 대한 확인을 부탁합니다.
  • ?
    webdoors 2009.01.05 18:18
    네 현재 큐브리드 버전은  2008입니다.

    그런데 이후에 큐브리드를 재시작하거나 리부팅후 접속하면 문제가 납니다.

    큐브리드와 연동하기 위한 oledb 설정관련 예제자료를 올려주시면 감사하겠습니다.
  • ?
    flypig 2009.01.05 23:17
    재 시작이나 리부팅이 정상적으로 이루어진 상황이라면 연결이 되어야 하는 것이 정상입니다.
    주신 정보만으로 문제를 확인하기 어려워서 제게 메일로 전화번호와 성함을 알려 주시면 연락을 드리고 원격으로 접속하여 문제를 찾아 보고 해결을 도와 드리겠습니다.

    gtpark_at_cubrid.com으로 연락주세요...

  1. CUBRID 사용자를 위한 DBeaver 도구 출시 안내

    Date2024.04.23 Byadmin Views108117
    read more
  2. procedure 문의드립니다

    Date2009.07.03 By삽질쟁이 Views15944
    Read More
  3. The column name is invalid. 에러메시지 좀...

    Date2009.07.02 By논픽션Lover Views23479
    Read More
  4. DataBase 검사 오류

    Date2009.07.02 ByNonStop Views14070
    Read More
  5. 초보질문 - insert할때 질문

    Date2009.07.02 Byrusell Views12819
    Read More
  6. 데이터 보안기능 문의

    Date2009.07.01 Byhareton Views8
    Read More
  7. 큐브리드와 php 연동을 할려는데 문제가??

    Date2009.07.01 By흑심품은연필 Views14535
    Read More
  8. cubrid.jdbc.dirver.CUBRIDDriver 에러

    Date2009.06.30 By논픽션Lover Views15760
    Read More
  9. 복제 문의해요

    Date2009.06.28 By삽질쟁이 Views13762
    Read More
  10. select @@identity

    Date2009.06.27 By펭귄 Views22140
    Read More
  11. 웹서버(Win)와 DB서버를 분리할 때 odbc설치 방법

    Date2009.06.26 By안지민 Views19901
    Read More
  12. 안녕하세요? loaddb 에 대해 질문이 있습니다.

    Date2009.06.25 By서기97 Views13
    Read More
  13. CUBRID-8.1.4.1032-linux 완전삭제 방법

    Date2009.06.25 Byrupee76 Views9
    Read More
  14. ADD_MONTHS 함수의 사용

    Date2009.06.25 By체리필터 Views18644
    Read More
  15. 재귀적 조인에 대한 쿼리를 저장할 수 있나요?

    Date2009.06.23 Bysizers Views22099
    Read More
  16. cubrid.jdbc.jci.JdbcCacheWorker에서 java.lang.NullPointerException 계속 발생하네요...

    Date2009.06.23 By거만쟁이 Views30
    Read More
  17. spec 나 srpm 은 어디에서 받을 수 있나요?

    Date2009.06.21 By아주가끔은 Views12765
    Read More
  18. 로그관련 문의부탁드립니다.

    Date2009.06.19 ByNonStop Views11909
    Read More
  19. Visual Basic 관련 문의

    Date2009.06.19 By방랑아 Views12667
    Read More
  20. 큐브리드 2008 호스팅 업체가 있습니까?

    Date2009.06.17 By안지민 Views12159
    Read More
  21. Windows 7 64bit 에서 cubrid 설치 되나요?

    Date2009.06.17 By예수 Views17189
    Read More
Board Pagination Prev 1 ... 194 195 196 197 198 199 200 201 202 203 ... 211 Next
/ 211

Contact Cubrid

영업문의 070-4077-2112 / 기술문의 070-4077-2148 / 대표전화 070-4077-2110 / Email. contact_at_cubrid.com
Contact Sales