Announcement

Collapse
No announcement yet.

Email Problem

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Email Problem

    Hi David,

    On two machines I am unable to open the email body using the latest CF1.14. When double clicking the message nothing happens and the following error log is being generated.

    5/30/2007 11:30:01 AM
    File or assembly name Microsoft.mshtml, or one of its dependencies, was not found.
    at Email.emailsender.loadHTMLString(String body)
    at Email.Email.emaillist_DoubleClick(Object sender, EventArgs e)

    I have tried enabling and starting all services to see if this is the cause, with all services running the emails are not loading.

    I have verified that the file mshtml.dll is on the pc in the windows\system32 directory.

    Would you know what could be causing this error?

  • #2
    can you use the web browser? It is using the same code, plus mshtml, to view the HTML email bodies...

    Is your system stripped down at all? Is it XP?

    david
    __________________
    CENTRAFUSE http://www.centrafuse.com
    01 Jeep Cherokee Sport 4x4 Installed
    M10000/512Mb/20GB, Lilliput 7", Holux GM-210

    Comment


    • #3
      Try placing these files in Email plugin directory

      axshdocvw.dll
      microsoft.mshtml.dll (or mshtml.dll)
      shdocvw.dll

      Let me know if it works and I will include them...

      david
      __________________
      CENTRAFUSE http://www.centrafuse.com
      01 Jeep Cherokee Sport 4x4 Installed
      M10000/512Mb/20GB, Lilliput 7", Holux GM-210

      Comment


      • #4
        those files did not help although I may have made some progress. I replaced the email.dll with the one from version 1.12 I have on another pc and now the email box is open but with no body showing which was a known issue. I have a copy of 1.13 at home that is working properly so I will try the email.dll from that plugin later tonight, hopefully this will help.

        Comment


        • #5
          david, in answer to your question, one of the pc's is the stripped down one in my car however I have now tested on 3 other pc's and only 1 desktop pc will open the email body properly, I have been unable so far to determine why the plugin works with the 1 pc. All 4 pc's are running xp. I have tried copying over the email plugin directory from the working machine but that does not work either. With all 3 of the non working pc's if I copy over the older email plugin I am able to open the message body but see no text.

          I am also not able to find the axshdocvw.dll library on any of my machines. I tried copying over the other two files but this did not help.

          Comment


          • #6
            The old email plugin was not working, which is why it loads up... I use MSHTML to populate the browser window with the HTML from the email...

            I have tested on 6 machines with XP Pro SP2 in the office with no extras installed and it works on all of them...

            if you can find out what is causing this I will update and fix it, but I cannot reproduce the issue...

            I did search on the message you got and a few posts mentioned putting those files in the directory...

            david
            __________________
            CENTRAFUSE http://www.centrafuse.com
            01 Jeep Cherokee Sport 4x4 Installed
            M10000/512Mb/20GB, Lilliput 7", Holux GM-210

            Comment


            • #7
              Hi David,

              I seem to have resolved the issue with the emails. It seems the microsoft.mshtml.dll file is not included in the plugin. I have downloaded a program on the net that included the microsoft.mshtml.dll and performed the following steps to activite the dll.

              Copy microsoft.mshtml.dll, gacutil.exe and gacutil.config to the c:\windows\microsoft.net\framework\v1.1.4322 directory

              from a dosprompt in the above directory run GACUTIL /I MICROSOFT.MSHTML.DLL

              go to control panel, administrator, .net configurator and add microsoft.mshtml.dll to the configured assemblies.

              And that's it emails are now working on 2 of the 3 machines and one left to update tonight.

              Could you have the plugin take care of this automatically?

              Comment


              • #8
                strange that all my default XP installs appear to have it...

                Are you using Home or Pro?

                I will try and see why some systems would not have it and see if I can register it...

                Did it not work if you simply placed the file in the Email or Centrafuse root directory and did not register it in the GAC?

                david
                __________________
                CENTRAFUSE http://www.centrafuse.com
                01 Jeep Cherokee Sport 4x4 Installed
                M10000/512Mb/20GB, Lilliput 7", Holux GM-210

                Comment


                • #9
                  2 of the systems were xp pro and one was home. One of the systems has quite a bit of software installed the other two are mostly running just xp and a couple of other programs.

                  Putting the file in the directory did not work, I had to register it in the GAC although I only tested that on one pc. The others I copied the files and registered them immediately.

                  Attached is an article I found where the program Infopath had problems with the microsoft.mshtml missing. I have found several instances where not including and registering the microsoft.mshtml.dll file in the developer software has caused problems for users that do not have this already registered on their machines. Do you happen to have Visual Studio installed on all of the pc's you tested? The .dll is definetly included in that software.

                  http://blogs.msdn.com/infopath/archi...27/234911.aspx

                  Comment


                  • #10
                    I will get this fixed and update the installer...

                    david
                    __________________
                    CENTRAFUSE http://www.centrafuse.com
                    01 Jeep Cherokee Sport 4x4 Installed
                    M10000/512Mb/20GB, Lilliput 7", Holux GM-210

                    Comment


                    • #11
                      Similar problems with the Email plug-in.

                      I'm having the same problem.

                      Where can I find microsoft.mshtml.dll, gacutil.exe and gacutil.config ?

                      Comment


                      • #12
                        I will have a new installer with this fixed up within days...

                        david
                        __________________
                        CENTRAFUSE http://www.centrafuse.com
                        01 Jeep Cherokee Sport 4x4 Installed
                        M10000/512Mb/20GB, Lilliput 7", Holux GM-210

                        Comment

                        Working...
                        X