Schema information was not read from MDS Repository
Hi All,
When running the SCA Components and reading the schemas information, we are facing issues, like....
" Schema information was not read from MDS Repository " and the instances are getting failed.
this is not happending that regularly, but when checked the network connection, it seems to be fine.
any thoughts ? .
thanks in advance
anvv sharma.
How are you checking the network connection stability ?
There may be some fluctuation in network, during that time the network connection may had lost for a fraction of second.
Thanks,
Vijay
Similar Messages
-
Oim-config.xml was not found in MDS Repository.
Hi there,
I'm trying to install Oracle Fusion Application (last version .5) but I can't go ahead becuase I got an error during the OIM Server installation.
$ uname -a
Linux server02 2.6.39-200.24.1.el6uek.x86_64 #1 SMP Sat Jun 23 02:39:07 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux
$ cd /repository/fusion/fmw/iam/bin/
$ ./config.sh &
Select only “OIM Server” [...] everything is going fine without error. I've re-started the AdminServer and started the OIM.
If I try to open the browser http://<server>:14000 I got an Error 404
Take a look at the log, there is an Error on oim-config.xml
I was trying to find something on Google but all the forum talked about the missing security files.
I tried to install again OIM but nothing happened.
Someone could help me please?
Thanks and best regards,
Lain
$ tail -f /repository/fusion/fmw//admin/IDMDomain/mserver/IDMDomain/servers/wls_oim1/logs/wls_oim1.log
####<Jan 30, 2013 1:24:15 AM CET> <Error> <Deployer> <server02> <wls_oim1> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <aa66
ef4907f1903f:-58c6bc2b:13c88d5b7cb:-8000-0000000000000003> <1359505455419> <BEA-149205> <Failed to initialize the application 'oim [Version=11.1.1.3.0]' due to error oracle.iam.platform.uti
ls.OIMAppInitializationException:
OIM application intialization failed because of the following reasons:
oim-config.xml was not found in MDS Repository.
oracle.iam.platform.utils.OIMAppInitializationException:
OIM application intialization failed because of the following reasons:
oim-config.xml was not found in MDS Repository.
at oracle.iam.platform.utils.OIMAppInitializationListener.preStart(OIMAppInitializationListener.java:145)
at weblogic.application.internal.flow.BaseLifecycleFlow$PreStartAction.run(BaseLifecycleFlow.java:282)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.application.internal.flow.BaseLifecycleFlow$LifecycleListenerAction.invoke(BaseLifecycleFlow.java:199)
at weblogic.application.internal.flow.BaseLifecycleFlow.preStart(BaseLifecycleFlow.java:62)
at weblogic.application.internal.flow.HeadLifecycleFlow.prepare(HeadLifecycleFlow.java:284)
at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:649)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:59)
at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
at weblogic.deploy.internal.targetserver.AppDeployment.prepare(AppDeployment.java:144)
at weblogic.management.deploy.internal.DeploymentAdapter$1.doPrepare(DeploymentAdapter.java:40)
at weblogic.management.deploy.internal.DeploymentAdapter.prepare(DeploymentAdapter.java:191)
at weblogic.management.deploy.internal.AppTransition$1.transitionApp(AppTransition.java:22)
at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:261)
at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:220)
at weblogic.management.deploy.internal.ConfiguredDeployments.prepare(ConfiguredDeployments.java:166)
at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122)
at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:181)
at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:97)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
Caused By: oracle.iam.platform.utils.OIMAppInitializationException:
OIM application intialization failed because of the following reasons:
oim-config.xml was not found in MDS Repository.
at oracle.iam.platform.utils.OIMAppInitializationListener.preStart(OIMAppInitializationListener.java:145)
at weblogic.application.internal.flow.BaseLifecycleFlow$PreStartAction.run(BaseLifecycleFlow.java:282)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.application.internal.flow.BaseLifecycleFlow$LifecycleListenerAction.invoke(BaseLifecycleFlow.java:199)
at weblogic.application.internal.flow.BaseLifecycleFlow.preStart(BaseLifecycleFlow.java:62)
at weblogic.application.internal.flow.HeadLifecycleFlow.prepare(HeadLifecycleFlow.java:284)
at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:649)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:59)
at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
at weblogic.deploy.internal.targetserver.AppDeployment.prepare(AppDeployment.java:144)
at weblogic.management.deploy.internal.DeploymentAdapter$1.doPrepare(DeploymentAdapter.java:40)
at weblogic.management.deploy.internal.DeploymentAdapter.prepare(DeploymentAdapter.java:191)
at weblogic.management.deploy.internal.AppTransition$1.transitionApp(AppTransition.java:22)
at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:261)
at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:220)
at weblogic.management.deploy.internal.ConfiguredDeployments.prepare(ConfiguredDeployments.java:166)
at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122)
at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:181)
at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:97)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
####<Jan 30, 2013 1:24:15 AM CET> <Warning> <Munger> <server02> <wls_oim1> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <aa66ef4907f1903f:-58c6bc2b:13c88d5b7cb:-8000-0000000000000003> <1359505455586> <BEA-2156203> <A version attribute was not found in element application in the deployment descriptor in /repository/fusion/fmw/iam/server/apps/spml-xsd.ear/META-INF/application.xml. A version attribute is required, but this version of the Weblogic Server will assume that the JEE5 is used. Future versions of the Weblogic Server will reject descriptors that do not specify the JEE version.>
####<Jan 30, 2013 1:24:15 AM CET> <Warning> <Munger> <server02> <wls_oim1> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <aa66ef4907f1903f:-58c6bc2b:13c88d5b7cb:-8000-0000000000000003> <1359505455702> <BEA-2156203> <A version attribute was not found in element application in the deployment descriptor in /repository/fusion/fmw/admin/IDMDomain/mserver/IDMDomain/servers/wls_oim1/tmp/_WL_user/spml-xsd/ahejq0/META-INF/application.xml. A version attribute is required, but this version of the Weblogic Server will assume that the JEE5 is used. Future versions of the Weblogic Server will reject descriptors that do not specify the JEE version.>
####<Jan 30, 2013 1:24:15 AM CET> <Info> <WorkManager> <server02> <wls_oim1> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <aa66ef4907f1903f:-58c6bc2b:13c88d5b7cb:-8000-0000000000000003> <1359505455706> <BEA-002903> <Creating WorkManager from "OIMUIWorkManager" WorkManagerMBean for application "spml-xsd">
####<Jan 30, 2013 1:24:15 AM CET> <Info> <WorkManager> <server02> <wls_oim1> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <aa66ef4907f1903f:-58c6bc2b:13c88d5b7cb:-8000-0000000000000003> <1359505455706> <BEA-002903> <Creating WorkManager from "OIMMDBWorkManager" WorkManagerMBean for application "spml-xsd">
####<Jan 30, 2013 1:24:15 AM CET> <Info> <Deployer> <server02> <wls_oim1> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <aa66ef4907f1903f:-58c6bc2b:13c88d5b7cb:-8000-0000000000000003> <1359505455718> <BEA-149059> <Module spml-xsd of application spml-xsd is transitioning from STATE_NEW to STATE_PREPARED on server wls_oim1.>Thanks for your support Rajiv Dewan and idamGod,
I've just followed this metalink ID: “Easy step for Oracle Identity Manager 11g (OIM 11g) installation on Windows [ID 1234357.1]”
In my case I don’t have this error:
Unable to find keystore "default-keystore.jks" in <DOMAIN_HOME>/config/fmwconfig/.
Unable to find keystore ".xldatabasekey" in <DOMAIN_HOME>/config/fmwconfig/.
[…]Maybe it’s the same root causes but I installed again the OIM without success. I can’t login to the OIM because I just back 404.
I’m sorry but I didn’t understand what I can do.
Thanks,
Lain -
OIM 11g installation: oim-config.xml was not found in MDS Repository
Hi,
I just installed Oracle Identity Manager 11g (the latest version) on out test system. The installation worked fine. I can start the admin server as well as the soa_server. But when I start the oim_server1, the deployment of oim fails with the following error message:
####<Aug 18, 2010 3:33:22 PM CEST> <Error> <Deployer> <oim11g> <oim_server1> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1282138402834> <BEA-149205> <Failed to initialize the application 'oim [Version=11.1.1.3.0]' due to error oracle.iam.platform.utils.OIMAppInitializationException:
OIM application intialization failed because of the following reasons:
oim-config.xml was not found in MDS Repository.
Unable to find keystore "default-keystore.jks" in <DOMAIN_HOME>/config/fmwconfig/.
Unable to find keystore ".xldatabasekey" in <DOMAIN_HOME>/config/fmwconfig/.
Password for OIMSchemaPassword is not seeded in CSF.
Password for xell is not seeded in CSF.
Password for DataBaseKey is not seeded in CSF.
Password for JMSKey is not seeded in CSF.
Password for .xldatabasekey is not seeded in CSF.
Password for default-keystore.jks is not seeded in CSF.
Password for SOAAdminPassword is not seeded in CSF.
oracle.iam.platform.utils.OIMAppInitializationException:
OIM application intialization failed because of the following reasons:
oim-config.xml was not found in MDS Repository.
Unable to find keystore "default-keystore.jks" in <DOMAIN_HOME>/config/fmwconfig/.
Unable to find keystore ".xldatabasekey" in <DOMAIN_HOME>/config/fmwconfig/.
Password for OIMSchemaPassword is not seeded in CSF.
Password for xell is not seeded in CSF.
Password for DataBaseKey is not seeded in CSF.
Password for JMSKey is not seeded in CSF.
Password for .xldatabasekey is not seeded in CSF.
Password for default-keystore.jks is not seeded in CSF.
Password for SOAAdminPassword is not seeded in CSF.
at oracle.iam.platform.utils.OIMAppInitializationListener.preStart(OIMAppInitializationListener.java:145)
at weblogic.application.internal.flow.BaseLifecycleFlow$PreStartAction.run(BaseLifecycleFlow.java:282)
Has anybody seen this error before or knows how to fix it? Thanks for your help in advance!
Best regards
TomThis also solved my issue. If you can backup the .xldatabasekey file before you reinstall this will allow the OIM application to read the OIM database. I was successfully able to run rm -Rf and wipe my entire Middleware directory. Then I reinstalled ALL of OIM and SOA back to the same VM. I saved the .xldatabasekey file before hand and dropped it right back to the same folder before I ran the rm -Rf command later after the OIM Domain was installed. Finally, as mentioned above, I logged into EM and found that I needed to add the .xldatabasekey "password" and simply used the same password that I entered during the OIM configure steps for the keystore. Remember the .xldatabasekey password IS NOT the xelsysadm password, but the KEYSTORE password. They are different. I am now able to log into OIM and I can see all the pre-existing users. Thanks for the help!
-
Error ORA-01152: file 1 was not restored from a sufficiently old backup
Its also not thread just to share info with oracle gurus here.If my findings for the below workaround is wrong then please do correct me.
Sometime you get the error after performing restoring controlfile when you don't have autobackup controlfile on
error ORA-01152: file 1 was not restored from a sufficiently old backup
why?
Cause When you shutdown the database with using the normal,transactional or immediate options not abort a full checkpoint occurs.A full checkpoint ensures that all of the dirty blocks contained in the buffer cache are written to the data files,the database comes into synchronized state at this time i.e controlfile CKPT SCN=databasefile CKPT.
Like in this demo i am not taking backup the database in opened mode
Demo 1
SQL> archive log list
Database log mode No Archive Mode
Automatic archival Disabled
Archive destination USE_DB_RECOVERY_FILE_DEST
Oldest online log sequence 9
Current log sequence 11
SQL> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup mount
ORACLE instance started.
Total System Global Area 171966464 bytes
Fixed Size 787988 bytes
Variable Size 145488364 bytes
Database Buffers 25165824 bytes
Redo Buffers 524288 bytes
Database mounted.
SQL> alter database archivelog
2 /
Database altered.
SQL> archive log list
Database log mode Archive Mode
Automatic archival Enabled
Archive destination USE_DB_RECOVERY_FILE_DEST
Oldest online log sequence 9
Next log sequence to archive 11
Current log sequence 11
Recovery Manager: Release 10.1.0.2.0 - Production
Copyright (c) 1995, 2004, Oracle. All rights reserved.
RMAN> connect target sys/sys
connected to target database: ORCL1 (DBID=1024798223)
RMAN> list backup
2> ;
using target database controlfile instead of recovery catalog
RMAN> backup database
2> ;
Starting backup at 08-DEC-07
using channel ORA_DISK_1
channel ORA_DISK_1: starting full datafile backupset
channel ORA_DISK_1: specifying datafile(s) in backupset
input datafile fno=00001 name=C:\ORACLE10G\ORACLE\ORADATA\ORCL1\ORCL1\SYSTEM01.DBF
input datafile fno=00003 name=C:\ORACLE10G\ORACLE\ORADATA\ORCL1\ORCL1\SYSAUX01.DBF
input datafile fno=00002 name=C:\ORACLE10G\ORACLE\ORADATA\ORCL1\ORCL1\UNDOTBS01.DBF
input datafile fno=00004 name=C:\ORACLE10G\ORACLE\ORADATA\ORCL1\ORCL1\USERS01.DBF
channel ORA_DISK_1: starting piece 1 at 08-DEC-07
channel ORA_DISK_1: finished piece 1 at 08-DEC-07
piece handle=C:\ORACLE\FLASH_RECOVERY_AREA\ORCL1\ORCL1\BACKUPSET\2007_12_08\O1_MF_NNNDF_TAG20071208T143558_3ONSCZBY_.BKP
comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:45
channel ORA_DISK_1: starting full datafile backupset
channel ORA_DISK_1: specifying datafile(s) in backupset
including current controlfile in backupset
including current SPFILE in backupset
channel ORA_DISK_1: starting piece 1 at 08-DEC-07
channel ORA_DISK_1: finished piece 1 at 08-DEC-07
piece handle=C:\ORACLE\FLASH_RECOVERY_AREA\ORCL1\ORCL1\BACKUPSET\2007_12_08\O1_MF_NCSNF_TAG20071208T143558_3ONSFGN7_.BKP
comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:05
Finished backup at 08-DEC-07
SQL> shutdown immediate
ORA-01109: database not open
Database dismounted.
ORACLE instance shut down.Now i delete the controlfile from OS command.
SQL> startup
ORACLE instance started.
Total System Global Area 171966464 bytes
Fixed Size 787988 bytes
Variable Size 145488364 bytes
Database Buffers 25165824 bytes
Redo Buffers 524288 bytes
ORA-00205: error in identifying controlfile, check alert log for more infoi don't have automatized control file backup neither i have control file copy.What i will do
to recover control file i will restore controlfile from backup.Before doing it that i will bring
the database in mount state.
SQL> shutdown immediate
ORA-01507: database not mounted
ORACLE instance shut down.
SQL> startup mount
ORACLE instance started.
Total System Global Area 171966464 bytes
Fixed Size 787988 bytes
Variable Size 145488364 bytes
Database Buffers 25165824 bytes
Redo Buffers 524288 bytes
ORA-00205: error in identifying controlfile, check alert log for more infoi have two backup piece in my backupset folder you cant check control file backup
existence with list backup controlfile at RMAN prompt cause it needs database in
mount state.You will have to test both backup set pieces.
RMAN> restore controlfile from
'C:\oracle\flash_recovery_area\orcl1\ORCL1\BACKUPSET\2007_12_08\O1_MF_NCSNF_TAG20071208T143558_3ONSFGN7_.BKP';
Starting restore at 08-DEC-07
using channel ORA_DISK_1
channel ORA_DISK_1: restoring controlfile
channel ORA_DISK_1: restore complete
output filename=C:\ORACLE10G\ORACLE\ORADATA\ORCL1\ORCL1\CONTROL01.CTL
output filename=C:\ORACLE10G\ORACLE\ORADATA\ORCL1\ORCL1\CONTROL02.CTL
output filename=C:\ORACLE10G\ORACLE\ORADATA\ORCL1\ORCL1\CONTROL03.CTL
Finished restore at 08-DEC-07
SQL> startup
ORACLE instance started.
Total System Global Area 171966464 bytes
Fixed Size 787988 bytes
Variable Size 145488364 bytes
Database Buffers 25165824 bytes
Redo Buffers 524288 bytes
Database mounted.
ORA-01589: must use RESETLOGS or NORESETLOGS option for database open
SQL> alter database open resetlogs
2 /
Database altered.You can see database now comes into open mode without raising error error
ORA-01152: file 1 was not restored from a sufficiently old backup,you can see that
database shutdown with immediate which synchronized the control file with database
file.
Demo 2
------------Now in this demo i am taking backup the database in opened mode before backup
database i have deleted alls previous backup.
Database is in opened moder if i take the backup in database opened mode
(i.e full checkpoint will not occur controlfile CKPT SCN<>datafile CKPT SCN)
you will get the error when you will restore controlfile from backup set.
error ORA-01152: file 1 was not restored from a sufficiently old backup
Reason is that CKPT SCN in the datafiles will be ahead of the backupset control file no
full checkpoint occuring. You are not taking backup in consistent state and the
backupset will not be in consistent state.When you will restore the control file from
backupset then yours restored control file SCN will be lesser then yours datafile
checkpoint SCN.
SQL> startup
ORACLE instance started.
Total System Global Area 171966464 bytes
Fixed Size 787988 bytes
Variable Size 145488364 bytes
Database Buffers 25165824 bytes
Redo Buffers 524288 bytes
Database mounted.
Database opened.
RMAN> backup database
2> ;
Starting backup at 11-DEC-07
using channel ORA_DISK_1
channel ORA_DISK_1: starting full datafile backupset
channel ORA_DISK_1: specifying datafile(s) in backupset
input datafile fno=00001 name=C:\ORACLE10G\ORACLE\ORADATA\ORCL1\ORCL1\SYSTEM01.D
BF
input datafile fno=00003 name=C:\ORACLE10G\ORACLE\ORADATA\ORCL1\ORCL1\SYSAUX01.D
BF
input datafile fno=00002 name=C:\ORACLE10G\ORACLE\ORADATA\ORCL1\ORCL1\UNDOTBS01.
DBF
input datafile fno=00004 name=C:\ORACLE10G\ORACLE\ORADATA\ORCL1\ORCL1\USERS01.DB
F
channel ORA_DISK_1: starting piece 1 at 11-DEC-07
channel ORA_DISK_1: finished piece 1 at 11-DEC-07
piece handle=C:\ORACLE\FLASH_RECOVERY_AREA\ORCL1\ORCL1\BACKUPSET\2007_12_11\O1_M
F_NNNDF_TAG20071211T125123_3OWJD0V5_.BKP comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:56
channel ORA_DISK_1: starting full datafile backupset
channel ORA_DISK_1: specifying datafile(s) in backupset
including current controlfile in backupset
including current SPFILE in backupset
channel ORA_DISK_1: starting piece 1 at 11-DEC-07
channel ORA_DISK_1: finished piece 1 at 11-DEC-07
piece handle=C:\ORACLE\FLASH_RECOVERY_AREA\ORCL1\ORCL1\BACKUPSET\2007_12_11\O1_M
F_NCSNF_TAG20071211T125123_3OWJFT97_.BKP comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:09
Finished backup at 11-DEC-07now i shut down the database in order to delete the control file from os command
SQL> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> deleting the controlfile from oradata folder
SQL> startup
ORACLE instance started.
Total System Global Area 171966464 bytes
Fixed Size 787988 bytes
Variable Size 145488364 bytes
Database Buffers 25165824 bytes
Redo Buffers 524288 bytes
ORA-00205: error in identifying controlfile, check alert log for more infonow i would restore the controlfile from backupset.
RMAN> restore controlfile from 'C:\oracle\flash_recovery_area\orcl1\ORCL1\BACKUP
SET\2007_12_11\O1_MF_NCSNF_TAG20071211T125123_3OWJFT97_.BKP'
2> ;
Starting restore at 11-DEC-07
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=159 devtype=DISK
channel ORA_DISK_1: restoring controlfile
channel ORA_DISK_1: restore complete
output filename=C:\ORACLE10G\ORACLE\ORADATA\ORCL1\ORCL1\CONTROL01.CTL
output filename=C:\ORACLE10G\ORACLE\ORADATA\ORCL1\ORCL1\CONTROL02.CTL
output filename=C:\ORACLE10G\ORACLE\ORADATA\ORCL1\ORCL1\CONTROL03.CTL
Finished restore at 11-DEC-07
SQL> shutdown immediate
ORA-01507: database not mounted
ORACLE instance shut down.
SQL> startup
ORACLE instance started.
Total System Global Area 171966464 bytes
Fixed Size 787988 bytes
Variable Size 145488364 bytes
Database Buffers 25165824 bytes
Redo Buffers 524288 bytes
Database mounted.
ORA-01589: must use RESETLOGS or NORESETLOGS option for database open
SQL> alter database open resetlogs
2 /
alter database open resetlogs
ERROR at line 1:
ORA-01152: file 1 was not restored from a sufficiently old backup
ORA-01110: data file 1: 'C:\ORACLE10G\ORACLE\ORADATA\ORCL1\ORCL1\SYSTEM01.DBF'what would you do that now you have lost controlfile ,you dont have copy either you dont
have autobackup on for controlfile,you need to create the control file
SQL> shutdown immediate
ORA-01109: database not open
Database dismounted.
ORACLE instance shut down.
SQL> startup nomount
ORACLE instance started.
Total System Global Area 171966464 bytes
Fixed Size 787988 bytes
Variable Size 145488364 bytes
Database Buffers 25165824 bytes
Redo Buffers 524288 bytes
SQL> create controlfile reuse database orcl1 noresetlogs archivelog
2 MAXLOGFILES 50
3 MAXLOGMEMBERS 3
4 MAXDATAFILES 300
5 MAXINSTANCES 8
6 MAXLOGHISTORY 500
7 LOGFILE
8 GROUP 1 'C:\oracle10g\oracle\oradata\orcl1\orcl1\redo01.LOG',
9 GROUP 2 'C:\oracle10g\oracle\oradata\orcl1\orcl1\redo02.LOG',
10 GROUP 3 'C:\oracle10g\oracle\oradata\orcl1\orcl1\redo03.LOG'
11 DATAFILE
12 'C:\oracle10g\oracle\oradata\orcl1\orcl1\SYSAUX01.DBF',
13 'C:\oracle10g\oracle\oradata\orcl1\orcl1\SYSTEM01.DBF',
14 'C:\oracle10g\oracle\oradata\orcl1\orcl1\UNDOTBS01.DBF',
15 'C:\oracle10g\oracle\oradata\orcl1\orcl1\USERS01.DBF'
16
SQL> /
Control file created.
SQL> alter database open
2 /
Database altered.KhurramNo need to manually recreate the controlfile. Simply issue RECOVER DATABASE prior to opening database.
E:\>rman target /
Recovery Manager: Release 10.2.0.1.0 - Production on Sun Dec 30 01:22:34 2007
Copyright (c) 1982, 2005, Oracle. All rights reserved.
connected to target database (not started)
RMAN> startup
Oracle instance started
database mounted
database opened
Total System Global Area 612368384 bytes
Fixed Size 2006192 bytes
Variable Size 239076176 bytes
Database Buffers 364904448 bytes
Redo Buffers 6381568 bytes
RMAN> backup database;
Starting backup at 30-DEC-07
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=148 devtype=DISK
channel ORA_DISK_1: starting full datafile backupset
channel ORA_DISK_1: specifying datafile(s) in backupset
input datafile fno=00001 name=E:\ORACLE\ORADATA\ORA10G\SYSTEM01.DBF
input datafile fno=00002 name=E:\ORACLE\ORADATA\ORA10G\UNDOTBS01.DBF
input datafile fno=00003 name=E:\ORACLE\ORADATA\ORA10G\SYSAUX01.DBF
input datafile fno=00004 name=E:\ORACLE\ORADATA\ORA10G\USERS01.DBF
channel ORA_DISK_1: starting piece 1 at 30-DEC-07
channel ORA_DISK_1: finished piece 1 at 30-DEC-07
piece handle=D:\DB_BACKUPS\12J4S23M_1_1.BKP tag=TAG20071230T012302 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:01:35
channel ORA_DISK_1: starting full datafile backupset
channel ORA_DISK_1: specifying datafile(s) in backupset
including current control file in backupset
including current SPFILE in backupset
channel ORA_DISK_1: starting piece 1 at 30-DEC-07
channel ORA_DISK_1: finished piece 1 at 30-DEC-07
piece handle=D:\DB_BACKUPS\13J4S26L_1_1.BKP tag=TAG20071230T012302 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:03
Finished backup at 30-DEC-07
RMAN> shutdown immediate
database closed
database dismounted
Oracle instance shut down
RMAN> exit
Recovery Manager complete.
E:\>del e:\oracle\oradata\ora10g\*.ctl
E:\>rman target /
Recovery Manager: Release 10.2.0.1.0 - Production on Sun Dec 30 01:25:39 2007
Copyright (c) 1982, 2005, Oracle. All rights reserved.
connected to target database (not started)
RMAN> startup
Oracle instance started
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of startup command at 12/30/2007 01:25:56
ORA-00205: error in identifying control file, check alert log for more info
RMAN> restore controlfile from 'D:\DB_BACKUPS\13J4S26L_1_1.BKP';
Starting restore at 30-DEC-07
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=157 devtype=DISK
channel ORA_DISK_1: restoring control file
channel ORA_DISK_1: restore complete, elapsed time: 00:00:03
output filename=E:\ORACLE\ORADATA\ORA10G\CONTROL01.CTL
output filename=E:\ORACLE\ORADATA\ORA10G\CONTROL02.CTL
output filename=E:\ORACLE\ORADATA\ORA10G\CONTROL03.CTL
Finished restore at 30-DEC-07
RMAN> alter database mount;
database mounted
released channel: ORA_DISK_1
RMAN> alter database open resetlogs;
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of alter db command at 12/30/2007 01:27:33
ORA-01152: file 1 was not restored from a sufficiently old backup
ORA-01110: data file 1: 'E:\ORACLE\ORADATA\ORA10G\SYSTEM01.DBF'
RMAN> recover database;
Starting recover at 30-DEC-07
Starting implicit crosscheck backup at 30-DEC-07
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=156 devtype=DISK
Crosschecked 1 objects
Finished implicit crosscheck backup at 30-DEC-07
Starting implicit crosscheck copy at 30-DEC-07
using channel ORA_DISK_1
Finished implicit crosscheck copy at 30-DEC-07
searching for all files in the recovery area
cataloging files...
no files cataloged
using channel ORA_DISK_1
starting media recovery
archive log thread 1 sequence 1 is already on disk as file E:\ORACLE\ORADATA\ORA10G\REDO03.LOG
archive log filename=E:\ORACLE\ORADATA\ORA10G\REDO03.LOG thread=1 sequence=1
media recovery complete, elapsed time: 00:00:02
Finished recover at 30-DEC-07
RMAN> alter database open resetlogs;
database opened
RMAN> shutdown immediate
database closed
database dismounted
Oracle instance shut down
RMAN> startup
connected to target database (not started)
Oracle instance started
database mounted
database opened
Total System Global Area 612368384 bytes
Fixed Size 2006192 bytes
Variable Size 247464784 bytes
Database Buffers 356515840 bytes
Redo Buffers 6381568 bytes
RMAN> -
I'm having a problem getting Media Encoder to get past the dynamic link portion of encoding a time line sequence.
I can send it over to Media Encoder, but it crashes consistently after the yellow bar saying something about dynamic link.
I have CS6 installed in my computer here at work, it previously had CS5.5 installed on it.
I read some answers about CS4 having this problem and tried to create a shortcut and put it in the dynamic link folder, but that didnt work.
I would hate to have to reinstall the software here at work as the IT department is a pain- but I can't encode video on one of the computers we use here.
Any ideas on what may be happening and how I can solve the problem?
Thanks!
Its a Dell Workstation with Windows 7 Ultimate installed dualE5620 processors at 2.4GHz. .
only 6 GB RAM, and a RAID 5 hard drive setup with 3- one gb drives giving the C drive space of 1.8Gigs
Its got an NVIDIA Quadro NVS 420 video card.
I'm upgrading this computer to better work with editing video, so this is a good time to get this all cleaned up.
Im adding RAM (24GBs)- replacing the video card to a GTX 780 3GB running 3 monitors.
I'd also like to either split up the RAID (ugh)..or just add 2 internal SAS HDDs. to split up the video and the cache and the OS/programs as is usually done with editing video.
Thanks for your help in advance...
Mike...more information...problem still not solved....
After searching more in the forums, I tried a couple more things:
I tried to restart AME and clearing the preferences. This didnt help.
I also deleted the ...appData/Roaming/Adobe/AdobeMediaEncoder/6.0 folder and all subfolders No help here either.
I also tried to import the sequence via AME rather than export via PP. This worked. The sequence loaded immediately and processed perfectly.
When I export via PP, I hit the queue button, it hangs for about 3 mins, then the yellow bar appears saying "Connecting to Dynamic Link server"
it then hangs for approx 3 mins again and then I get the Failed alert.
the error log reports:
Encoding failed
Could not read from source. Please check if it has moved or been deleted.
any help available here???? -
my computer with itunes zapped by lightning. cannot access itunes files. how can i transfer my music on my iphone to a new computer. much of it was not purchased from itunes store
Did you fail to maintain a backup copy?
If so, then you can buy a third party program to extract the music not purchased from itunes.
Itunes purchases can be transferred to your computer: File>Transfer Purchases. -
There has never been a history of Adobe CS3 installation on the brand new MAC Pro I am using prior to installing Master Collection CS4, despite other posts claiming that chief cause of this issue is a previous CS3, Beta or trial installations of previous versions. I simply had a straightforward installation of CS4 and have had trouble since day 1.
I have uninstalled and reinstalled Master CS4 three times, two times with the action script cleaner for CS4. I tried changing Adobe Cache folder locations to alternative drives. I ran shift start many times to correct any inconsistencies and corrected for permissions using disk utilities repeatedly. All updates have been installed and I am still getting the same error when exporting my timeline to Media Encoder CS4, be it a large High Definition project or a small one consisting of few stills.
No matter what presets I chose, the job appears as one of the items in the render qeuee of Media Encoder CS4 and sits there with the status WAITING until i hit Start Queue. When I do, it still says WAITING under Status and at the bottom corner of the window it reads : Loading "project name.prproj" and after an average of about 6 minutes, a yellow caution sign appears. No render whatsoever takes place. When I click on the yellow caution sign, it reads a log of all errors in connection with each job, including the ones that have gone before it. Here is one:
Start of the Error Paste
- Source File:/users/myname/Library/Caches/TemporaryItems/test.prproj
- Output File:/ users/my name/Documetns/Adobe/Premiere Pro/4.0/Sequence 01.mov
- Preset used :NTSC DV
- Video:
- Audio:
- Bitrate:
0 Encoding Time: 00:33:01
Sat Mar 21 17:12:25 2009 : Encoding failed
Could not read from the source. Please check if it has moved or been deleted.
END OF ERROR Paste
Please any gurus out there know how to troubleshoot this damn thing on Mac, I really appreciate it. I have not yet encountered any posts of Mac owners with no previous CS3 installation having this issue. I am in the middle of 3 projects with tight deadlines and need your urgent help. THANK YOU!Hello There,
I resolved the issue through a simple process of elimination. So simple in fact I wonder how I missed it. Since there has been no history of prior CS3 installation on this machine and every conceivable trick was applied to resolve the problem (refer to my original post earlier in the thread) ending in frustration, the problem had to reside in a factor or series of factors that were only present in this machine. Of the two remaining causes different in compare to other machines, I had to look into the possibility of any hardware and/or software conflicts. After all, this very same installation works perfectly fine on my colleague's Apple Macbook Pro and several Windows machines.
It turns out that I had installed Pro Tools on this machine that comes with all kinds of optional plug-ins in the so called ignition pack. One of these optional plug-ins is called IZOTOPE (three varieties include Spectron, Trash and another one that escapes my mind). They were all lite version licenses that would automatically pop up on their own when you would start a program where they had been residing. One such program where an association existed was indeed the Premiere. An annoying dialogue box directing you to buy the full version when you would start the premiere would refuse to go away. Sometimes it would even start on its own culminating in a a permanent dialogue box.
The cause of the problem was right before my eyes and I had overlooked it. Once uninstalled using IZOTOPE clean uninstaller on step 4, the problem was resolved. Projects are now loading very fast into the AME and encoding begins in earnest. I have never had any issues ever since.
Long story short, if you have any plug-ins specially the ones that are loading upon the start of any program or the ones that reside inside the premiere or the ones that start on their own independently, they could be one of the highly probable causes of this error. I have seen other similar posts complaining of plug in folders inside premiere that needed to be moved to resolve the issue for instance the ones that needed to be moved to AE folders. If you are a plug-in admirer, I would suggest to look into them seriously.
On the side note, many combination and causes may lead to the same error. I am not claiming that this is the solution for everyone.
It must also be noted that I applied the trick of creating a shortcut of Premiere (and naming it exactly as such) and dropped it into the Adobe Dynamic LInk folder (even though this was suggested for windows)and have changed the adobe Cache locations to an alternative folder on a separate drive. I haven't been able to establish conclusively if the latter steps are also essential in fixing the error on MAC but I can confirm that since the latter steps were taken before the uninstalling of Izotope plug-ins and i still had issues, probably uninstalling those plug ins or finding a way to move them to a place where they don't interfere (if you absolutely need to keep them) is the one essential step that solved the problem.
Hope this helps. -
"Could not read from source" exporting on Mac with CS4
I'm using Premiere CS4 on a MacBook Pro, trying to export a film and getting the "could not read from source" message. I did not have CS3, and I'm not on a pc, so the Windows KB articles and posts don't apply. I've read all the posts I can find on the forums but none of these solutions is helping to date.
Are there any troubleshooting steps someone can recommend to figure out what I need to do here?
Here's the trace, any assistance is MUCH appreciated!
- Source File: /Users/johnchmaj/Library/Caches/TemporaryItems/circle _6.prproj
- Output File: /Users/johnchmaj/Documents/Personal + Projects/Living Universe/Snoqualmie Valley/Valley Breezes Premiere/1circle:introitus/Valley Breezes 6-41.m2v
- Preset Used: NTSC High Quality
- Video:
- Audio:
- Bitrate:
- Encoding Time: 30:44:29
Wed Aug 19 16:52:56 2009 : Encoding Failed
Could not read from the source. Please check if it has moved or been deleted.I have been having the same issue on my desktop and laptop, although I have Windows XP Professional. Originally had CS3 and then installed CS4. The problem was fixed by uninstalling everything Adobe (even Reader), using the wincs3sclean, and reinstalling the CS4 products. The first time it did't work on my laptop, so I did it a second time and it worked. I don't have Creative Suite, but this still works. Here is the link to wincs3clean:
http://kb2.adobe.com/cps/401/kb401574.html -
Could not read from the source. Please check if it has moved or been deleted
hi all,
when i try to render a afx project from media encoder i get the following message
"Could not read from the source. Please check if it has moved or been deleted"
i've read on the forum that this is due to an old installation of Premiere.
I'm using a brand new computer. the only software installed is my cs5 master collection and the updates from adobe website.
win7 pro
i7
16 gig ram
cheers
sHello, this is terrible problem, which i found in CS 6 softwares ...
solution i found only working, is uninstall and reinstall full package.. but it is not all,
you need to do BRAND NEW admin account in windows, and install it there.
that means, i could not export after repair from encoder in my original account never more (!!) .. this is really terrible way how to repair this issue, because :
1.by reinstalling of software, client WASTE HIS TIME
2.by necessity to begin work in another windows profile you again WASTE YOUR TIME because of learning and migrating all other profile modifications, which i see really unaccpetable. Adobe means, this solution of repair is ok, and they did not do till today any steps of creating some "clever" solution.
I ask everybody, who will meet this issue in future, guys, please, complain about this situation, give "BUG Report" to them, and write "feature request" to them , in the way of creating some repair tool, which check actual "broken" connections between encoder and premiere, which refuses to "take material" from it and encode, and REPAIR it automatically..
I am not IT, but ..does it seems so hard to create this ? Adobe IT developers should know their systems, and should create such utility tool really easy.
Steps to reproduce bug:
1. i export anything by button "queue" from premiere to Encoder
2. Encoder will start encoding
3. Encoder does not show the window of media encoding (down left )
Results: sound of sheep occur,
in encoding error file is this reason of canceling the encoding :
01/02/2014 10:10:48 AM : Encoding Failed
Could not read from the source. Please check if it has moved or been deleted.
History of this problem and detailed description, HOW i did "repair" this. With wasting of app 2,5 days of my working time :
1. after repairing "error 5" problem , i solved it by reinstalling the suite from the new admin user profile (profile B) .
I continued my work on my normal working windows profile . (profile A)
Every cooperation (AE+Pr, export media via "queue" to Encoder) was working fine . . .
2. suddenly it stop working (without knowing any possible reason - i did not do installations )
and showed in error export log file :
"Could not read from the source. Please check if it has moved or been deleted."
3.repair via procedure(procedure "a"):
i did this procedure on the profile B (profile from last time installation of repairing problem error 5)
I did these steps :
a-uninstall master coll suite
b-i used Adobe cleaner tool (remove ALL)
c-removed raw directories in locations
•C:\Program Files\Adobe
•C:\Program Files(x86)\Adobe
•C:\Program Files\Common Files\Adobe
•C:\Program Files(x86)\Common Files\Adobe
•C:\ProgramData\Adobe
d-removed these links from registry file
•HKEY_LOCAL_MACHINE\SOFTWARE\Adobe
•HKEY_CURRENT_USER\Software\Adobe
•HKEY_LOCAL_MACH INE\SOFTWARE\Wow6432Node\Adobe
•HKEY_CURRENT_USER \Software\Wow6432Node\Adobe
e-restarted the PC
f- newly installed the Master Coll CS6
g-update the software
result of repair of "3" : problem still exists
4.Ok i find out after coordination with support, it should have been created ANOTHER NEW admin account.
4a:so i did the same procedure (uninstalling) in profile B
4b: and then i created brand new admin profile (profile C)for INSTALLATION of software
4c: restarted the pc (and did not updated it yet)
result :
==exporting of any sequence/raw/AE link video material from premiere via "queue" (Encoder) (profile C) : export WORKS
==exporting of any sequence/raw/AE link video material from premiere via "queue" (Encoder) (profile B) : export WORKS
==exporting of any sequence/raw/AE link video material from premiere via "queue" (Encoder) (profile A) : export DOES NOT WORK ! ! !
(in profile A, is possible to export some raw video material in encoder which is imported to it via "drag and drop)
problem i see:, i have my basic profile A, which i am interested to work, because of all my directory modifications are in there..
this issue should be some "broken" connections between encoder and premiere, which refuses to "take material" from it and encode.
what i expect :
to get from Adobe some repair tool, which automatically checks these connections and repair if necessary, without necessity of founding the new profile and reinstallation of whole software.. this is madness !
what i do NOT expect from Adobe:
to get from Adobe advice of kind : you have to reinstall full software in new admin profile. sorry , we do not know the solution, because we do not know, how do behave our software. -
CS4 Pr-Encoder: "Encoding failed/Could not read from the source..."
When i start queueing it apears to be loading fine but then after a few minutes it gives me the yellow hazard triangle on the status column. I have tryied changing settings and still the same.
"Could not read from the source. Please check if it has moved or been deleted."
...is what the details notepad displays
This is my first Pr CS4 editing, Please help.
Thanx!latest versions of CS4 and snow leopard 10.6.1.
May have no part in your problem, but many are having real issues with almost anything Adobe with Snow Leopard. There has been a lot of chatter saying that Apple is aware of this, and is working on an OS update to be released soon.
While I have not seen this particular issue with Snow Leopard, there have been so many more, that I'd certainly put the OS into the list of "usual suspects." In the Encore forum, some had great success by rolling back the OS to whatever was prior to Snow Leopard, just plain old "Leopard?"
Wish I had a definite cure for your ills, but the best that I can offer is that it does not seem that you are alone.
Good luck, and I hope that the Mac OS update does fix things for you.
Hunt -
Encore CS4 error "could not read from the source file"
- Source File: C:\Users\Anil\AppData\Local\Temp\2013 11 08 c Big Budha_9.prproj
- Output File: F:\Adobe Encoded Blu-ray\For Disk #013\Disk#013-B\2013 11 08 c Big Budha.m2v
- Preset Used: Full HD 1080i [MPEG] 30 MBPS
- Video:
- Audio:
- Bitrate:
- Encoding Time: 01:49:53
25-Jan-14 2:50:32 PM : Encoding Failed
Could not read from the source. Please check if it has moved or been deleted.
i have tried creaeted a NEW Premiere Pro project and still get the same error again ... can someone help me to figure out what is wrong ...Hi Neil
I have been using file names with spaces and it has been working fine. As stated in reply to Jones, uninstall and reinstall of Premiere Pro CS4 has helped to get rid of this error.
also i did not use Dynamic link, but was trying to create MPEG file using Media Encoder and then import it in Encore.
your suggestion for H264 seems good and will try it.
x264 Pro is for CS5 and above versions, so it seems i can not use it and have to manage with Adobe Media Encoder's default. Hope i will not have any major technical issues.
please suggest me for below:-
1) i have 4 hours of Full HD footage and made 1080i MPEG2 files of 30mbps to fit in 2 seperate Bluray Disks.
2) now i plan to put all in one Single Bluray Disk by reducing MPEG2 file average data rate to 15mbps. will that work or is there any limitation of time in Bluray Disk.
3) Will it be ok to create H264 files at 30mbps [as you mentioned H264 reduces file size to half of MPEG] and still be able to fit 4 hours footage in one BR Disk ?
4) even though i specify Min 10 Target 25 Max 30 data rate for MPEG files creation, it creats file at data rate of 30 mbps, can you explain why it is happening as i thought my target rate should be 25 mbps and not the maximum rate specified.
Thanks ...
PS...
my source file is .mov 1920 x 1080i 29.97 fps from Canon 6D. first i tried to create progressive file in Encoder but while imported in Encore realised at 29.97 fps, it allows only interlaced file and had to transcode back to interlaced. so i stick to interlaced file.
Canon 6D also allows me to shoot in 24fps [motion movie] which Encore can handle as progressive file for authoring. What are the pro and cons of shooting in 24fps, if you can suggest.
Message was edited by: AnilHVarma -
Is there any way to edit and save an existing spreadsheet file that was not created from my iPad? I get excel spreadsheets emailed to me and would love to edit them on my iPad and not ever use my PC.
Thanks. I tried an app called Office2HD and it does exactly what I need. I can even email my edited file from this app.
-
LABVIEW.LIB was not called from a LabVIEW process
Hi All,
I've inherited LV code that calls a CIN node to access a motor controller. I'd like to compile this code to a .NET DLL, but receive the following error when calling it from an external source:
I've read the knowledgebase article explaining the problem from here, as well as the following support questions:
http://forums.ni.com/t5/LabVIEW/Labview-lib-was-not-called-from-a-labview-process/m-p/232548
http://forums.ni.com/t5/LabVIEW/Problem-with-lsb-LABVIEW-LIB-was-not-called-from-a-LabVIEW/m-p/48809...
http://forums.ni.com/t5/LabVIEW/Labview-lib-was-not-calld-from-a-labview-process/m-p/718427
http://forums.ni.com/t5/LabVIEW/Building-a-LabVIEW-DLL-with-VIs-that-use-CINs/m-p/632817
The conclusion seems to be recompiling is the answer. I've tried recompiling the original CIN vi within LV with no success. Do they mean to recompile the original C code against the newer labview.lib (sorry, I'm not all that familiar with how the CIN nodes work)? Any suggestions would be awesome. Thanks.
-JoeYou can't make use of LabVIEW manager functions in non-LabVIEW based processes. Basically unless the C code is for a CIN or DLL that is to be called by LabVIEW (inside the development system or a LabVIEW built application), any function pulled in from labview.lib is not available. LabVIEW.lib is an import library that does not implement any functions but simply imports them from the LabVIEW kernel, either the LabVIEW development system or the LabVIEW runtime DLL. And no you can't just link in the LabVIEW runtime DLL into your .Net application. This DLL needs to be started up and initialized in very specific ways, that only LabVIEW itself knows about when building an application.
Basically if you want to recompile the code (yes in C/C++) for use in a non-LabVIEW application, you also have to remove all the link libraries from the LAbVIEW cintools directory, and replace any use of functions now unavailable (link error: unavailable external reference) with other similar functionality from your C runtime library. Or implement those functions yourself using C runtime library calls.
Another possibility could be to actually create a LabVIEW executable that exports the functionality as ActiveX Server. Or in LabVIEW 2010 you could also select to create a .Net Interop Assembly from inside the LabVIEW project.
Rolf Kalbermatter
CIT Engineering Netherlands
a division of Test & Measurement Solutions -
LABVIEW.LIB was not called from a LabVIEW process when creating unit tests
We are developing a DLL to be integrated in LabVIEW using CLFs. So far we have the system working, but we wanted to create some unit tests in C as part of our release process. The problem is that when I link labview.lib in VS C++ and then call the EXE generated I get an error saying: "LABVIEW.LIB was not called from a LabVIEW process". As mentioned in http://zone.ni.com/reference/en-XX/help/371361J-01/lvexcodeconcepts/debug_dlls_and_dll_calls/:
"Calling the shared library from another C program is also another way to debug the shared library. By calling the shared library from another C program, you have a means of testing the shared library independent of LabVIEW, thus helping you to identify any problems, sooner."
Some of our functions, however, use LabVIEW specific instructions and we would like to test them in a realistic environment (i.e., calling to the actual functions instead of creating stubs).
Is there any workaround to this problem?
Thanks!!Hello SaraGr,
Welcome to the NI Discussion Forums! I have a couple of questions to better determine the issue here:
1. What is the LabVIEW version that you are using?
2. Does your DLL uses Serial Compatibility VIs? If so, try using your development on NI-VISA instead of Serial.
3. Are you using a Code Interface Node (CIN)? If you do, I see that from the help file you would need to compile the code for the new platform. Also, please remember that functions specifc to CINs (such as SetCINArraySize) will not work in a DLL.
4. Be sure to include the header files in your program, like extcode.h. Please follow this white paper to link labview.lib to your program, or follow the Alternate Method.
Regards,
Daniel REDS
RF Systems Engineer
Help us grow.
If a post solves your question, mark it as The Solution.
If a post helps, give Kudos to it. -
I have music that was not purchased from I tunes and has somehow ended up on I cloud I think! How do I get this back to my I phone?
Import the music into your iTunes library and sync like any other music.
Maybe you are looking for
-
Adobe Digital Edition 4.0 doesn't run and a message appears
Hello, ADE doesn't open and this message appears. What is the solution or which other software can I use? Thank you.
-
Hyperion Analyzer "show linked reporting object error"
I try to add a "cell note" on an Analyzer Report thruogh choose "Related Content" option. Then I select "Data Display"-->"Show Linked Reporting Opject Indicator" to indicate report reader the data cell has a cell note. After doing that, suddently, my
-
Since I have updated to Maverick, every time I download anything, it automatically saves the file on my desktop. I do not want it saved on the desktop.
-
10 digit code need to be created while creating material master
Hi, Please advise how to create a 10 digit code automatically when we create material master in SAP? Please note that this code is required as one of the basic data view fields, not as material code. Is there any enhancements available for the same.
-
Displaying a image on mobile using canvas
hi all... im new to j2ME and i need help on how to display an image on mobile using canvas. I've tried using the following codes.. however when i tried to run on my toolkit, i hit this error: Unable to create MIDlet MyCanvasDrawings java.lang.Illegal