본문 바로가기

2017/11

(15)
[react-native] build error : Could not expand ZIP > {{project}}> react-native run-android react-native 빌드이 후 Could not expand ZIP 만난다면 ubuntu > {{project}}/android/ ./gradlew clean windows > {{project}}/android/ ./gradlew.bat clean
[EntityFramework]Unable to update the EntitySet because it has a DefiningQuery and no <UpdateFunction> element exists in the <ModificationFunctionMapping> element to support the current operation. Unable to update the EntitySet {{TABLE_NAME}} because it has a DefiningQuery and no element exists in the element to support the current operation.해당 Entity 에 primary key 가 있는지 확인 합니다. (대부분 pk가 없어서 발생하는 오류임.)
[C#] 특정기간 동안 월단위로 무언가 처리 할때 using System; public class Program { public static void Main() { Boolean isFinished = false; string dealYear = "2017"; string dealMonth = "6"; DateTime procDateTime = new DateTime(Convert.ToInt32(dealYear), Convert.ToInt32(dealMonth), 1); TimeSpan timeSpan; while(!isFinished) { timeSpan = DateTime.Now.AddDays(1-DateTime.Now.Date.Day) - procDateTime; if (timeSpan.Days
[IDE][Visual Studio 2017 Community] 파일이나 어셈블리 'SqlPackageBase, Version=14.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' 또는 여기에 종속되어 있는 파일이나 어셈블리 중 하나를 로드할 수 없습니다. .. vs2017 에서 Sql 실행 계획을 실행했을때 나타나는 런타임 오류입니다. 이 대화 상자 대신 JIT(Just-in-time) 디버깅을 호출하는 방법에 대한 자세한 내용은 이 메시지의 뒷부분을 참조하십시오. ************** 예외 텍스트 ************** System.IO.FileNotFoundException: 파일이나 어셈블리 'SqlPackageBase, Version=14.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' 또는 여기에 종속되어 있는 파일이나 어셈블리 중 하나를 로드할 수 없습니다. 지정된 파일을 찾을 수 없습니다. 파일 이름: 'SqlPackageBase, Version=14.0.0.0, Culture=neut..
[IDE][Visual Studio2017 Community] v15.2 Syntax HighLight issue 15.2 버전에서 Syntax HighLight 가 정상적으로 작동하지 않는 이슈가 있었습니다. C# 에디터에서는 잘 되지만 Sql 스크립트에서는 흰건 글씨요 검은 것은 바탕이라 15.3 버전에서 해결 되었으며 15.2 버전 사용중이라면 vs2017 설치 파일을 실행시키면 업데이트 버튼이 활성화 되어 보이며 업데이트 진행하시면 됩니다. 현재는 15.4.4 가 최신이군요. VS2013, 2015 쓰다가 예전에 설치한 2017쓰려고 보니까 이슈가 보이네요.
[C#][다음API] 좌표로 주소를 얻어내기 좌표로 주소를 얻어내기 다음 API http://apis.map.daum.net/web/sample/coord2addr/ #region " [ gps 좌표로 주소(행정동) 반환 ] " public class ToAddress { public string type { get; set; } public string code { get; set; } public string name { get; set; } public string fullName { get; set; } public string regionId { get; set; } public string name0 { get; set; } public string code1 { get; set; } public string name1 { get; se..
[C#][EF] 들어오는 TDS(Tabular Data Stream)의 RPC(원격 프로시저 호 출) 프로토콜 스트림이 잘못되었습니다. 매개 변수 1("@0_0"): 제공된 값이 데이터 형식 geography의 잘못된 인스턴스입니다. 원본 데이.. 들어오는 TDS(Tabular Data Stream)의 RPC(원격 프로시저 호 출) 프로토콜 스트림이 잘못되었습니다. 매개 변수 1("@0_0"): 제공된 값이 데이터 형식 geography의 잘못된 인스턴스입니다. 원본 데이터에 잘못된 값이 있는지 확인하십시오. 잘못된 값의 예로는 소수 자릿수가 전체 자릿수보다 큰 숫자 형식의 데이터를 들 수 있습니다. shp 파일에서 geometry data type 을 geography type으로 변환 후 EF6 -> mssql bulk insert 과정에서 만난 에러메세지 입니다. 참고 : https://www.exceptionnotfound.net/fixing-sql-server-spatial-not-a-valid-instance-of-geography-er..