www.webdeveloper.com
Results 1 to 2 of 2

Thread: Error in RegularExpressionValidator Control...

  1. #1
    Join Date
    Apr 2004
    Posts
    27

    Unhappy Error in RegularExpressionValidator Control...

    Server Error in '/' Application.
    --------------------------------------------------------------------------------

    parsing "^(([a-zA- Z]:)|(\\{2}\w+)\$?)(\\(\w[\w ].*))+(.mp3|.MP3|.mpeg|.MPEG|.m3u|.M3U)$" - [x-y] range in reverse order. Parameter name: ^(([a-zA- Z]:)|(\\{2}\w+)\$?)(\\(\w[\w ].*))+(.mp3|.MP3|.mpeg|.MPEG|.m3u|.M3U)$
    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.ArgumentException: parsing "^(([a-zA- Z]:)|(\\{2}\w+)\$?)(\\(\w[\w ].*))+(.mp3|.MP3|.mpeg|.MPEG|.m3u|.M3U)$" - [x-y] range in reverse order. Parameter name: ^(([a-zA- Z]:)|(\\{2}\w+)\$?)(\\(\w[\w ].*))+(.mp3|.MP3|.mpeg|.MPEG|.m3u|.M3U)$

    Source Error:


    Line 695: </tr>
    Line 696: <span id="Span1" runat="Server"></span>
    Line 697: <asp:RegularExpressionValidator
    Line 698: id="RegularExpressionValidator1" runat="server"
    Line 699: ErrorMessage="Only mp3, m3u or mpeg files are

  2. #2
    Join Date
    Nov 2002
    Location
    Auburn, AL
    Posts
    9,222
    look's like some of paul jr's wanna be 1337! Jeese, I wish I were better at regex so I could help you. Ill do some reading up on it see if I can't find a problem then. my use of regex is limited, only use it on one page.
    http://aspnet.4guysfromrolla.com/articles/022603-1.aspx
    this may help.
    Last edited by PeOfEo; 05-10-2004 at 08:17 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles