Solved

Microsoft Word OLE object in a SQL 2008 database table.

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

In this article I will describe the Backup & Restore method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
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.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

910 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now