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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T05:09:40+00:00 2026-05-28T05:09:40+00:00

I am moving a classic asp website from a windows 2k3 server/iis6 environment to

  • 0

I am moving a classic asp website from a windows 2k3 server/iis6 environment to windows 2008r2/iis7. A couple of the pages pass the system date to an mssql database and the following error is occuring: The conversion of a char data type to a datetime data type resulted in an out-of-range datetime value. The date being passed is ’13/01/2011 hh:mm:ss AM’. I understand that the database is interpretting this as the 13th month and that is why the error.

What I don’t understand is where exactly this date is coming from. The page is using this snippet for the date:

    FormatDateTime(DATE() & " " & Time(), vbGeneralDate)

This should return a date in the format mm/dd/yyyy but it doesn’t seem to. Since web servers are using the same database I figure the problem must be web server specific.

I checked in control panel/regional settings and both are set to US english and the format there appears to be correct. Is the system date & time formats specified anywhere else? I could not find anything in IIS where I could set a default date format

  • 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-28T05:09:41+00:00Added an answer on May 28, 2026 at 5:09 am

    The problem ended up being the system locale setting found in control panel –> region and language. This setting “controls the language used when displaying text in programs that do not support Unicode.”

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

Sidebar

Related Questions

I am moving an old asp classic (sigh...) local website to a new IIS7.5
I am moving from classic ASP to ASP.NET and have encountered what many of
I'm currently working on moving a complex classic ASP website (v1) over to a
Recently I stumbled upon a problem that involves moving asp classic sites from a
Afrter moving site from RedHAT/CloudLinux/ Apache 2.2 to to Windows 2008 R* / IIS7
I'm in the process of moving a large classic ASP application to ASP.NET MVC
We are moving a classic ASP application with VB6 COM objects, over to the
I've got an old classic ASP site that connects to a local sql server
Clarification: this is not about user agent calls to pages, but Classic ASP calling
Moving a working C# project from a 64-bit Windows 7 machine to a 32-bit

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.