SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Unspecified error using ADO command to update a varchar max field


Unspecified error using ADO command to update a varchar max field

Author
Message
markdh.climb
markdh.climb
Forum Newbie
Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)

Group: General Forum Members
Points: 8 Visits: 80
Hello

This is a tricky one, and my first post to this forum so appollogies if I'm in the wrong place.

We have a SQL Server 2008 database for handling help desk calls. When necessary the users will paste the entire contents of an email into a text box on the main form. This can sometimes include graphics etc. which get stripped. The email client is Outlook 2007 and the frontend is built in MS Access and uses ADO (2.8) commands to handle updates. The backend parameter and field is varchar(max).

The problem is that, occasionally, when the user clicks save they get an unspeciifed error occurring on the command.execute line.

This problem can't be reproduced on the dev machines which run with Office 2003.

We managed to isolate a single character that produces the error every time in a 2007 environment. This character is ASCII 234, looks like a "|" or sometimes "ê" depending on font etc.

I have tried stripping all characters with an ASCII code greater than 128. This makes no difference. Also tried changing to nvarchar and this didn't help either.

Anyone seen this before or have any idea what might be causing it?

Thabnks

Mark
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum







































































































































































SQLServerCentral


Search