블로그 이미지
Every unexpected event is a path to learning for you.

카테고리

분류 전체보기 (2366)
Unity3D (587)
Programming (473)
Unreal (4)
Gamebryo (56)
Tip & Tech (191)
협업 (36)
3DS Max (3)
Game (12)
Utility (117)
Etc (92)
Link (31)
Portfolio (19)
Subject (90)
iOS,OSX (38)
Android (13)
Linux (5)
잉여 프로젝트 (2)
게임이야기 (1)
Memories (20)
Interest (37)
Thinking (37)
한글 (26)
PaperCraft (5)
Animation (408)
Wallpaper (2)
재테크 (19)
Exercise (3)
나만의 맛집 (3)
냥이 (10)
육아 (16)
Total1,365,172
Today0
Yesterday373
Statistics Graph

달력

« » 2020.2
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29

공지사항

태그목록

OS : Win7 x64

Version : Unity5 5.4.0


[에러메시지]

OdbcException: ERROR [IM002] [Microsoft][ODBC 드라이버 관리자] 데이터 원본 이름이 없고 기본 드라이버를 지정하지 않았습니다.


유니티4에서 잘 사용하던 odbc가 유니티5에서 실행하니 위와 같은 에러를 뱉어서 확인해보니 64bit용 재배포 패키지를 깔라고 한다.


[재배포 패키지 다운로드]

https://www.microsoft.com/ko-KR/download/details.aspx?id=13255

(링크에서 64bit용 재배포 패키지를 깔아 주면 된다.)


[참조]

I had the same issue and this Q&A was very helpful to narrow down my problem.
On a Windows 7 64 bit machine with Unity 64 bit, the Unity's Mono System.Data.Odbc class relies on the odbc32.dll that is located in Windows\System32 and not the one in Windows\SysWOW64. I found out the driver wasn't listed in the odbcad32.exe administration tool located in Windows\System32.
Installing the 64 bit version of Microsoft Access Database Engine 2010 Redistributable solved my issues as I now have the correct 64 bit driver listed in the odbcad32.exe application.
The drivers can be downloaded from here: https://www.microsoft.com/en-us/download/details.aspx?id=13255
The driver name in all the connection strings in the code must be updated with the new driver's name (that can be seen with the odbc administration tool).
I am now using Unity 5.3 64 bit and connecting successfully to the data source, in my case a dbf file.
I am sure this doesn't cover all the error IM002 cases but if you have this issue, this is one thing you want to exclude anyway.



[참조출처]

http://forum.unity3d.com/threads/odbc-connections-impossible-with-unity5.342846/

Posted by blueasa

댓글을 달아 주세요

  1. 2016.08.24 14:05  댓글주소  수정/삭제  댓글쓰기

    비밀댓글입니다