25-07-2006, 23:28
|
|
|
חבר מתאריך: 13.07.06
הודעות: 28
|
|
server error
שלום
פתחתי קובץ לקריאה ע"מ לשלוח מייל קבוצתי - באתר עסקי
הכל טוב ויפה,כשאני לוחץ שלח אני מקבל שגיאה
Object reference not set to an instance of an object.
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: System.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
Line 26:
Line 27: Dim objEmail As New MailMessage
Line 28: objEmail.To = objReader.GetString(0) שגיאה
Line 29: objEmail.From = From.Value
Line 30: objEmail.Subject = "Test Email"
יש למשהו רעיון
|