Completely Free .NET word API

Forums » .NET » ASP.NET »

Error loading type library/DLL. in system.web.mail when i use upload my code in server

Posted Date: 30 Oct 2004      Posted By:: anil tiwari     Member Level: Bronze  Member Rank: 0     Points: 2   Responses: 2

Hai All
i send email and it's working on local server at home
i've uploaded my file to site
and i get this error when i send the email :

Error loading type library/DLL.
Exception Details: System.Runtime.InteropServices.COMException: Error
loading type library/DLL.
i line : System.Web.Mail.SmtpMail.Send(mail)

plz send me suggestion as soon as

CODE is below

Dim mail As New MailMessage
mail.To = rc
mail.From = sd
mail.Bcc = ""
mail.Cc = ""
'mail.Bcc = ""
mail.BodyFormat = MailFormat.Html
mail.Subject = "testing forh"
mail.Fields.Add("", "smtp.mahhom")
mail.Fields.Add("", "25")
mail.Fields.Add("", "2")
mail.Fields.Add("", "1") 'basic authentication
mail.Fields.Add("", "h4u") 'set your username here
mail.Fields.Add("", "hh1") 'set your password here
'SmtpMail.SmtpServer = "smtp.mahom" 'your real server goes here
mail.Body = "<font face=""Verdana"">This is an testing of emailing User-Entry " & "If you find it in your's Inbox , Please delete it." & dataGridHTML
System.Web.Mail.SmtpMail.SmtpServer = "smtp.mhom"


#5616    Author: Atal Bihari Upadhyay      Member Level: Gold      Member Rank: 0     Date: 30/Oct/2004   Rating: 2 out of 52 out of 5     Points: 2

I feel this problem is related with dotnet framework.

Try to run dotnetfix.exe on the server m/c and Ihope this problem will go.


#5667    Author: Shashijeevan M.P.      Member Level: Silver      Member Rank: 0     Date: 02/Nov/2004   Rating: 2 out of 52 out of 5     Points: 2

Hi anil,

The SMTP host property is set to 'smtp.mahom' it this correct host?

Could catch this exception and post the stack trace?

Also, you can verify with the hosting site if there is any support available from them because they might have encountered such problems earlier and might have have got ready solution.


Post Reply     

 This thread is locked for new responses. Please post your comments and questions as a separate thread.
If required, refer to the URL of this page in your new post.

  • Return to Discussion Forum
  • Start new thread

  • Subscribe to Subscribers
    Active Members
    TodayLast 7 Daysmore...

    Awards & Gifts
    Talk to Webmaster Tony John

    Online Members

    Copyright © SpiderWorks Technologies Pvt Ltd., Kochi, India