Hello all,
I wrote up a Windows.NET application (in VB.NET) to send emails using MailMessage. Problem is I keep getting some kind of permissions error that throws:
Could not create CDO.Message object
Now, the strange thing is that the exact same code works in an ASP.NET page.
The code is the same in both, and both point to the same network exchange server. When created in ASP.NET it works, when created in VB.Net it fails.
I looked at the permissions for the CDONTS.dll and CDOSYS.dll files in the Winnt/system32 directory, and they both have EVERYONE set to read and execute.
Puzzled on this one ...
Helj
I wrote up a Windows.NET application (in VB.NET) to send emails using MailMessage. Problem is I keep getting some kind of permissions error that throws:
Could not create CDO.Message object
Now, the strange thing is that the exact same code works in an ASP.NET page.
The code is the same in both, and both point to the same network exchange server. When created in ASP.NET it works, when created in VB.Net it fails.
I looked at the permissions for the CDONTS.dll and CDOSYS.dll files in the Winnt/system32 directory, and they both have EVERYONE set to read and execute.
Puzzled on this one ...
Helj