Re: VFPOLEDB: works with DB on my machine but not with network server



Hi Jim,

As suggested elsewhere (by Dan Freeman I think) OLE DB can't handle any kind
of activity outside of data selection. That would include presenting a debug
message to a user and IO to a debug text file.

You can read about all the commands and functions that are supported by OLE
DB, and also the commands and functions that are supported in stored
procedures that are fired by OLE DB in the VFP Help topic "Supported Visual
FoxPro Commands and Functions in OLE DB Provider ", online at
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_foxhelp/html/dglrfsupportedvisualfoxprolanguagefunctions.asp.

--
Cindy Winegarden MCSD, Microsoft Visual FoxPro MVP
cindy_winegarden@xxxxxxx www.cindywinegarden.com


"Jim Walsh" <JimWalsh@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:54F4231C-9912-48A3-8840-031A3AC6D335@xxxxxxxxxxxxxxxx
I finally got this to work.

When I compared the copy of the database on the server, that was not
working, with the version that was on my development computer, I noticed
that
the version that was not working had stored procedures for handling two
events: BeforeTableOpen, and AfterTableOpen. I put this code in a long
time
ago for debugging purposes. All it does it output a debug string. However,
when I commented out these two procedures, the database on the server now
works.

Any idea why this was causing a problem?


.



Relevant Pages

  • Re: VFPOLEDB works on local copy of DB, but not always with networ
    ... This was very difficult to debug. ... The error message didn't give me a clue as ... You can read about all the commands and functions that are supported by OLE ... Cindy Winegarden MCSD, Microsoft Visual FoxPro MVP ...
    (microsoft.public.win32.programmer.ole)
  • Re: VFPOLEDB works on local copy of DB, but not always with network co
    ... message to a user and IO to a debug text file. ... You can read about all the commands and functions that are supported by OLE ... Cindy Winegarden MCSD, Microsoft Visual FoxPro MVP ...
    (microsoft.public.win32.programmer.ole)
  • Re: How can I debug a VC++ OLE program?
    ... OLE application such as this? ... I appreciate any insight that you can give me! ... Provided you have sufficient permissions to debug, ... process execution, step through code, set breakpoints etc. ...
    (microsoft.public.win32.programmer.ole)
  • Re: An error occurred while assigning a value to variable
    ... Are you getting any indication of what errors are being generated by ... the OLE DB operation? ... This might help to debug the problem. ... Good luck! ...
    (microsoft.public.sqlserver.dts)
  • Re: Computer unable to view videos over 30 minutes from our own server
    ... cause I should *never* see an internal OLE DB ... I have a Windows 2003 server acting as a Windows Media Server for our ... right codec to play videos. ... Edition, Service Pack 1) running Windows Media Services 9 Series, version 9.0. ...
    (microsoft.public.windowsmedia.player)

Loading