Solved

Microsoft Word OLE object in a SQL 2008 database table.

Posted on 2008-10-20
5
391 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

Edgartown IT Case Study

Learn about Edgartown's quest to ensure the safety and security of the entire town's employee and citizen data. Read the case study!

Question has a verified solution.

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

Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

717 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