Focal Point
[SOLVED] Foc 1400

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/242107722

September 02, 2009, 09:11 AM
IMblessed
[SOLVED] Foc 1400
Sqlcode is 208 ( hex:000000D0) Xopen: 42s02: Microsoft OLE DB Provider for sql server: [42s02] invaild object name 'v: W_901hraparticipationbylocation' [42000] statement9s0 could not be prep: ared.[] deferred prepare could not be completed.
foc1406 sql open cursor error vw_hraparticipationbylocation


How do I correct this? Trying to point our development db to our producution backup db and this is the error I received. webfocus 7.6

This message has been edited. Last edited by: Kerry,


EDA764 Release * Current Software:
Unix
September 02, 2009, 10:58 PM
Doug
The only time I have seen a FOC1400, it was accompanied by another FOC14xx (Maybe 142x?) which indicated, in my case, that the db was held open by someone, or something, that had an exclusive READ-WRITE on it... Make sure that's not the case... If you do see (maybe in the View Source) and associated FOC####, then please pass that on...
September 03, 2009, 02:57 AM
GamP
This sqlcode (208) / sqlstate (42s02) combination seems to indicate that the object you specified could not be found in the database.
Can you explain the difference between the table name the message shows as 'vW_901hraparticipationbylocation' and the open cursor error for 'vw_hraparticipationbylocation'?
It may be as simple as checking if the real table name indeed has an uppercase W?


GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
September 03, 2009, 07:42 AM
CLH
This error can also occur when the id in the connection does not have access to the view.

So using the id that you have specified in the connection can you access the same view outside of webfocus. Or check with your SQL server admin and make sure the ID has access to the view you are trying to use.


Webfocus 8.0.7 on Windows
September 03, 2009, 10:04 AM
IMblessed
I'm talking to our DBA about this. It could be a connection that maybe broken in the process and a script need to be rerun for the connection to be establish. Thanks everyone for you responses.


EDA764 Release * Current Software:
Unix