반응형 error11 Net - System.Data.SqlTypes.SqlNullValueException: Data is Null .Net EntityFramework를 이용해서 사용하던중 발생하던 오류로 해결 방안을 찾아 메모해 둔다. 데이터를 입력하고 웹을 통해 조회하던중 아래와 같은 오류가 발생하였다. System.Data.SqlTypes.SqlNullValueException: Data is Null. This method or property cannot be called on Null values. 이 오류으 원인은 DB Content에 설정된 [Required] 선언에 의해 조건이 맞지 않아 발생하게 된다. .Net EntityFramework는 [Required]로 선언한 필드에 대해서는 Null을 허용하지 않는데, 실제 데이터중에 Null로 설정된 데이터가 존재하기 때문에 발생한다. 혀결 방법으로는 Database에.. 2020. 11. 17. MariaDB - Specified key was too long Specified key was too long; max key length is 767 bytes 이는 InnoDB 엔진에 관련된 내용이다. MariaDB, MySQL은 하나의 Row이 가질 수 있는 최대 Index 길이의 제한이 있고 이 제한이 767 Bytes 까지이다. 이 제한을 풀기 위해서는 set global innodb_large_prefix = ON; 이후 생성하고자 하는 테이블 옵션에 ROW_FORMAT=DYNAMIC 옵션을 추가하여 해결이 가능하다. set global innodb_large_prefix = ON; 위 옵션이 정상적으로 실행되었다면 테이블을 만들때 엔진 옵션으로 DYNAMIC을 추가하면 정상적으로 테이블 생성이 가능하다. ENGINE=INNODB ROW_FORMAT=DY.. 2020. 11. 6. .Net core - File Uplad Error 413.1 - Request Entity Too Large 파일 업로드 기능을 .Net Core로 구현한다면 가장 처음 봉착하는 에러이다. 먼저 .Net Core 답게 현재 구동하는 환경이 IIS Express인지 확인한다. IIS Express로 되어 있다면, .Net core는 자체적으로 웹서비스를 구동할 수 있기 때문에 현재 생성한 프로젝트 명으로 Debug를 변경하고, 다시 테스트를 진행해보자. 이제 2가지 방법으로 이를 해결 할 수 있다. 1. Controller에 추가 특정 기능만 필요하다면 API Action에 아래 구문을 추가하면 해결 된다. [RequestFormLimits(ValueLengthLimit = int.MaxValue, MultipartBodyLengthLimit = int.MaxValue)] [DisableRequestSizeLim.. 2020. 11. 5. WebKnight - How to fix About Famous errors http://www.aqtronix.com/?PageID=99 Webknight Famous error 1 not allowed in URL 2013-07-08 ; 08:04:21 ; W3SVC2 ; OnPreprocHeaders ; ::1 ; ; xxxxx; GET ; /xxxxx/ ; BLOCKED: ‘/xxxxx/‘ not allowed in URL ; HTTP/1.1 ; Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0) ; http://localhost/ This error is related to Denied Url Sequences. Disable or modify Use Denied Url Sequences und.. 2020. 10. 29. Wordpress – Set your wp-config.php to writable A definition of a siteurl or homeurl was detected in your wp-config.php, but the file is not writable. Set your wp-config.php to writable and reload this page. WordPress of Bitnami WordPress of Bitnami when use SSL plugin, You can show this error. So, Im recommend to connect SSH that server. You should run the following command within ssh sudo chmod 664 /opt/bitnami/apps/wordpress/htdocs/wp-conf.. 2020. 10. 29. 이전 1 2 다음 반응형