HighTechTalks DotNet Forums  

SqlException: SqlBulkCopy.WriteToServer()

Dotnet Data Tools microsoft.public.dotnet.datatools


Discuss SqlException: SqlBulkCopy.WriteToServer() in the Dotnet Data Tools forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
harleedavidson
 
Posts: n/a

Default SqlException: SqlBulkCopy.WriteToServer() - 08-30-2006 , 03:12 PM






Using SqlBulkCopy.WriteToServer to upload a datatable and getting:

System.Data.SqlClient.SqlException
Line 1: Incorrect syntax near 'COLLATE'.

Database Server is SQL2000, database in in 6.5 compatibility mode.

No error when targeting SQL2000 database in 8.0 compatibility mode.

Is this specific to 6.5 and is there a workaround?

thanks,
scott



Reply With Quote
  #2  
Old   
Mary Chipman [MSFT]
 
Posts: n/a

Default Re: SqlException: SqlBulkCopy.WriteToServer() - 09-04-2006 , 12:24 PM






I'm afraid there's no workaround. SqlClient is not supported for SQLS
6.5. SQL Server was completely rewritten from the ground up for SQLS
7.0, so you'll need to upgrade to at least that version to get basic
functionality.

--Mary

On Wed, 30 Aug 2006 16:12:00 -0400, "harleedavidson"
<harleedavidson (AT) nospam (DOT) nospam> wrote:

Quote:
Using SqlBulkCopy.WriteToServer to upload a datatable and getting:

System.Data.SqlClient.SqlException
Line 1: Incorrect syntax near 'COLLATE'.

Database Server is SQL2000, database in in 6.5 compatibility mode.

No error when targeting SQL2000 database in 8.0 compatibility mode.

Is this specific to 6.5 and is there a workaround?

thanks,
scott


Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.