Cause: Application Object Library is unable to reconnect to your gateway
After migration, When i am trying to bring up MT, i am getting following information
/u08/tech/comn/admin/scripts/OFMSTECH_oraapp09/adfmsctl.sh start
script returned:
You are running adfmsctl.sh version 115.16
Cannot reconnect to gateway
Cause: Application Object Library is unable to reconnect to your gateway ORACLE account after you unsuccessfully attempted to sign-on.
Action: Check that your gateway environment variable is set correctly.
starting forms metrics server for OFMSTECH.
Cannot reconnect to gateway
Cause: Application Object Library is unable to reconnect to your gateway ORACLE account after you unsuccessfully attempted to sign-on.
Action: Check that your gateway environment variable is set correctly.
adfmsctl.sh: exiting with status 0
.end std out.
.end err out.
OAD is stopped
Osagent is stopped
Unable to stop locator. No process-id file found.
Unable to stop gatekeeper. No process-id file found.
Unable to stop any Discoverer Sessions. No process-id file found.
Unable to stop any Discoverer Preference. No process-id file found.
Unable to stop any Discoverer Collector. No process-id file found.
/u08/tech/ora/8.0.6/vbroker/bin/osagent
Started osagent.
Osagent logs messages to the file /u08/tech/ora/8.0.6/discwb4/util/osagent.log.
Waiting for OAD to start...
Started OAD.
OAD logs messages to the file /u08/tech/ora/8.0.6/discwb4/util/oad.log.
Failed to start locator.
Registering Discoverer Session
Registering the Collector
Applying preferences from file : /u08/tech/ora/8.0.6/discwb4/util/pref.txt
Finished applying preferences
Closing down registry..
Registry File sync...
Registering Discoverer Preference Repository
addisctl.sh: exiting with status 1
.end std out.
/u08/tech/ora/8.0.6/jre1183o/lib/i686/green_threads/libzip.so: symbol errno, version GLIBC_2.0 not defined in file libc.so.6 with link time reference (libzip.so)
Unable to initialize threads: cannot find class java/lang/Thread
Could not create Java VM
/u08/tech/ora/8.0.6/jre1183o/lib/i686/green_threads/libzip.so: symbol errno, version GLIBC_2.0 not defined in file libc.so.6 with link time reference (libzip.so)
Unable to initialize threads: cannot find class java/lang/Thread
Could not create Java VM
/u08/tech/ora/8.0.6/jre1183o/lib/i686/green_threads/libzip.so: symbol errno, version GLIBC_2.0 not defined in file libc.so.6 with link time reference (libzip.so)
Unable to initialize threads: cannot find class java/lang/Thread
Could not create Java VM
/u08/tech/ora/8.0.6/jre1183o/lib/i686/green_threads/libzip.so: symbol errno, version GLIBC_2.0 not defined in file libc.so.6 with link time reference (libzip.so)
Unable to initialize threads: cannot find class java/lang/Thread
Could not create Java VM
/u08/tech/ora/8.0.6/jre1183o/lib/i686/green_threads/libzip.so: symbol errno, version GLIBC_2.0 not defined in file libc.so.6 with link time reference (libzip.so)
Unable to initialize threads: cannot find class java/lang/Thread
Could not create Java VM
/u08/tech/ora/8.0.6/jre1183o/lib/i686/green_threads/libzip.so: symbol errno, version GLIBC_2.0 not defined in file libc.so.6 with link time reference (libzip.so)
Unable to initialize threads: cannot find class java/lang/Thread
Could not create Java VM
/u08/tech/ora/8.0.6/jre1183o/lib/i686/green_threads/libzip.so: symbol errno, version GLIBC_2.0 not defined in file libc.so.6 with link time reference (libzip.so)
Unable to initialize threads: cannot find class java/lang/Thread
Could not create Java VM
.end err out.
Danny,
Do you have all RPMs installed on the target node?
Is the issue with this script only?
What is the target OS version?
Please see (Note: 377217.1 - What should the value of LD_ASSUME_KERNEL be set to for Linux?).
Regards,
Hussein
Similar Messages
-
Hi,
Can anyone give the exact definition of what AOL is?
And what all setups comes under AOL?
Thanks in Advance.You can find the list of Oracle Application Object Library (FND) database objects by using the following query:
SQL> select owner, object_type, object_name
from dba_objects
where object_name like 'FND%';FND files can be located under $FND_TOP.
For more details about Oracle Application Object Library (FND), refer to [Oracle Applications Concepts|http://download-uk.oracle.com/docs/cd/B25516_14/current/acrobat/11iconcepts.pdf] Manual. -
Application Object Library Reference Manual in EBS 11.5.9 Docs
Hi,
I have bumped to a reference of the book "Application Object Library Reference Manual". Since this reference is about an old EBS version(10.6) and i want the equivalent of this for the EBS 11.5.9. , can you please write which one is this from url:
http://download.oracle.com/docs/cd/B12190_11/current/html/docset.html
Many thanks,
SimHi,
Actually , i have read on some docs located at :
http://www.bryanthompsononline.com/oracle/2008/05/06/download-oracle-aim-applications-implementation-methodology-software/
about the above reffered Oracle EBS document. I have searched on the typical Oracle EBS 11.5.9. doc , but i've not found this exactly doc (with this title). So , i have asked if anybody could point me to the relative doc on EBS 11.5.9. docs set......
Many thanks for the link anyway.....
Greetings,
Sim -
What is oracle application object library(AOL)
can someone give me a explanation about oracle AOL.
thanks,
best regardsDuplicate thread.
Application Object Library (AOL)
Re: Application Object Library (AOL) -
Deploying Oracle Application Object Library
.. i have used this to automate the time to deploy the Oracle Application Object Library
http://64.78.35.195/MercuryInteractive/OMdemo.asp
highly recommended.. !This is the Oracle9i Lite forum. Please post your message on the appropriate message board
-
Oracle Application Object Library
I am beginer to oracle applications.
I want to learn oracle applicatiion object library.
Is there any book or study material available for oracle applicatiion object library?
It is coming under which oracle edition.
Is there any tool to explore oracle applicatiion object library?
Which part of oracle I have to install for getting oracle applicatiion object library?
Thanks and Regards
Navin JaiswalThis is the Oracle9i Lite forum. Please post your message on the appropriate message board
-
Applications Browser Logon & Connection Refused & Cannot reconnect to gatew
Help,
When running applications logon
http://bh001.home:8000/OA_HTML/AppsLocalLogin.jsp
I recieve a connection refused error.
Associated with this is the following when running "adstrtal.sh APPLSYS/APPS" are the following errors
=============================================================
You are running adstrtal.sh version 115.14
Executing service control script:
/opt/oracle/viscomn/admin/scripts/VIS_bh001/adapcctl.sh start
script returned:
adapcctl.sh version 115.43
Cannot reconnect to gateway
Cause: Application Object Library is unable to reconnect to your gateway ORACLE account after you unsuccessfully attempted to sign-on.
Action: Check that your gateway environment variable is set correctly.
Starting Apache Web Server Listener (dedicated HTTP) ...
Cannot reconnect to gateway
Cause: Application Object Library is unable to reconnect to your gateway ORACLE account after you unsuccessfully attempted to sign-on.
Action: Check that your gateway environment variable is set correctly.
Cannot reconnect to gateway
Cause: Application Object Library is unable to reconnect to your gateway ORACLE account after you unsuccessfully attempted to sign-on.
Action: Check that your gateway environment variable is set correctly.
Apache Web Server Listener :httpd ( pid 11104 ) is already running.
Cannot reconnect to gateway
Cause: Application Object Library is unable to reconnect to your gateway ORACLE account after you unsuccessfully attempted to sign-on.
Action: Check that your gateway environment variable is set correctly.
adapcctl.sh: exiting with status 2
.end std out.
.end err out.
Executing service control script:
/opt/oracle/viscomn/admin/scripts/VIS_bh001/adalnctl.sh start
script returned:
adalnctl.sh version
Checking for FNDFS executable.
Listener APPS_VIS has already been started.
adalnctl.sh: exiting with status 2
.end std out.
.end err out.
Executing service control script:
/opt/oracle/viscomn/admin/scripts/VIS_bh001/adcmctl.sh start
script returned:
You are running adcmctl.sh version 115.20
Starting concurrent manager for VIS ...
Starting VIS_1007@VIS Internal Concurrent Manager
Default printer is noprint
adcmctl.sh: exiting with status 0
.end std out.
.end err out.
Executing service control script:
/opt/oracle/viscomn/admin/scripts/VIS_bh001/adfrmctl.sh start
script returned:
You are running adfrmctl.sh version 115.34
Cannot reconnect to gateway
Cause: Application Object Library is unable to reconnect to your gateway ORACLE account after you unsuccessfully attempted to sign-on.
Action: Check that your gateway environment variable is set correctly.
forms server for VIS on port 9000 already started.
adfrmctl.sh: exiting with status 2
.end std out.
.end err out.
Executing service control script:
/opt/oracle/viscomn/admin/scripts/VIS_bh001/adrepctl.sh start
script returned:
You are running adrepctl.sh version 115.29
Cannot reconnect to gateway
Cause: Application Object Library is unable to reconnect to your gateway ORACLE account after you unsuccessfully attempted to sign-on.
Action: Check that your gateway environment variable is set correctly.
Reports Server for VIS is already started.
adrepctl.sh: exiting with status 2
.end std out.
.end err out.
Executing service control script:
/opt/oracle/viscomn/admin/scripts/VIS_bh001/adfmcctl.sh start
script returned:
You are running adfmcctl.sh version 115.17
Cannot reconnect to gateway
Cause: Application Object Library is unable to reconnect to your gateway ORACLE account after you unsuccessfully attempted to sign-on.
Action: Check that your gateway environment variable is set correctly.
forms load balancing client for VIS already running.
adfmcctl.sh: exiting with status 2
.end std out.
.end err out.
Executing service control script:
/opt/oracle/viscomn/admin/scripts/VIS_bh001/adfmsctl.sh start
script returned:
You are running adfmsctl.sh version 115.13
Cannot reconnect to gateway
Cause: Application Object Library is unable to reconnect to your gateway ORACLE account after you unsuccessfully attempted to sign-on.
Action: Check that your gateway environment variable is set correctly.
forms metrics serverfor VIS is already started.
adfmsctl.sh: exiting with status 2
.end std out.
.end err out.
Executing service control script:
/opt/oracle/viscomn/admin/scripts/VIS_bh001/jtffmctl.sh start
script returned:
You are running jtffmctl.sh version 115.16
Validating Fulfillment patch level via /opt/oracle/viscomn/java
Fulfillment patch level validated.
Starting Fulfillment Server for VIS on port 9300 ...
jtffmctl.sh: exiting with status 0
.end std out.
.end err out.
Executing service control script:
/opt/oracle/viscomn/admin/scripts/VIS_bh001/addisctl.sh start
script returned:
addisctl.sh version 115.14
Oracle Discoverer OAD is running as PID 11904
Oracle Discoverer OSAGENT is running as PID 11897
Oracle Discoverer LOCATOR is running as PID 11911
addisctl.sh: exiting with status 2
.end std out.
.end err out.
All enabled services for this node are started.
Check logfile /opt/oracle/viscomn/admin/log/VIS_bh001/10071410.log for details
Exiting with status 0
You have new mail in /var/spool/mail/oracle
[oracle@bh001 oracle]$ vi /opt/oracle/viscomn/admin/log/VIS_bh001/10071410.log
[oracle@bh001 oracle]$ cat /opt/oracle/viscomn/admin/log/VIS_bh001/10071410.log
Setting service Oracle Apache Server VIS_bh001 to mode 2
Executing service control script:
/opt/oracle/viscomn/admin/scripts/VIS_bh001/adapcctl.sh start
Timeout specified in context file: 100 second(s)
script returned:
adapcctl.sh version 115.43
Cannot reconnect to gateway
Cause: Application Object Library is unable to reconnect to your gateway ORACLE account after you unsuccessfully attempted to sign-on.
Action: Check that your gateway environment variable is set correctly.
Starting Apache Web Server Listener (dedicated HTTP) ...
Cannot reconnect to gateway
Cause: Application Object Library is unable to reconnect to your gateway ORACLE account after you unsuccessfully attempted to sign-on.
Action: Check that your gateway environment variable is set correctly.
Cannot reconnect to gateway
Cause: Application Object Library is unable to reconnect to your gateway ORACLE account after you unsuccessfully attempted to sign-on.
Action: Check that your gateway environment variable is set correctly.
Apache Web Server Listener :httpd ( pid 11104 ) is already running.
Cannot reconnect to gateway
Cause: Application Object Library is unable to reconnect to your gateway ORACLE account after you unsuccessfully attempted to sign-on.
Action: Check that your gateway environment variable is set correctly.
adapcctl.sh: exiting with status 2
.end std out.
.end err out.
Setting service OracleTNSListener80APPS_VIS_bh001 to mode 2
Executing service control script:
/opt/oracle/viscomn/admin/scripts/VIS_bh001/adalnctl.sh start
Timeout specified in context file: 100 second(s)
script returned:
adalnctl.sh version
Checking for FNDFS executable.
Listener APPS_VIS has already been started.
adalnctl.sh: exiting with status 2
.end std out.
.end err out.
Setting service OracleConcMgrVIS_bh001 to mode 2
Executing service control script:
/opt/oracle/viscomn/admin/scripts/VIS_bh001/adcmctl.sh start
Timeout specified in context file: 1000 second(s)
script returned:
You are running adcmctl.sh version 115.20
Starting concurrent manager for VIS ...
Starting VIS_1007@VIS Internal Concurrent Manager
Default printer is noprint
adcmctl.sh: exiting with status 0
.end std out.
.end err out.
Setting service OracleFormsServer-Forms60VIS_bh001 to mode 2
Executing service control script:
/opt/oracle/viscomn/admin/scripts/VIS_bh001/adfrmctl.sh start
Timeout specified in context file: 100 second(s)
script returned:
You are running adfrmctl.sh version 115.34
Cannot reconnect to gateway
Cause: Application Object Library is unable to reconnect to your gateway ORACLE account after you unsuccessfully attempted to sign-on.
Action: Check that your gateway environment variable is set correctly.
forms server for VIS on port 9000 already started.
adfrmctl.sh: exiting with status 2
.end std out.
.end err out.
Setting service OracleReportServer-Rep60_VIS to mode 2
Executing service control script:
/opt/oracle/viscomn/admin/scripts/VIS_bh001/adrepctl.sh start
Timeout specified in context file: 100 second(s)
script returned:
You are running adrepctl.sh version 115.29
Cannot reconnect to gateway
Cause: Application Object Library is unable to reconnect to your gateway ORACLE account after you unsuccessfully attempted to sign-on.
Action: Check that your gateway environment variable is set correctly.
Reports Server for VIS is already started.
adrepctl.sh: exiting with status 2
.end std out.
.end err out.
Setting service Oracle Metrics Client VIS_bh001 to mode 2
Executing service control script:
/opt/oracle/viscomn/admin/scripts/VIS_bh001/adfmcctl.sh start
Timeout specified in context file: 100 second(s)
script returned:
You are running adfmcctl.sh version 115.17
Cannot reconnect to gateway
Cause: Application Object Library is unable to reconnect to your gateway ORACLE account after you unsuccessfully attempted to sign-on.
Action: Check that your gateway environment variable is set correctly.
forms load balancing client for VIS already running.
adfmcctl.sh: exiting with status 2
.end std out.
.end err out.
Setting service Oracle Metrics Server VIS_bh001 to mode 2
Executing service control script:
/opt/oracle/viscomn/admin/scripts/VIS_bh001/adfmsctl.sh start
Timeout specified in context file: 100 second(s)
script returned:
You are running adfmsctl.sh version 115.13
Cannot reconnect to gateway
Cause: Application Object Library is unable to reconnect to your gateway ORACLE account after you unsuccessfully attempted to sign-on.
Action: Check that your gateway environment variable is set correctly.
forms metrics serverfor VIS is already started.
adfmsctl.sh: exiting with status 2
.end std out.
.end err out.
Setting service Oracle Fulfillment Server VIS_bh001 to mode 2
Executing service control script:
/opt/oracle/viscomn/admin/scripts/VIS_bh001/jtffmctl.sh start
Timeout specified in context file: 100 second(s)
script returned:
You are running jtffmctl.sh version 115.16
Validating Fulfillment patch level via /opt/oracle/viscomn/java
Fulfillment patch level validated.
Starting Fulfillment Server for VIS on port 9300 ...
jtffmctl.sh: exiting with status 0
.end std out.
.end err out.
Setting service Oracle Discoverer services VIS_bh001 to mode 2
Executing service control script:
/opt/oracle/viscomn/admin/scripts/VIS_bh001/addisctl.sh start
Timeout specified in context file: 300 second(s)
script returned:
addisctl.sh version 115.14
Oracle Discoverer OAD is running as PID 11904
Oracle Discoverer OSAGENT is running as PID 11897
Oracle Discoverer LOCATOR is running as PID 11911
addisctl.sh: exiting with status 2
.end std out.
.end err out.
[Service Control Execution Report]
The report format is:
<Service> <Script> <Status>
Oracle Apache Server VIS_bh001 adapcctl.sh Already Started
OracleTNSListener80APPS_VIS_bh001 adalnctl.sh Already Started
OracleConcMgrVIS_bh001 adcmctl.sh Started
OracleFormsServer-Forms60VIS_bh001 adfrmctl.sh Already Started
OracleReportServer-Rep60_VIS adrepctl.sh Already Started
Oracle Metrics Client VIS_bh001 adfmcctl.sh Already Started
Oracle Metrics Server VIS_bh001 adfmsctl.sh Already Started
Oracle Fulfillment Server VIS_bh001 jtffmctl.sh Started
Oracle Discoverer services VIS_bh001 addisctl.sh Already Started
Oracle Restricted Apache Server VIS_bh001 adaprstctl.sh Disabled
Oracle Apache Server VIS_bh001 for PL/SQL adapcctl.sh Disabled
Oracle TCF SocketServer VIS_bh001 adtcfctl.sh Disabled
Oracle ICSM VIS_bh001 ieoicsm.sh Disabled
Oracle iProcurement Bulk Loader VIS_bh001 icxblkctl.sh Disabled
ServiceControl is exiting with status 0
======================================================================
I have opened port 8000 in iptables and on my router/gateway 192.168.1.1
Any help would be appreciated.
Regards,
IanGuys
I've installed Vision Demo and able to access it via FireFox download Jinitiator and login in the applet application.However i can't extract any information as my con-current manager seems to be deactivated or unable to start.
Has it something to do with my dbc settings given below.
Kindly guide
#DB Settings
#Sun Nov 11 18:57:53 GMT+05:00 2007
APPS_JDBC_DRIVER_TYPE=THIN
APPL_SERVER_ID=3EA7999F112FD6D8E040010A526B037820977692751688897870234607460780
TWO_TASK=VIS
GUEST_USER_PWD=GUEST/ORACLE
DB_HOST=ibm_vision.hrms.com
DB_NAME=VIS
FNDNAM=APPS
GWYUID=APPLSYSPUB/PUB
DB_PORT=1521
Regards -
Unable to add reference for Excel Object Library for use within Script Task
I have a requirement to use a Script Tax that needs to reference the Excel Object Model. There are numerous articles on using this such as
http://www.databasejournal.com/features/mssql/article.php/3921141/SSIS-Script-Task-and-Microsoft-Office-Automation.htm.
Simply, I need to add a reference to the Microsoft Excel 12.0 Object Library.
I have selected this from the Object List on the COM tab and when this adds the reference it states 'The System cannot find the reference specified', even though the referenced file for this Object is C:\Program Files(x86)\Microsoft Office\Office12\Excel.exe
and this file location exists on my local machine ?Please search where "Microsoft.Office.Interop.Excel.dll" exist in your system and try adding the reference.
If you don't find the dll there then there might be problem while installing.
To install the PIAs by using the redistributable package
http://www.microsoft.com/en-us/download/details.aspx?id=3508
http://www.microsoft.com/en-us/download/details.aspx?id=18346
Regards, RSingh -
Object library invalid or contains references to object definitions that could not be found problem
Hello,
Yesterday I got the following error on the server: "object library invalid or contains references to object definitions that could not be found problem".
I found this documentation, followed the steps and all was OK on the server:
http://support.microsoft.com/kb/2703186/en-us
https://social.msdn.microsoft.com/Forums/office/en-US/e94f2fc3-71f1-4dad-bbf1-37f906e28e8e/object-library-invalid-or-contains-references-to-object-definitions-that-could-not-be-found?forum=exceldev
Our server is used to do batch processing for refreshing our excel's. This morning, after the excel's got refreshed on the server, I've got this error on the
client computers (everything works fine on the server computer). I did the steps above on the client computers, but the problem still persists.
It looks like there is a difference in version between server and client.
If I do the refreshing on the same computer there is no problem. But when the server does the refreshing and I try to open it on a different computer, I get this error.
The security update has been removed from the computer, but I can't use my excel's anymore.
Does any one have some advice for me?
Best regards,
WouterHi Wouter,
Thanks for the further explaintation.
According to the description, the issue seems that the Workboook on the client side(with lower Excel version) couldn't run the VBA after it opened by server(higher version Excel application).
If I understood correctly, that sounds that the issue is relative to the specific version of Excel product or the updates.
I suggest you contacting Microsoft support to raise an incident so that our engineer could work closely with him to identify the root cause and resolve this issue as soon as possible.
If the support engineer determines that the issue is the result of a bug the service request will be a no-charge case and you won't be charged.
Please visit the below link to see the various paid support options that are available to better meet your needs.
http://support.microsoft.com/default.aspx?id=fh;en-us;offerprophone
Regards & Fei
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Object library invalid or contains references to object definitions that could not be found
I have an excel macro application. It works ok in my machine. Whenever I send it to my colleague and he opens the file and save and send it back to me, I get the below error. But, it is working
ok in my colleague machine.
Compile error:
Object library invalid or contains references to object definitions that could not be found
Looks like some recent windows update is causing this issue. I tried to delete the temporary file from the command prompt as mentioned in some of the forums using the below command. But, still it
is not working.
DEL /S /A:H /A:-H *.EXD
Even tried to uninstall the recent windows update on both of our machines, but still the issue is not resolved. It is working ok in his machine, but I get the compile error. Please share your thoughts.
Thanks.
Below are the references available in the excel macro application. There is no missing reference error on both of our machines. We both are using Excel 2010 32 bit. My OS is windows 7 64 bit and
my college is having windows 7 32 bit.
Visual Basic For Applications
Microsoft Excel 14.0 Object Library
Microsoft Forms 2.0 Object Library
Microsoft Office 14.0 Object Library
OLE Automation
Microsoft ActiveX Data Objects 2.6 Library
Microsoft Visual Basic for Applications Extensibility 5.3
Microsoft XML, v6.0"Looks like some recent windows update is causing this issue. I tried to delete the temporary file from the command prompt as mentioned in some of the forums
using the below command"
I've heard some cases that even deleting EXD files and running the FixIt tools, ActiveX controls weren't working.
Can you confirm if you can insert ActiveX controls in your worksheet, please?
(Developer tab >> Insert button >> any ActiveX control of your choice)
Felipe Costa Gualberto - http://www.ambienteoffice.com.br -
Error in VBA reference for Adobe Photoshop CS4 Object Library
Hello,
I'm using Windows 7 Pro, MS Office 2010 Pro and Creative Suite CS4 (with all updates).
I will automate Photoshop via Visual Basic for Applications in MS Access.
Befor using there the Adobe Photoshop CS4 Object Library I must reference it in VBA.
But when I will du this, I get the message "Error loading DLL".
When I will manually reference to the WIASupport.8LI File, I get the error: "Cannot reference this file"
Can you give a tip, how I can solve this problem?
RegardsI have the same problem! I have photoshop cc2014 (which we own) and the object library shows, but not for cs 5.1 (30 day trial).
Does registering unlock something?
Help please!! -
FAQ: My files are missing from the Library, or How to reconnect your images?
What is the Lightroom Library?
The Library module of Lightroom can be used to arrange, codify, systemize, group, and classify your media. When you import your images and video into the Library, you are adding information about your files to a catalog. Your files remain on your hard drive where they were, unless you are importing them from a camera, in which case the files are copied to your hard drive to a location of your choosing.
What is a Lightroom catalog?
The catalog is a database that stores information about the files you've imported into Lightroom. When importing a file, the first thing Lightroom does is collect the file's name and location on the hard drive. If the file has any attached compatible metadata, such as keyword tags, these are imported as well. You can use multiple catalogs and your catalogs can be carried forward from version to version.
Why does Lightroom say my files are missing?
Since the catalog database only stores information about your file, and not the file itself, if any of that information is changed outside of Lightroom, the connection to the file is lost. There are three ways this can happen: the file name is changed, the file location is changed, or the file has been deleted. If you need to rename, move, or delete a file, you can do so within the Library module, and then the connection is not lost.
What is Reconnecting?
When a file has been renamed, moved, or deleted, the catalog database needs to be updated with that new information. The Reconnection process allows you to point out a file's new name, it's new location, or to delete the database entry on your file if the file no longer exists on your hard drive.
Where can I learn more?
The Lightroom Catalog
Introducing catalogs
Understand Catalogs in Lightroom 2
Understanding the Lightroom Catalog System
Managing Files in Lightroom's Library
Adobe Help - Importing Photos
Adobe TV - Importing Photos
Adobe TV - Using the new import window
Adobe TV - Importing and Organizing Your Images
Adobe TV - Importing Existing Images
Adobe TV - Two ways to Import
Adobe TV - Moving Files in Lightroom VS the Operating System
Adobe TV - Moving Folders Around After the Fact
Adobe TV - Move & Archive Images, and Export a Catalogue
Video Workshop - The Filter Bar
Managing Catalogs in Lightroom
Managing catalogs and files
Preference and other file locations | Lightroom 4 - 3 - 2 - 1
Catalog FAQ | Lightroom
Single or Multiple Catalogs in Lightroom
Working with Multiple Catalogs
Merging Individual Lightroom Catalogs into a "Master" Catalog
Importing an Elements catalog to Lightroom
Lightroom 3 can't upgrade Photoshop Elements catalogs
Backing up your catalog
Exporting a catalog
How to Migrate LR to Another Computer
Reconnecting Media in Lightroom
Locate missing photos
Dude! Where are my photos?Similar happened to me when i moved my iTunes library from XP to Win 8.1. Apps were in iTunes but would not sync to iPhone - could not find oritinal file. Win Xp and 8.1 have different file paths for My Documents and My Music. Locate the folder within iTunes called Mobile Applications. It should have a file with an IPA extension for each application. Add that folder to library. That will refresh the iTunes database so that it knows where to find the apps. I had to do that to my entire library (music, podcasts, etc)
-
I need to get the Excel.application object from a window handle using AccessibleObjectFromWindow. I can't seem to make the code work. First, I successfully search for the XLMAIN windows. Then, when I get a handle, I execute the AccessibleObjectFromWindow
function. It seems to return a value of -2147467262 in all cases. Therefore, I believe that it is returning an error value. I can't figure out how to determine the meaning of this value.
If it is an error value, I believe that one or more arguments are in error. My best guess at present is that the GUID argument is incorrect. I have tried two GUID values: {00020400-0000-0000-C000-000000000046} and {90140000-0016-0409-0000-0000000FF1CE}.
I have seen both used in conjunction with OBJID_NATIVEOM. Neither one seems to work. I really would prefer not to use the second one as it has an Excel major and minor version number. I would hate to have to change this code, if a new minor version appeared.
The attached code has been commented to show which parts have been shown to work and which not. I'm at my wits end and really need help.
Thanks
'This module is located in Access 2010, but this is an Excel question.
Option Compare Database
Option Explicit
' Module-Level Declarations
'The GetDesktopWindow function and FindWindowEx function work just fine.
Public Declare Function GetDesktopWindow Lib "user32" () As Long
Public Declare Function FindWindowEx Lib "user32" Alias "FindWindowExA" _
(ByVal hWnd1 As Long, _
ByVal hWnd2 As Long, _
ByVal lpsz1 As String, _
ByVal lpsz2 As String) _
As Long
'I'm not getting the expected output from this function (see below)
Private Declare Function AccessibleObjectFromWindow& Lib "oleacc.dll" _
(ByVal hwnd&, _
ByVal dwId&, _
riid As GUID, _
xlwb As Object)
Type GUID
lData1 As Long
iData2 As Integer
iData3 As Integer
aBData4(0 To 7) As Byte
End Type
Function ExcelInstances() As Long
' Procedure-Level Declarations
' Value of OBJID_NATIVEOM verified by checking list of Windows API constants _
on this site: http://www.lw-tech.com/q1/base.htm
Const OBJID_NATIVEOM = &HFFFFFFF0
Dim hWndDesk As Long 'Desktop window
Dim hWndXL As Long 'Child window
Dim objExcelApp As Object 'Final result wanted: Excel application object
'Following variable (xlapp) to be set by AccessibleObjectFromWindow function
Dim xlapp As Object
Dim IDispatch As GUID 'GUID used in call to AccessibleObjectFrom Window function
'Set up GUID to be used for all instances of Excel that are found
Dim tmp1 As Variant 'Return value from AccessibleObjectFromWindow
' Executable Statements
SetIDispatch IDispatch
IDispatch = IDispatch
'Get a handle to the desktop
hWndDesk = GetDesktopWindow 'This seems to work
Do
'Get the next Excel window
'The following statement seems to work. We are finding and counting _
correctly all the instances of Excel. hWndXL is non-zero for each _
instance of Excel
hWndXL = FindWindowEx(GetDesktopWindow, hWndXL, "XLMAIN", vbNullString)
'If we got one, increment the count
If hWndXL > 0 Then
'This works. We correctly count all _
instances of Excel
ExcelInstances = ExcelInstances + 1
'Here is the problem. The following statement executes and returns a value of _
-2147467262. xlapp, which is passed by reference to AccessibleObjectFromWindow, _
is set to nothing. It should be set to the object for Excel.application. _
I believe that this value is not an object. I tried to reference tmp1. in the _
immediate window. There was no Intellisense.
'I think that the function in returning an error value, but I can't figure _
out what it is. I believe that AccessibleObjectFromWindow returns error _
values, but I don't know where to find their values so I can interpret the _
function's results.
'As best I can tell, the hWndXL parameter is correct. It is the handle for _
an instance of Excel. OBJID_NATIVEOM is set correctly (see constant declaration _
above). xlapp is passed by reference as a non-initialized object variable, which _
will be set by AccessiblObjectFromWindow. IDispatch may be the problem. It is set _
as shown below in the procedure SetIDispatch(ByRef ID As GUID). This procedure _
appears to work. I can see that IDispatch is set as I intended and correctly _
passed to AccessibleObjectFromWindow.
tmp1 = AccessibleObjectFromWindow(hWndXL, OBJID_NATIVEOM, IDispatch, xlapp)
'Need to write code to test tmp1 for error. If none, then set objExcelApp = _
object. Also, I exect xlapp to be set to Excel.application
End If
'Loop until we've found them all
Loop Until hWndXL = 0
End Function
Private Sub SetIDispatch(ByRef ID As GUID)
'Defines the IDispatch variable. The interface _
ID is {90140000-0016-0409-0000-0000000FF1CE}.
'NOT USING {00020400-0000-0000-C000-000000000046}, _
which could be the problem
'9 is release version - first version shipped (initial release)
'0 is release type - retail/oem
'14 is major version
'0000 is minor version
'0016 is product ID - MS Excel 2010
'0409 is language identifier - English
'0 is x86 or x64 - this is x86
'000 reserved
'0 is debug/ship
'000000FF1CE is office family ID
With ID
.lData1 = &H90140000
.iData2 = &H16
.iData3 = &H409
.aBData4(0) = &H0
.aBData4(1) = &H0
.aBData4(2) = &H0
.aBData4(3) = &H0
.aBData4(4) = &H0
.aBData4(5) = &HF
.aBData4(6) = &HF1
.aBData4(7) = &HCE
End With
End Sub
DaveInCalabasasI don't think you can return a reference to Excel's main window like that as you are attempting to do.
Ref:
http://msdn.microsoft.com/en-us/library/windows/desktop/dd317978(v=vs.85).aspx
It's relatively straightforward to return any workbook's window in any given instance, and in turn it's parent Excel app. Try the following and adapt as required (and include error handling) -
Option Explicit
Private Declare Function FindWindowEx Lib "User32" Alias "FindWindowExA" _
(ByVal hWnd1 As Long, ByVal hWnd2 As Long, ByVal lpsz1 As String, _
ByVal lpsz2 As String) As Long
Private Declare Function IIDFromString Lib "ole32" _
(ByVal lpsz As Long, ByRef lpiid As GUID) As Long
Private Declare Function AccessibleObjectFromWindow Lib "oleacc" _
(ByVal hWnd As Long, ByVal dwId As Long, ByRef riid As GUID, _
ByRef ppvObject As Object) As Long
Private Type GUID
Data1 As Long
Data2 As Integer
Data3 As Integer
Data4(7) As Byte
End Type
Private Const S_OK As Long = &H0
Private Const IID_IDispatch As String = "{00020400-0000-0000-C000-000000000046}"
Private Const OBJID_NATIVEOM As Long = &HFFFFFFF0
Sub test()
Dim i As Long
Dim hWinXL As Long
Dim xlApp As Object ' Excel.Application
Dim wb As Object ' Excel.Workbook
hWinXL = FindWindowEx(0&, 0&, "XLMAIN", vbNullString)
While hWinXL > 0
i = i + 1
Debug.Print "Instance_" & i; hWinXL
If GetXLapp(hWinXL, xlApp) Then
For Each wb In xlApp.Workbooks
Debug.Print , wb.Name
Next
End If
hWinXL = FindWindowEx(0, hWinXL, "XLMAIN", vbNullString)
Wend
End Sub
'Function GetXLapp(hWinXL As Long, xlApp As Excel.Application) As Boolean
Function GetXLapp(hWinXL As Long, xlApp As Object) As Boolean
Dim hWinDesk As Long, hWin7 As Long
Dim obj As Object
Dim iid As GUID
Call IIDFromString(StrPtr(IID_IDispatch), iid)
hWinDesk = FindWindowEx(hWinXL, 0&, "XLDESK", vbNullString)
hWin7 = FindWindowEx(hWinDesk, 0&, "EXCEL7", vbNullString)
If AccessibleObjectFromWindow(hWin7, OBJID_NATIVEOM, iid, obj) = S_OK Then
Set xlApp = obj.Application
GetXLapp = True
End If
End Function
Note as written if an instance does not have any loaded workbooks a reference will not be returned (though a workbook can be added using DDE, but convoluted!)
FWIW there are two other very different approaches to grab all running Excel instances though something along the lines of the above is simplest.
Peter Thornton -
Error 1603 in deploying Office 2003 by creating an application object using its MSI package!
Hello,
I got the error of 1603 when I ran Office 2003 MSI package through NAL. I
have no idea how to resolve this problem. Even though I enabled logging in
Office 2003 installation, I still could not figure out what went wrong and
what caused the error.
I have used Snapshot to create an application object for a long time with
little problem. However, I could not successfully deploy any MSI package
created by an application object. I knew ZenWork Managing Application has
the feature, but I don't know how to make it work in our environment.
Do I have to know more about Microsoft Window Installer ?
Appreciate your comments and experience in advance
Thanks
Joe Liu
email: [email protected][email protected],
> I got the error of 1603 when I ran Office 2003 MSI package through NAL
>
Start here:
http://support.novell.com/techcenter...tation&x=0&y=0
Yes, understanding MSI helps. FWIW I have deployed 2003 this way.
- Anders Gustafsson, Engineer, CNE6, ASE
NSC Volunteer Sysop
Pedago, The Aaland Islands (N60 E20)
Novell does not monitor these forums officially.
Enhancement requests for all Novell products may be made at
http://support.novell.com/enhancement
Using VA 5.51 build 315 on Windows 2000 build 2195 -
Code 91 - Caused Error: (Object variable or With block variable not set)
Hi,
We are using FDM 9.3.1. We have enabled batch processing.
We are having following process being followed
- Batch Loader script will pull the data from dwh table for each entity, scenario, year and period
- Batch processing is set to serial and processlevel set to Up-To-Check
- We had following five files created for Location - EMAFF100
i. 1_EMAFF100_ACT_May-2011_RR.txt
ii. 1_EMAFF100_ACT_Jun-2011_RR.txt
iii. 1_EMAFF100_ACT_Jul-2011_RR.txt
iv. 1_EMAFF100_ACT_Aug-2011_RR.txt
v. 1_EMAFF100_ACT_Sep-2011_RR.txt
Batch loader process completed the processing for May - 2011, Jul - 2011, Aug-2011, Sep-2011.
But for Jun 2011 it has given the following error in the 'tbatchinformation' table and failed at import stage.
40751.6239236111 1_EMAFF100_ACT_JUN-2011_RR.TXT 2 2 91-Object variable or With block variable not set
When we checked the view error log from tool menu we found following
** Begin FDM Runtime Error Log Entry [2011-07-27-14:58:29] **
ERROR:
Code......................................... 91
Description.................................. File [1_EMAFF100_ACT_Jun-2011_RR.txt] Caused Error: (Object variable or With block variable not set)
Procedure.................................... clsBatchLoader.mFileCollectionProcess
Component.................................... upsWBatchLoaderDM
Version...................................... 931
Thread....................................... 5600
IDENTIFICATION:
User......................................... ncreighton
Computer Name................................ HYAPSDEV1
App Name..................................... EMATTEST
Client App................................... WebClient
CONNECTION:
Provider..................................... ORAOLEDB.ORACLE
Data Server..................................
Database Name................................ hydev_serv
Trusted Connect.............................. False
Connect Status.. Connection Open
GLOBALS:
Location..................................... EMAFF100
Location ID.................................. 762
Location Seg................................. 16
Category..................................... ACT
Category ID.................................. 13
Period....................................... Jun - 2011
Period ID.................................... 30/06/2011
POV Local.................................... False
Language..................................... 1033
User Level................................... 1
All Partitions............................... False
Is Auditor................................... False
We then re submitted data for Jun period and saw batch process got successfully completed and June data got imported successfully and also rest other processes got through.
Can any one provide exact cause for this error? As we have automated the data load from DWH to FDM And then to HFM. Hence when such error comes it disturbs lot of processing there on. Appreciate your early response.
Thanks in advance.Hi SAP collegues,
At my site, BPC Excel created this problem too "Object Variable or With Block Variable not set" .
It turned out that this is symptom of a a dys-functioning BPC COM Plug-in in XL2007 or XL2010!
This is a consequence that your Excel recently crashed while using BPC. And it relates to an Excel Add-in becoming disabled when the applications crashes. Please check the following.
Note before doing the following, close all other open Excel and BPC sessions.
Within Excel go to File à Options
Select the Add-Ins option on the left
Select the <<COM Add-ins >> option in the Manage drop down, and click Go
Make sure that the Planning and Consolidation option is selected. If not, mark this box and click OK.
If you do not see anything listed, return to the Add-in screen and select the Disabled Items option, and see if Planning and Consolidation is listed there.
Let me know if you have any queries,
Kind Regards,
robert ten bosch
Maybe you are looking for
-
Gnome 3.8 - nautilus crashes gnome-shell
Hi, I have a problem on two users where by once opening nautilus, the shell crashes and then re-blinks in and recovers some times, and sometimes I get a grey screen saying I need to logout. I did a complete removal of gnome 3.6, and then removed all
-
The new versons of flashplugin are very slow?
Hi, I discovered some flicker issues when viewing flash clips in fullscreen. I downgraded the flashplugin to flashplugin-10.1.85.3-1-i686.pkg.tar.xz and everything seems to be fine again. The biggest plus for the old version can be seen with sites th
-
PAL or NTSC on iMovie10 ?
Mac recent Mini/Yosemite/iMove10 How to choose between PAL and NTSC it was easy with iMovie909 ..new project,theme ,PA Lor NTSC but with iMovie 10 ?? Thanks
-
Backend PO number does not update SRM follow-on doc section
Hi Guys, We are on SRM5.0 and ECC6.0 with Classic scenario. We are developing a logic in BADI BBP_CREATE_BE_PO_NEW (method FILL_PO_INTERFACE1) to determine if a Goods Receipt is required for some business conditions. Below is the logic. 1.If GR is re
-
Installing ODI 11 on a single server Hyperion 11.1.2.1 environment
We have a single server Dev EPM (Hyp 11.1.2.1) environment (HP, HPCM, HFM, FDM), which is working over all fine. We now would like to use ODI for data and metadata loads. Our plan is to install ODI 11.1.1.6 on the same server where we have the above