Click here to Skip to main content
15,914,222 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Sending email in ASP.NET 2.0 Pin
Christian Graus18-Nov-07 10:40
protectorChristian Graus18-Nov-07 10:40 
GeneralRe: Sending email in ASP.NET 2.0 Pin
nickabradley18-Nov-07 10:43
nickabradley18-Nov-07 10:43 
GeneralRe: Sending email in ASP.NET 2.0 Pin
Michael Sync18-Nov-07 15:09
Michael Sync18-Nov-07 15:09 
GeneralRe: Sending email in ASP.NET 2.0 Pin
nickabradley18-Nov-07 15:23
nickabradley18-Nov-07 15:23 
GeneralRe: Sending email in ASP.NET 2.0 Pin
Michael Sync18-Nov-07 15:36
Michael Sync18-Nov-07 15:36 
GeneralRe: Sending email in ASP.NET 2.0 Pin
nickabradley18-Nov-07 16:07
nickabradley18-Nov-07 16:07 
GeneralRe: Sending email in ASP.NET 2.0 Pin
Michael Sync18-Nov-07 16:27
Michael Sync18-Nov-07 16:27 
GeneralRe: Sending email in ASP.NET 2.0 Pin
nickabradley18-Nov-07 16:33
nickabradley18-Nov-07 16:33 
Server Error in '/feedback' Application.
--------------------------------------------------------------------------------

Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS0103: The name 'Email' does not exist in the current context

Source Error:



Line 23: try
Line 24: {
Line 25: MailAddress fromAddress = new MailAddress(Email.Text, Name.Text);
Line 26: smtpClient.Host = "localhost";
Line 27: smtpClient.Port = 25;


Source File: c:\Documents and Settings\Nick\Desktop\form\feedback\feedback.aspx.cs Line: 25



Show Detailed Compiler Output:


C:\Program Files\Microsoft Visual Studio 8\Common7\IDE> "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\csc.exe" /t:library /utf8output /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll" /R:"C:\WINDOWS\assembly\GAC_32\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Runtime.Serialization\3.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll" /R:"C:\WINDOWS\assembly\GAC_32\System.Data\2.0.0.0__b77a5c561934e089\System.Data.dll" /R:"C:\Documents and Settings\Nick\Local Settings\Temp\Temporary ASP.NET Files\feedback\32aabdd3\593d0850\App_Web_vylzudcx.dll" /R:"C:\Documents and Settings\Nick\Local Settings\Temp\Temporary ASP.NET Files\feedback\32aabdd3\593d0850\App_Code.civsghgv.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.ServiceModel\3.0.0.0__b77a5c561934e089\System.ServiceModel.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Web.Services\2.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Configuration\2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Web.Mobile\2.0.0.0__b03f5f7f11d50a3a\System.Web.Mobile.dll" /R:"C:\WINDOWS\assembly\GAC_32\System.Web\2.0.0.0__b03f5f7f11d50a3a\System.Web.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.IdentityModel\3.0.0.0__b77a5c561934e089\System.IdentityModel.dll" /out:"C:\Documents and Settings\Nick\Local Settings\Temp\Temporary ASP.NET Files\feedback\32aabdd3\593d0850\App_Web_ibwg1szs.dll" /debug- /optimize+ /win32res:"C:\Documents and Settings\Nick\Local Settings\Temp\Temporary ASP.NET Files\feedback\32aabdd3\593d0850\ibwg1szs.res" /w:4 /nowarn:1659;1699 "C:\Documents and Settings\Nick\Local Settings\Temp\Temporary ASP.NET Files\feedback\32aabdd3\593d0850\App_Web_ibwg1szs.0.cs" "C:\Documents and Settings\Nick\Local Settings\Temp\Temporary ASP.NET Files\feedback\32aabdd3\593d0850\App_Web_ibwg1szs.1.cs" "C:\Documents and Settings\Nick\Local Settings\Temp\Temporary ASP.NET Files\feedback\32aabdd3\593d0850\App_Web_ibwg1szs.2.cs"


Microsoft (R) Visual C# 2005 Compiler version 8.00.50727.42
for Microsoft (R) Windows (R) 2005 Framework version 2.0.50727
Copyright (C) Microsoft Corporation 2001-2005. All rights reserved.

c:\Documents and Settings\Nick\Desktop\form\feedback\feedback.aspx.cs(25,55): error CS0103: The name 'Email' does not exist in the current context
c:\Documents and Settings\Nick\Desktop\form\feedback\feedback.aspx.cs(25,67): error CS0103: The name 'Name' does not exist in the current context
c:\Documents and Settings\Nick\Desktop\form\feedback\feedback.aspx.cs(33,47): error CS0103: The name 'remarks' does not exist in the current context






--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.832; ASP.NET Version:2.0.50727
GeneralRe: Sending email in ASP.NET 2.0 Pin
Christian Graus18-Nov-07 17:59
protectorChristian Graus18-Nov-07 17:59 
GeneralRe: Sending email in ASP.NET 2.0 Pin
nickabradley19-Nov-07 15:48
nickabradley19-Nov-07 15:48 
GeneralRe: Sending email in ASP.NET 2.0 Pin
Michael Sync19-Nov-07 15:55
Michael Sync19-Nov-07 15:55 
GeneralRe: Sending email in ASP.NET 2.0 Pin
nickabradley19-Nov-07 16:12
nickabradley19-Nov-07 16:12 
QuestionProblem in sending e-mails [modified] Pin
qmzph18-Nov-07 5:13
qmzph18-Nov-07 5:13 
AnswerRe: Problem in sending e-mails Pin
DigiOz Multimedia18-Nov-07 5:56
DigiOz Multimedia18-Nov-07 5:56 
QuestionProblem uploading files Pin
Zoltan Aszalos18-Nov-07 4:30
Zoltan Aszalos18-Nov-07 4:30 
AnswerRe: Problem uploading files Pin
Hesham Amin18-Nov-07 12:21
Hesham Amin18-Nov-07 12:21 
GeneralRe: Problem uploading files Pin
Zoltan Aszalos18-Nov-07 20:34
Zoltan Aszalos18-Nov-07 20:34 
GeneralRe: Problem uploading files Pin
Hesham Amin21-Nov-07 10:44
Hesham Amin21-Nov-07 10:44 
QuestionSeparate Projects for BLL & DAL Pin
Montu7618-Nov-07 2:37
Montu7618-Nov-07 2:37 
AnswerRe: Separate Projects for BLL & DAL Pin
Colin Angus Mackay18-Nov-07 2:55
Colin Angus Mackay18-Nov-07 2:55 
AnswerRe: Separate Projects for BLL & DAL Pin
pmarfleet18-Nov-07 8:01
pmarfleet18-Nov-07 8:01 
Questionget list of user Pin
ptvce17-Nov-07 20:15
ptvce17-Nov-07 20:15 
QuestionNetwork Traffic and Activity monitoring via ASP.Net Pin
MeNew17-Nov-07 17:12
MeNew17-Nov-07 17:12 
AnswerRe: Network Traffic and Activity monitoring via ASP.Net Pin
Michael Sync17-Nov-07 18:45
Michael Sync17-Nov-07 18:45 
GeneralRe: Network Traffic and Activity monitoring via ASP.Net [modified] Pin
MeNew19-Nov-07 4:25
MeNew19-Nov-07 4:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.