Tridion 2009 Custom Page: How to fix the error message “Object required: 'TMSMail'”?
-
16-06-2021 - |
Question
We are using a custom page on Tridion 2009. This custom page was working fine earlier.
Recently we have moved this to another server. Now this custom page is throwing error saying that
Error 424 occurred while rendering the Page: Object required: 'TMSMail'
(source: WriteOut TMSMail.GetHTMLStartTag())
Please suggest on how to fix this.
Solution
When am looking around DLL's and the tridion MMC Snap-In, I got an Idea.
What will happen if we add the below entry on MMC Snap-In
- Click on Script Extension
- Add a new object
- TCM Object Name:
TMSMail
- COM Object Name:
TMSScriptExtension.ProfileHelper
- TCM Object Name:
EDIT:
Finally, I have solved after a lot of trails.
Below are the steps I followed to solve:-
- First I have added above entry on MMC Snap-In
- I found the dll location for this extension and registered this using
regsvr32
command - Restarted
COM+
service
Now tried it, its working fine.
Thanks a lot for the inputs.
OTHER TIPS
This looks to be specific to the code of your custom page rather than a generic Tridion error.
If you're using a third party library (from tmssoftware.com perhaps?) check that it's installed/available on your new server.
Also, the DLL with the TmsMail class may need to be added to the GAC or the registry (look up regasm.exe on how to do this).