we have created custom email button to redirect to outlook , when i clicked on email button shows me error, before that it working fine
please help
You’re sending/creating emails using Outlook on the client PC? If so, make sure Outlook is actually open/running when you click the button. That used to be a problem with Access macros back in the day…if Outlook wasn’t open, macros would stop due to SendMail errors (if no On Error clause was in the macro).
yes sending email using outlook
i have open outlook . still getting this error
So the custom email button just stopped working today…seems odd if it was working previously. Stack trace doesn’t show much in the way of valuable info.
Outlook is open but is it working (valid credentials, able to send other messages, etc.)? Domain password expired? Just trying to think of ANYTHING that might be causing Outlook to trigger the error…outside of this I’m pretty much out of ideas.
May have to dig into the logs to get more relevant data to help you.
Jinks as @JMPCONJ already mentioned the error isn’t much help.
which kind of data you need?
Is this button working for other users?
no.
OK, CS0308 is a C# error…if it was working previously then a new mod must have gone sideways. Any backup copies?
no backup copies.
do you know how to remove this error?
Check the Microsoft link I posted - mentions a couple of techniques