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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T23:42:39+00:00 2026-05-16T23:42:39+00:00

I have a SQL Server 2008 database that contains DateTimeOffset objects. As per this

  • 0

I have a SQL Server 2008 database that contains DateTimeOffset objects. As per this page,

SQL Server Compact provides support for replicating the new data types in SQL Server 2008 such as date, time, datetime2, datetimeoffset, geography, and geometry. The new data types in SQL Server 2008 are mapped to nchar, nvarchar, image, etc. For more information about data types in SQL Server 2008, see Data Types in SQL Server 2008 Books Online Documentation.

However, when I use the Microsoft Sync Framework and try to sync my SQL Server database to a SQL Server Compact database, I get the following error:

No mapping exists from DbType System.DateTimeOffset to a known SqlCeType.

The relevant Microsoft Sync Framework documentation is here. I am on SQL CE 3.5 SP2 and .NET Framework 4.0.

I’m kind of lost here. What am I doing wrong?

  • 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-16T23:42:40+00:00Added an answer on May 16, 2026 at 11:42 pm

    What version of ADO.NET and .Net Compact Framework are you using? The docs for Sync FW v2.0 and v2.1 indicate that wrt datetimeoffset

    If the server provider is hosted on a computer
    that is running ADO.NET 2.0 SP1, ADO.NET 2.0 SP1
    must also be available on the client for conversion
    to succeed. Automatic conversion of datetimeoffset
    on the client is not supported by .NET
    Compact Framework 2.0 SP1 or .NET
    Compact Framework 3.5.

    That is consistent with your error.

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

Sidebar

Related Questions

I have a SQL Server 2008 database with a table that contains a FILESTREAM
I have a SQL Server 2008 database which contains data that I need to
I have a database column in a SQL Server 2008 database that contains VARCHAR
In my SQL Server 2008 Enterprise I have a database that contains several tables:
I have a table in a sql server 2008 database that contains bunch of
I have a SQL Server 2008 database (call it productionDB) that contains data and
We have a SQL Server 2008 database that has stored procedures to handle reads/writes/etc.
I have an SQL Server 2008 database with a table that has a column
We have a SQL Server 2008 R2 Enterprise a database that is populated with
I have a few columns in an SQL server 2008 R2 database that i

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.