Devam Ediyor

SMTP SendUsing configuration Server ERROR

Here is the server error message:

The "SendUsing" configuration value is invalid.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: [url removed, login to view]: The "SendUsing" configuration value is invalid.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[COMException (0x80040220): The "SendUsing" configuration value is invalid.

]

[TargetInvocationException: Exception has been thrown by the target of an invocation.]

[url removed, login to view](String name, BindingFlags invokeAttr, Object target, Object[] args, Boolean[] byrefModifiers, Int32 culture, String[] namedParameters) +0

[url removed, login to view](String name, BindingFlags invokeAttr, Binder binder, Object target, Object[] args, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParameters) +468

[url removed, login to view](Object obj, String methodName, Object[] args) +58

[HttpException (0x80004005): Could not access '[url removed, login to view]' object.]

[url removed, login to view](Object obj, String methodName, Object[] args) +113

[url removed, login to view](MailMessage message) +1840

[url removed, login to view](MailMessage message) +150

classifieds.support.btsubmit_Click(Object sender, EventArgs e)

[url removed, login to view](EventArgs e) +108

[url removed, login to view](String eventArgument) +57

[url removed, login to view](IPostBackEventHandler sourceControl, String eventArgument) +18

[url removed, login to view](NameValueCollection postData) +33

[url removed, login to view]() +1277

I have checked permissions for "aspnet" and it has access to modify on the server root directory and Documents ans Settings. I have made sure that [url removed, login to view] = "localhost"

Public Function sendmail(ByVal mTo As String, ByVal mcc As String, ByVal mfrom As String, ByVal mbody As StringBuilder, ByVal msub As String)

Dim MyMessage As New MailMessage

With MyMessage

.To = mTo

.Cc = mcc

.From = mfrom

.Subject = msub

.Body = [url removed, login to view]

.BodyFormat = [url removed, login to view]

End With

[url removed, login to view] = "localhost"

[url removed, login to view](MyMessage)

End Function

Can't figure out the error. Also wondering if there is any benefit to move from [url removed, login to view] to [url removed, login to view]

I can provide the email program source code the code behind files and can make changes as directed. You will be able to try it yourself at the website to experience the error.

I don't think that this bug is a $30.00 job!

Thanks

Beceriler: .NET

Daha fazlasını görün: smtp sendusing, systemwebhttpexception sendusing configuration value invalid, exception thrown target invocation smtp, sendusing configuration value invalid, systemwebmail sendusing configuration value invalid, sendusing configuration error, sendusing smtp, smtp error send using, smtpserver sendusing, systemwebmail smtpmailsend sendusing error, sendusing error, sendusing erro, systemruntimeinteropservicescomexception sendusing, smtp sendusing aspnet, systemwebmail sendusing, net sendusing error, system server, review bug, out source web httpexception, invalid email error, e value, bug review, net smtp sendusing, aspnet email sendusing exception, sendusing systemnetmail

İşveren Hakkında:
( 21 değerlendirme ) Lacombe, Canada

Proje NO: #136835