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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T06:03:13+00:00 2026-05-13T06:03:13+00:00

How to deal with a server that doesn’t support ‘date’? Sorry for such a

  • 0

How to deal with a server that doesn’t support ‘date’? Sorry for such a vague question. Please let me know what addtional details I should add. Thanks.

Here’s the error:

Server Error in ‘/’ Application.

The version of SQL Server in use does not support datatype ‘date’.
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: The version of SQL Server in use does not support datatype ‘date’.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.


For the Column Properties from the server explorer, I’ve specified the column as a datetime, so I’m not sure why the auto generated ASP.NET gridview is trying to work with a date type as opposed to a datetime type.

alt text

Here’s the code auto-generated by the ASP.NET 2.0 grid view that is causing the error:

alt text

Is it okay to just change DbType=”Date” to DbType=”Datetime”? (It seems to work.)

  • 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-13T06:03:13+00:00Added an answer on May 13, 2026 at 6:03 am

    Most likely you are looking for either the datetime or smalldatetime type:

    Date and time data types for representing date and time of day

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

Sidebar

Related Questions

I know that XHTML doesn't support nested form tags and I have already read
I'm working at task that requires a good deal of string manipulation such as:
EDIT: ASSIGNMENT WORK. Please don't mention External Libraries or complicated procedures that deal with
Scenario: We have a great deal of server environmental information (names, IPs, roles, firewall
OK, here's the deal. I have Git installed on my Debian (lenny) remote server.
I'm building a deal aggregator so I need a crawler that will extract data
... or how does zmq deal with clients that disconnect? Is there some sort
I'm building a proxy and am trying to deal with a page that uses
Hi a server with a PHP script that deals with image downloads. After it
I have to deal with a class that takes about 2-3 minutes to load.

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.