.NET에서 CDOEXM.dll을 참조하지 못해 메일박스 관련 코드를 만들 수 없던 문제가 있었습니다. 문제는 다음과 같은 방법으로 해결 가능합니다. 


1.

Copy CDOEX.DLL off your exchange server to the workstation that has exchange management and .Net Development on it "C:\Program Files\Common Files\Microsoft Shared\CDO\"


2.

Register the DLL

Command Line: REGSVR32 "C:\Program Files\Common Files\Microsoft Shared\CDO\CDOEX.DLL" 

Add reference in .Net for CDOEX.DLL


3.

Now add reference for CDOEXM.DLL


You may need to remove all references first and then re-add them in this order

"C:\Program Files\Exchsrvr\bin\CDO.DLL"

"C:\Program Files\Common Files\Microsoft Shared\CDO\CDOEX.DLL"

"C:\Program Files\Exchsrvr\bin\CDOEXM.DLL"


Or Clear the "Interop.*.dll" files out of the following folders

"C:\Documents and Settings\UserName\My Documents\Visual Studio Projects\ProjectName\obj"

and

"C:\Documents and Settings\UserName\My Documents\Visual Studio Projects\ProjectName\bin"

And then Remove and re-add the CDO References.



I suspect it works for a few of you that have .Net Dev on a full exchange server because CDOEX.DLL exists on that machine





Posted by 떼르미
,


자바스크립트를 허용해주세요!
Please Enable JavaScript![ Enable JavaScript ]