Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7056123
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T03:49:49+00:00 2026-05-28T03:49:49+00:00

I am using File Helpers 2.9.9 and I am wondering how do I get

  • 0

I am using File Helpers 2.9.9 and I am wondering how do I get it skip over bad records instead of it just crashing?

object[] transactions = engine.ReadStream(textReader); // will crash if one record fails.

I am also having trouble with the DateTime.I can’t see why it can’t convert “12/22/2011” using the formats I have set.

Error Converting '"12/22/2011"' to type: 'DateTime'.  does not match any of the given formats: 'MM/dd/yyyy', 'MM/d/yyyy', 'M/d/yyyy'
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: FileHelpers.ConvertException: Error Converting '"12/22/2011"' to type: 'DateTime'.  does not match any of the given formats: 'MM/dd/yyyy', 'MM/d/yyyy', 'M/d/yyyy'
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T03:49:49+00:00Added an answer on May 28, 2026 at 3:49 am

    1) [EDIT] – I was wrong, you can set engine.ErrorManager.ErrorMode to SaveAndContinue – see the examples @ http://www.filehelpers.com/example_errorhandling.html

    2) based on the single quotes containing a string with double-quotes, I would say the problem is that you need to provide the FieldQuoted attribute – see http://www.filehelpers.com/attributes.html

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I get an error when using razor helpers in an MVC 3 project (did
I have a view helper file, app/helpers/analysis_helper.rb, whose toplevel methods I've been using in
I am using File Helpers and I am unsure how to take my data
I currently have a class file with the following enumeration: using System; namespace Helper
i'm currently using File::Basename fileparse to separate out a file's directory, base file name
I'm Using FILE * F opened in _sfopen () I'm reading from the file
I've been using File.ReadAllText() to open a CSV file, but every time I forget
I am using File IO, to save a file in local system(i.e PC C:
I get a page using file_get_contents from a remote server, but I want to
My code is using file_get_contents() to make GET requests to an API endpoint. It

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.