I searched a lot, but, unfortunately, nothing worked. finally, I uninstalled everything and installed again in the following order to avoid conflicts and problems.
1.Ms office 2003
2.Visual Studio 2008
3.Ms Office 2003 Service Pack 2
4.VSTO Runtime 3.0
and it worked for me.
Now it works without exceptions and errors.
therefore, if something does not work for your cause, you can finally go for it.
source share