Syntax error converting datetime from character string
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > BizTalk Server > BizTalk Server General > Syntax error converting datetime from character string




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Syntax error converting datetime from character string  
s.ocallaghan


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-28-05 10:52 PM

Hi Folks,

I'm sure this is a pretty common error.  I've converted a date field
from a CSV schema file into a message (using the Custom Date Format
property in the CSV schema editor) and this works fine.

However, when I try to push this date field into a database I get the
following error:


HRESULT="0x80040e07" Description="Syntax error converting datetime
from character string."
ÿ<Root
xmlns:ns00="urn:schemas-microsoft-com:xml-updategram"><?MSSQLError
HResult="0x80040e07" Source="Microsoft OLE DB Provider for SQL Server"
Description="Syntax error converting datetime from character
string."?></Root>


Can anyone offer any quick assistance as to how I might resolve this?

Kind Regards,

Shaun O'Callaghan






[ Post a follow-up to this message ]



    Re: Syntax error converting datetime from character string  
Marvin Smit


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-29-05 01:03 PM

Hi,

it seems like (see the character infront of the XML), the encoding BOM
(Byte Order Mark) is still present when trying to load this into a
DOM.

Hope this helps,

Marvin Smit.

On Thu, 28 Jul 2005 11:33:12 -0500,
s.ocallaghan@qnet-uk-dot-com.no-spam.invalid (s.ocallaghan) wrote:

>Hi Folks,
>
>I'm sure this is a pretty common error.  I've converted a date field
>from a CSV schema file into a message (using the Custom Date Format
>property in the CSV schema editor) and this works fine.
>
>However, when I try to push this date field into a database I get the
>following error:
>
>
>HRESULT="0x80040e07" Description="Syntax error converting datetime
>from character string."
> ÿ<Root
>xmlns:ns00="urn:schemas-microsoft-com:xml-updategram"><?MSSQLError
>HResult="0x80040e07" Source="Microsoft OLE DB Provider for SQL Server"
>Description="Syntax error converting datetime from character
>string."?></Root>
>
>
>Can anyone offer any quick assistance as to how I might resolve this?
>
>Kind Regards,
>
>Shaun O'Callaghan






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 02:29 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register