Updating cdo dll jewish speed dating in new york city
[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.
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.
But if it's on VS2005, then that's unlikely since your machine isn't likely to be a 64-bit machine.
If the error is continuing after you have completed all these methods, please use the comment form at the bottom of the page to contact us.
If you are having a problem while downloading the library, you can browse Some programs need updated dynamic link libraries.
When your operating system is not updated, it cannot fulfill this need.
Otherwise, the following exception or something similar will be thrown every time the code tries to initialize the MAPI Session.
"Retrieving the COM class factory for component with CLSID failed due to the following error: 80040154." Additionally, [STAThread] attribute directive MUST be declared above the Main() method of your console application.