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 179311
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T14:23:05+00:00 2026-05-11T14:23:05+00:00

I am trying to migrate an old classic asp application to IIS 7.0 with

  • 0

I am trying to migrate an old classic asp application to IIS 7.0 with win2k8 and I definately don’t want to change the old code if I can help it.

I have set a date format in the Customise Regional Options in the Date formats in the regional and and language options in the control panel to dd-MMM-yy.

I am still getting Conversion_failed_when_converting_datetime_from_character_string errors using this date format even after reboots.

I am using also using SQL Server Express 2005.

Where else do you need to set date formats? Should they all be picked up from the machine setting?

The old code does something really dumb, but again I don’t want to have to change it and then test it all again.

The old code effectively does this ‘Insert Into MyTable (ThisDate) Values (” & Now() & ”)’

Generates Insert Into MyTable (ThisDate) Values (’17/03/2009 3:40:48 p.m.’)

Msg 241, Level 16, State 1, Line 1 Conversion failed when converting datetime from character string.

What it’s ACTUALLY complaining about is the ‘p.m.’ part of the string dispite the Region settings on the machine specifying to NOT use this.

  • 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. 2026-05-11T14:23:05+00:00Added an answer on May 11, 2026 at 2:23 pm

    There is only one place you have to set it, for any application that pays attention to regional settings, and you’ve already set it there.

    What is ‘Conversion_failed_when_converting_datetime_from_character_string‘ from? VBScript? Maybe it doesn’t pay attention to regional settings.

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

Sidebar

Related Questions

I'm trying to migrate an old asp.net 1.1 application to target the new .net
I'm trying to migrate my application from the old App Engine db to ndb.
I am trying to migrate some code from an old naming scheme to the
I am trying to migrate an application from OC4J to Weblogic, but I can
I'm trying to write Linq-To-SQL queries in LinqPad to help migrate users from old
I'm trying to migrate a desktop application to rails (also dealing with quite old
I'm trying to migrate to ASP.Net MVC 2 and meet some issues. Here is
I am trying to migrate a Java application built by Ant to Maven2. Among
I'm trying to upgrade an old 1.2.6 Rails application to 2.3.8, and I'm running
trying to migrate my existing asp.net website which is using mysql to Windows Azure

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.