Microsoft MVP성태의 닷넷 이야기
오류 유형: 317. Sybase.Data.AseClient.AseException: The command has timed out. [링크 복사], [링크+제목 복사],
조회: 13327
글쓴 사람
정성태 (techsharer at outlook.com)
홈페이지
첨부 파일
 

Sybase.Data.AseClient.AseException: The command has timed out.

Sybase.Data.AseClient.AseCommand를 사용하는데 SELECT 구문에서는 문제가 없고 유독 INSERT(UPDATE/DELETE) 구문에서는 다음과 같이 시간 초과 예외가 발생했습니다.

Sybase ASE: Sybase.Data.AseClient.AseException: The command has timed out. 
at Sybase.Data.AseClient1.AseCommand.CheckResult(Int32 res) 
at Sybase.Data.AseClient1.AseCommand.ExecuteNonQuery() 
at Sybase.Data.AseClient.AseCommand.ExecuteNonQuery() 
at WebSiteTest.postgreSQLTest.SybaseAseTest() in d:\...\postgreSQLTest.aspx.cs:line 215 
at WebSiteTest.postgreSQLTest.Page_Load(Object sender, EventArgs e) in d:\...\postgreSQLTest.aspx.cs:line 126

어쩌란 말인지??? ^^;

일단 sybase ASE 데이터베이스가 설치된 폴더에서 isql.exe를 실행해 명령행으로 들어가 수동으로 직접 INSERT 구문을 실행해 봤더니... 그제서야 제대로 된 오류 메시지가 나옵니다.

C:\SAP\OCS-16_0\bin>isql -Utest -Ptestpw -Stestdb

1> INSERT INTO testtable(PersonID, LastName, FirstName, Address, City) VALUES(1678434600, 'test', 'test', 'test', 'test')
2> go
The transaction log in database testdb is almost full.  Your transaction is being suspended until space is made available in the log.

테스트 서버이다 보니 트랜잭션 로그가 그다지 중요하지 않으므로 검색된 글에 따라, 다음과 같이 잘라버렸습니다. ^^

Dump tran testdb with truncate_only 




[이 글에 대해서 여러분들과 의견을 공유하고 싶습니다. 틀리거나 미흡한 부분 또는 의문 사항이 있으시면 언제든 댓글 남겨주십시오.]







[최초 등록일: ]
[최종 수정일: 6/20/2020]

Creative Commons License
이 저작물은 크리에이티브 커먼즈 코리아 저작자표시-비영리-변경금지 2.0 대한민국 라이센스에 따라 이용하실 수 있습니다.
by SeongTae Jeong, mailto:techsharer at outlook.com

비밀번호

댓글 작성자
 




... 61  62  63  64  65  [66]  67  68  69  70  71  72  73  74  75  ...
NoWriterDateCnt.TitleFile(s)
11994정성태7/22/201914420개발 환경 구성: 454. Azure 가상 머신(VM)에서 SMTP 메일 전송하는 방법파일 다운로드1
11993정성태7/22/20199877오류 유형: 561. Dism.exe 수행 시 "Error: 2 - The system cannot find the file specified." 오류 발생
11992정성태7/22/201911661오류 유형: 560. 서비스 관리자 실행 시 "Windows was unable to open service control manager database on [...]. Error 5: Access is denied." 오류 발생
11991정성태7/18/20199174디버깅 기술: 128. windbg - x64 환경에서 닷넷 예외가 발생한 경우 인자를 확인할 수 없었던 사례
11990정성태7/18/201911374오류 유형: 559. Settings / Update & Security 화면 진입 시 프로그램 종료
11989정성태7/18/201910278Windows: 162. Windows Server 2019 빌드 17763부터 Alt + F4 입력시 곧바로 로그아웃하는 현상
11988정성태7/18/201911712개발 환경 구성: 453. 마이크로소프트가 지정한 모든 Root 인증서를 설치하는 방법
11987정성태7/17/201916707오류 유형: 558. 윈도우 - KMODE_EXCEPTION_NOT_HANDLED 블루스크린(BSOD) 문제 [1]
11986정성태7/17/20199507오류 유형: 557. 드라이브 문자를 할당하지 않은 파티션을 탐색기에서 드라이브 문자와 함께 보여주는 문제
11985정성태7/17/20199631개발 환경 구성: 452. msbuild - csproj에 환경 변수 조건 사용 [1]
11984정성태7/9/201917832개발 환경 구성: 451. Microsoft Edge (Chromium)을 대상으로 한 Selenium WebDriver 사용법 [1]
11983정성태7/8/20198892오류 유형: 556. nodemon - 'mocha' is not recognized as an internal or external command, operable program or batch file.
11982정성태7/8/20198893오류 유형: 555. Visual Studio 빌드 오류 - result: unexpected exception occured (-1002 - 0xfffffc16)
11981정성태7/7/201911059Math: 64. C# - 3층 구조의 신경망(분류)파일 다운로드1
11980정성태7/7/201921508개발 환경 구성: 450. Visual Studio Code의 Java 확장을 이용한 간단한 프로젝트 구축파일 다운로드1
11979정성태7/7/201911046개발 환경 구성: 449. TFS에서 gitlab/github등의 git 서버로 마이그레이션하는 방법
11978정성태7/6/201910396Windows: 161. 계정 정보가 동일하지 않은 PC 간의 인증을 수행하는 방법 [1]
11977정성태7/6/201914953오류 유형: 554. git push - error: RPC failed; HTTP 413 curl 22 The requested URL returned error: 413 Request Entity Too Large
11976정성태7/4/20199318오류 유형: 553. (잘못 인증 한 후) 원격 git repo 재인증 시 "remote: HTTP Basic: Access denied" 오류 발생
11975정성태7/4/201917825개발 환경 구성: 448. Visual Studio Code에서 콘솔 응용 프로그램 개발 시 "입력"받는 방법
11974정성태7/4/201913180Linux: 22. "Visual Studio Code + Remote Development"로 윈도우 환경에서 리눅스(CentOS 7) C/C++ 개발
11973정성태7/4/201912394Linux: 21. 리눅스에서 공유 라이브러리가 로드되지 않는다면?
11972정성태7/3/201915253.NET Framework: 847. JAVA와 .NET 간의 AES 암호화 연동 [1]파일 다운로드1
11971정성태7/3/201912402개발 환경 구성: 447. Visual Studio Code에서 OpenCvSharp 개발 환경 구성
11970정성태7/2/201910718오류 유형: 552. 웹 브라우저에서 파일 다운로드 후 "Running security scan"이 끝나지 않는 문제
11969정성태7/2/201911136Math: 63. C# - 3층 구조의 신경망파일 다운로드1
... 61  62  63  64  65  [66]  67  68  69  70  71  72  73  74  75  ...