Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Mailmerge and Fax / July 2006

Tip: Looking for answers? Try searching our database.

Data Source

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
frank - 13 Jul 2006 17:27 GMT
Hello.

I have a document that is attached to an ODBC data source.  Almost all the
time when the document is opened the attachment to the datasource exists.
Once in a while the attachment to the datasource is broken and I get the
message that it's a mailmerge document and word can't find the datasource.
I'll close the document then re-open it and the link will be fine.  Can
anybody tell me why this would be happening?   I'm on Windows 2000 SP4 and
Office XP SP3, However this has also happened with Win XP and Office 2003.

Thanks,
Frank
Peter Jamieson - 13 Jul 2006 17:47 GMT
I don't know the answer (once set up, ODBC connections seem pretty stable)
but...
a. what is the data source?
b. is the data source on another system (i.e. on a remote machine on a
network) ?
c. ODBC connections to "file" type data sources such as delimited text
files, Excel files etc. are likely to fail if the file is "in use" by
something else and is not designed for multi-user operation - for example,
you can probably work with an Access .mdb on your machine, and successfully
use it as an ODBC data source in Word but if your data source is an Excel
file and it's open in Excel, Word will probably fail to open it.

Peter Jamieson

> Hello.
>
[quoted text clipped - 8 lines]
> Thanks,
> Frank
frank - 13 Jul 2006 21:09 GMT
Peter:
a. The data source is an MS query to retrieve from a DB2 file on an IBM
Iseries via ODBC.

b. The data would be on a remote system (Iseries)

c. The data file would not be in use.

Frank

> I don't know the answer (once set up, ODBC connections seem pretty stable)
> but...
[quoted text clipped - 22 lines]
> > Thanks,
> > Frank
Peter Jamieson - 13 Jul 2006 23:31 GMT
Frank,

Regret I can't test Iseries/DB2 here. (Actually I used to keep up with IBM
but hadn't realised IBM had moved from "AS400" to "Iseries" :-))

When the connection fails, if you re-connect manually does the connection
always succeed? if so, despite the fact that I have almost no evidence to go
on (other than a lack of similar comments related to other ODBC drivers) my
gut feeling is that there could be a timing or timeout problem somewhere -
either in the time it takes to establish a network connection to the
Iseries, or to whatever process the Iseries ODBC driver connects to. If you
look at the ISeries ODBC driver settings (i.e. in the ODBC administrator),
what values are you able to set in there?

Peter Jamieson

> Peter:
> a. The data source is an MS query to retrieve from a DB2 file on an IBM
[quoted text clipped - 41 lines]
>> > Thanks,
>> > Frank
frank - 14 Jul 2006 13:43 GMT
After the connection fails, if I reopen the document it always succeeds.
Theres not much in the ODBC settings.  I use SQL package support, read only
access.

FYI - the AS/400 is being renamed all the time.  I guess now its actually an
IBM System i5.

Frank

> Frank,
>
[quoted text clipped - 57 lines]
> >> > Thanks,
> >> > Frank
Peter Jamieson - 14 Jul 2006 23:25 GMT
Well, I cannot prove it but it really does sound like a timeout problem -
i.e. the first time you try to connect, it takes too long and Word gives up.
Another possibility is that Word/ODBC is doing something which causes the
AS/400 to reject logon informatin first time around.

I had a look at the Technical support site for the System i5 and searched
for "odbc" and then "odbc word". I seemed to have to create an account to
get at the specifics for each article, which I'm not about to do. Probably
worth your while to have a look through that lot and see if anything strikes
a chord.

Is there an OLEDB provider for the System i5 and if so, do you have it on
your system? Can you try that instead?

Peter Jamieson
> After the connection fails, if I reopen the document it always succeeds.
> Theres not much in the ODBC settings.  I use SQL package support, read
[quoted text clipped - 80 lines]
>> >> > Thanks,
>> >> > Frank
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.