Solved

Microsoft Word OLE object in a SQL 2008 database table.

Posted on 2008-10-20
5
390 Views
Last Modified: 2012-05-05
After upsizing Access to SQL2008. My OLE field data type converted to varbinary(max). I have in the OLE field MS Word doc text. This text displays okay in a form and prints ok in a report. However the text cannot be edited and a new MS Word objected can't be inserted in a new record. When I try I get the error message. Thank you in advance for your help!!

0
Comment
Question by:dongatlin
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 51

Expert Comment

by:Mark Wills
ID: 22765205
How are you trying to add that new data ? What is the user interface, and how are you connecting to the database ?
0
 

Author Comment

by:dongatlin
ID: 22770895
I have an ODBC link from Access 2007 to a SQL database backend.
0
 
LVL 51

Accepted Solution

by:
Mark Wills earned 500 total points
ID: 22772977
Part of the problem can be the datatypes being used... There are some limitations :

See : http://msdn.microsoft.com/en-us/library/bb177899.aspx
And : http://msdn.microsoft.com/en-us/library/bb208866.aspx

Should be using the IMAGE datatype I think, and/or not have bounded fields, as much as copy the document to a "network" friendly place and then (if really needed) call a stored proced to do the update which can update the inidividual columns and insert the document.

But first do a simple test using the IMAGE datatype.
0
 
LVL 51

Expert Comment

by:Mark Wills
ID: 22773032
Oh, and make sure you are using the latest drivers... so double check that connection string, and the driver options...
0
 

Author Closing Comment

by:dongatlin
ID: 31508017
Thanks for the tip. I'm new to SQL and thought the 'image' data type was obsolete in SQL2008. The error cleared up after changing the data type to 'image'.
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to leverage one TLS certificate to encrypt Microsoft SQL traffic and Remote Desktop Services, versus creating multiple tickets for the same server.
I have a large data set and a SSIS package. How can I load this file in multi threading?
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question