I migrated a site from one server to another. Now the ASp.net sendmail function isn't working.
I compared cdosys.dll on both systems, and found that there is a version/size difference between the two (the original server has an older version). I tried copying over, but windows 2000 says the file is in use by another process.
Any ideas on what I can look at?
The exact error I get is:
Error: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Runtime.InteropServices.COMException (0x80029C4A): Error loading type library/DLL. --- End of inner exception stack trace --- at System.RuntimeType.InvokeDispMethod(String name, BindingFlags invokeAttr, Object target, Object args, Boolean byrefModifiers, Int32 culture, String namedParameters) at System.RuntimeType.InvokeMember(String name, BindingFlags invokeAttr, Binder binder, Object target, Object args, ParameterModifier modifiers, CultureInfo culture, String namedParameters) at System.Web.Mail.CdoSysHelper.Send(MailMessage message) at System.Web.Mail.SmtpMail.Send(MailMessage message) at crm.tvmedia.ca.ClientTasks.AddTask_Click(Object sender, CommandEventArgs e) in \\terminal\crm\ClientTasks.aspx.vb:line 187