Click here to Skip to main content
15,887,135 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Converting Rows in columns Pin
Richard Deeming30-Nov-15 2:03
mveRichard Deeming30-Nov-15 2:03 
GeneralRe: Converting Rows in columns Pin
byka30-Nov-15 3:29
byka30-Nov-15 3:29 
GeneralRe: Converting Rows in columns Pin
Richard Deeming30-Nov-15 4:03
mveRichard Deeming30-Nov-15 4:03 
GeneralRe: Converting Rows in columns Pin
byka30-Nov-15 8:54
byka30-Nov-15 8:54 
QuestionAbout ASP.Net Pin
Member 1209320927-Oct-15 20:28
Member 1209320927-Oct-15 20:28 
AnswerRe: About ASP.Net Pin
PANKAJMAURYA27-Oct-15 21:34
professionalPANKAJMAURYA27-Oct-15 21:34 
QuestionUnit testing tool for universal windows 10 app except Unit test app(universal windows) library Pin
Anjani Rajdev27-Oct-15 20:18
Anjani Rajdev27-Oct-15 20:18 
QuestionError: The parameter 'addresses' cannot be an empty string. Pin
Member 876166727-Oct-15 13:27
Member 876166727-Oct-15 13:27 
Hello

The above is the error message I am getting followed by a long Stack Trace.

I have a small form here http://www.dimadayoub.net/contact.aspx[^] and, to test it, I leave the email field blank on purpose (when I do the same for the other two fields, Name and Message, I get an on screen warning to complete the fields - which is what should happen).

When I do the same with the email field, I get the above server error. The relevant code I have is this:

 <p><asp:Label ID="Email" runat="server" Text="Email"></asp:Label>
<asp:TextBox ID="your_email" runat="server"></asp:TextBox>
              <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server"
              ErrorMessage="*" ControlToValidate="your_email"
                  ValidationGroup="vgSubmit" ForeColor="#FF6666"></asp:RequiredFieldValidator> 
              
            <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" Display="Dynamic" ErrorMessage="Please complete the Email field"
                  ValidationGroup="vgSubmit" ControlToValidate="your_email"

                ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator></p>


What should I be correcting, please?
AnswerRe: Error: The parameter 'addresses' cannot be an empty string. Pin
Richard Deeming28-Oct-15 3:29
mveRichard Deeming28-Oct-15 3:29 
GeneralRe: Error: The parameter 'addresses' cannot be an empty string. Pin
Member 876166728-Oct-15 8:32
Member 876166728-Oct-15 8:32 
GeneralRe: Error: The parameter 'addresses' cannot be an empty string. Pin
Richard Deeming28-Oct-15 8:41
mveRichard Deeming28-Oct-15 8:41 
GeneralRe: Error: The parameter 'addresses' cannot be an empty string. Pin
Member 876166728-Oct-15 9:35
Member 876166728-Oct-15 9:35 
GeneralRe: Error: The parameter 'addresses' cannot be an empty string. Pin
Richard Deeming28-Oct-15 9:42
mveRichard Deeming28-Oct-15 9:42 
GeneralRe: Error: The parameter 'addresses' cannot be an empty string. Pin
Member 876166728-Oct-15 12:15
Member 876166728-Oct-15 12:15 
Questionhow to create CSS file from code behind in ASP.NET Pin
Shivendramca1026-Oct-15 2:25
Shivendramca1026-Oct-15 2:25 
AnswerRe: how to create CSS file from code behind in ASP.NET Pin
Debojyoti Saha26-Oct-15 21:51
professionalDebojyoti Saha26-Oct-15 21:51 
QuestionAsp.net MVC Pin
PRAKAS PANDEY23-Oct-15 19:47
PRAKAS PANDEY23-Oct-15 19:47 
AnswerRe: Asp.net MVC Pin
Afzaal Ahmad Zeeshan23-Oct-15 21:13
professionalAfzaal Ahmad Zeeshan23-Oct-15 21:13 
AnswerRe: Asp.net MVC Pin
F-ES Sitecore23-Oct-15 23:53
professionalF-ES Sitecore23-Oct-15 23:53 
QuestionWriting an ASP.NET custom error page Pin
AnneThorne23-Oct-15 10:38
AnneThorne23-Oct-15 10:38 
AnswerRe: Writing an ASP.NET custom error page Pin
lokerjobindo23-Oct-15 15:00
lokerjobindo23-Oct-15 15:00 
GeneralRe: Writing an ASP.NET custom error page Pin
AnneThorne25-Oct-15 2:53
AnneThorne25-Oct-15 2:53 
AnswerRe: Writing an ASP.NET custom error page Pin
Daniel Miller23-Oct-15 15:40
professionalDaniel Miller23-Oct-15 15:40 
GeneralRe: Writing an ASP.NET custom error page Pin
AnneThorne25-Oct-15 2:53
AnneThorne25-Oct-15 2:53 
Questionissues related to asp.net application Pin
Member 1191972220-Oct-15 20:25
Member 1191972220-Oct-15 20: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.