Skip to main content

Notifications

Microsoft Dynamics GP (Archived)

Document Attach OLE conversion utility

Posted on by Microsoft Employee

Running the Document attach conversion for OLENotes utility in GP2015 - version 14.00.0707.00

Data appears to have exported.

However the import does not appear to be successful we have large numbers of failures trying to import PDFs we are getting the error

C:\OLEExport\HFP\0\000010B0\Embedding 3.pdf      Error: Import unsuccessful. System.Data.SqlClient.SqlException (0x80131904): The conversion of a nvarchar data type to a datetime data type resulted in an out-of-range value.  The statement has been terminated.
   at Microsoft.Dynamics.Deployment.GP.OleNoteEngine.DocAttachProcessor.WriteCO00101(SqlConnection sqlConn, Guid attachmentID, String fileName, String fileDate, String fileTime)
   at Microsoft.Dynamics.Deployment.GP.OleNoteEngine.DocAttachProcessor.InsertAttachment(String filePathAndName, String bizObjName, String dictionaryID, SqlConnection sqlConn, ImportDocResult& idl)
ClientConnectionId:0d0b5d85-78ea-41d8-b55c-6915ccfd569f
Error Number:242,State:3,Class:16

*This post is locked for comments

  • Suggested answer
    Steve Rodionoff Profile Picture
    Steve Rodionoff 261 on at
    RE: Document Attach OLE conversion utility

    [quote user="Michael_Boyle"](0x80131904): The conversion of a nvarchar data type to a datetime data type resulted in an out-of-range value.  The statement has been terminated.[/quote]

    You might try changing the Region and Language Settings on the OS where the OLE Notes Migration Utility is being run on, to the English (United States) format.

    This appears to correct it for me, i was using English (Australian) date/time format, as one normally would when one is in Australia.   It seems the MS developers seem to think US date/time format is the universal standard for everyone :)

  • Steve Rodionoff Profile Picture
    Steve Rodionoff 261 on at
    RE: Document Attach OLE conversion utility

    Any updates? we are having large numbers of errors due to the same error while importing.

    "The conversion of a nvarchar data type to a datetime data type resulted in an out-of-range value."

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Complete!

🔔 Be sure to subscribe to the new forums you are interested in to stay up to date! 🔔

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,113 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,918 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans