Updating cdo dll

Otherwise, the following exception or something similar will be thrown every time the code tries to initialize the MAPI Session.

updating cdo dll-20updating cdo dll-2updating cdo dll-68

You can even receive an error when Windows is loading.

Try adding the assembly to the GAC (which gives full trust by default) to see if that fixes your problem.

I am facing the same problem,i think the problem with this DLL with VS 2005 only,since it is working fine with VS 2003.

[STAThread] static void Main(string[] args) Hi, Thanks for your useful reply,i have the following on my case : 1) i dont have other than one target platform on my VS 2005 which is "Any CPU".

2) i use the CDO on a web application and not on console application use this the STAThread Attribute.

Leave a Reply