Oracle 10g XE recovery failed

Hi, everyone:
I have re-install my linux which is rh5. I also have a backup directory - "flash_recovery_area" from another oracle 10g XE database.
When I installed the new oracle 10 XE, I try to restore the backup data from application menu, but the get result as below:
This operation will shut down and restore the database. Are you sure [Y/N]?y
Restore in progress...
Enter the flash recovery area location:/usr/lib/oracle
==================== ERROR =========================
Restore of the database failed
==================== ERROR =========================
RMAN error: See log for details.
Log file is at /home/tim/oxe_restore.log.
Press ENTER key to exit
I found the error lines in oxe_restore.log as below:
RMAN>
Oracle instance started
Total System Global Area 285212672 bytes
Fixed Size 1258464 bytes
Variable Size 92277792 bytes
Database Buffers 188743680 bytes
Redo Buffers 2932736 bytes
RMAN>
Recovery Manager complete.
Recovery Manager: Release 10.2.0.1.0 - Production on Tue Jul 29 01:05:53 2008
Copyright (c) 1982, 2005, Oracle. All rights reserved.
connected to target database: XE (not mounted)
RMAN>
echo set on
RMAN> restore spfile from autobackup db_recovery_file_dest='/usr/lib/oracle';
Starting restore at 29-JUL-08
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=36 devtype=DISK
recovery area destination: /usr/lib/oracle
database name (or database unique name) used for search: XE
channel ORA_DISK_1: no autobackups found in the recovery area
autobackup search outside recovery area not attempted because DBID was not set
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 07/29/2008 01:05:54
RMAN-06172: no autobackup found or specified handle is not a valid copy or piece
RMAN> startup force nomount;
Oracle instance started
Total System Global Area 608174080 bytes
Fixed Size 1260316 bytes
Variable Size 226493668 bytes
Database Buffers 377487360 bytes
Redo Buffers 2932736 bytes
RMAN> restore controlfile from autobackup;
Starting restore at 29-JUL-08
allocated channel: ORA_DISK_1
And after that, the new oracle 10 XE can`t start anymore.
Thanks for any help!
OldTim

Thank you so much for reply!
Tried full path already, but still can`t work. But I found another solution below and made it working finally:
Oracle XE Recovery
1 Copy /usr/lib/oracle to Bakcup disk.
sudo cp /usr/lib/oracle /media/disk
2 Copy the directory oracle to new linux system
sudo cp /media/disk /usr/lib/oracle
3 install Oracle 10g XE
4 run command below:
/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/config/scripts/restore.sh
Done.

Similar Messages

  • Oracle 10g RAC query fails

    Hi,
    I am a newbie to RAC implementations, I have a strange problem on the one we are testing,
    Failure (forced shutdown) of one of the nodes results in queries on the other node returning with a ORA-12805. This happens only in certain cases, otherwise the query waits for some time and completes. We are using Redhat 3, Oracle 10g (10.2.0.1.0) and TAF with SELECT and PRECONNECT options. Is there some reason and remedy on why this fails on only one of the nodes ?.

    Hi
    From metalink
    ORA-12805
    =========
    Error Summary
    ORA 12805 parallel query server died unexpectedly (Oerr:ORA.12805)
    Error Details
    ~~~~~~~~~~~~~
    Error: ORA 12805
    Text: parallel query server died unexpectedly
    Cause: The PMON process is cleaning up the process because a parallel query
    server terminated unexpectedly.
    Action: Check for operating system errors and retry the statement.
    If this problem persists, contact customer support.
    When a ORA-12805 occurs in most cases you will also see another error, ORA-600 or
    a ORA-7445.
    Best thing for you to do is to check all logs (that may include alert, crs, css etc) and determine the cause of node crash.
    Regards
    Adnan

  • Oracle 10G JMS error : Failed to handle dispatch message ... exception ORABPEL-05002

    Hi All,
    We are using a JMS adapter as partner link in a BPEL process to produce messages to JMS Queue.
    We are getting an error while producing a message to a JMS Queue.
    The error comes for 1 or 2 instances among 5 to10 intsances. (all these instances ran with in 1 or 2 seconds).
    We are using Oracle 10G SOA suite.
    This error is getting in the Production environment.
    The error is as follows (took error from server log).
    Failed to handle dispatch message ... exception ORABPEL-05002
    Message handle error.
    An exception occurred while attempting to process the message "com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessage"; the exception is: faultName: {{http://schemas.oracle.com/bpel/extension}bindingFault}
    messageType: {{http://schemas.oracle.com/bpel/extension}RuntimeFaultMessage}
    parts: {{summary=file:/sw/appaia/product/SOA/bpel/domains/default/tmp/.bpel_CurrencyExchangeListEbizJMSProducer_1.0_4ec528ec93a8a6ff0278fab9701dcc71.tmp/CurrencyExchangeListEbizJMSProducerV1.wsdl [ Produce_Message_ptt::Produce_Message(OutputParameters) ] - WSIF JCA Execute of operation 'Produce_Message' failed due to: Adapter Framework unable to create outbound JCA connection.
    file:/sw/appaia/product/SOA/bpel/domains/default/tmp/.bpel_CurrencyExchangeListEbizJMSProducer_1.0_4ec528ec93a8a6ff0278fab9701dcc71.tmp/CurrencyExchangeListEbizJMSProducerV1.wsdl [ Produce_Message_ptt::Produce_Message(OutputParameters) ] - : The Adapter Framework was unable to establish an outbound JCA connection due to the following issue: oracle.j2ee.connector.proxy.ProxyInterceptException: javax.resource.ResourceException: RollbackException: Transaction has been marked for rollback: null [Caused by: RollbackException: Transaction has been marked for rollback: null]
    ; nested exception is:
    ORABPEL-12511
    Adapter Framework unable to create outbound JCA connection.
    I tried the below JMS tunings with differnt combination, but no improvement.
                <property name="useJCAConnectionPool">true</property>
                <property name="maxSizeJCAConnectionPool">500</property>
                <property name="retryMaxCount">10</property>
                <property name="retryInterval">60</property>
    Please let me know if any other logs or any other information is required.
    Thanks,
    Pershad

    sorry, I forgot the below things which I tried to tune the JMS.
    <property name="retryMaxCount">10</property>
    <property name="retryInterval">60</property>
    <property name="useJCAConnectionPool">true</property>
    <property name="maxSizeJCAConnectionPool">500</property>
    Thanks.

  • Oracle 10g database download fails through IE on win98 SE

    I have been trying to download oracle 10g database for windows 32-bit through IE on windows 98SE. it takes me personal detail information page when I log on with my id "kubends", when I press "continue" button on that page, URL link fails "http://www.oracle.com/webapps/dialogue/dlgpage.jsp?p_dlg_id=2788237&src=1952635&act=26&p_doc_id=2788239&p_page_id=2788241&p_dlg_response_id=-1&p_response_id=-1&p_old_response_id=-1&p_email=null&p_resp_look_back=0.0&p_title=Oracle%20Database%2010g%20downloads&p_trust_cookie=N&p_debug=N&p_omo_code=null&p_dlg_title=Oracle%20Database%2010g%20downloads&tid=262&owner=1&p_ext=Y&p_dlg_id=2788237"
    Has anyone encountered this error?. Any help on this would be greatly appreciated
    Thanks
    Kuben

    I have been trying to download oracle 10g database for windows 32-bit through IE on windows 98SE. it takes me personal detail information page when I log on with my id "kubends", when I press "continue" button on that page, URL link fails "http://www.oracle.com/webapps/dialogue/dlgpage.jsp?p_dlg_id=2788237&src=1952635&act=26&p_doc_id=2788239&p_page_id=2788241&p_dlg_response_id=-1&p_response_id=-1&p_old_response_id=-1&p_email=null&p_resp_look_back=0.0&p_title=Oracle%20Database%2010g%20downloads&p_trust_cookie=N&p_debug=N&p_omo_code=null&p_dlg_title=Oracle%20Database%2010g%20downloads&tid=262&owner=1&p_ext=Y&p_dlg_id=2788237"
    Has anyone encountered this error?. Any help on this would be greatly appreciated
    Thanks
    Kuben

  • Oracle 10g Express installation fails

    All,
    I've been looking in the forum for a solution to my problem but I can't find one. I'm a complete novice when it comes to databases
    I have a sevrer with windows 2003 sp2, 2 drives 40B+ free space and 2GB ram
    No applications are running on this server
    I had a previous version of 10g express edition installed on this same server, which I deleted using oracle uninstall doc and windows clean up utlity.
    When trying to install Oracle 10g express edition I get past the install location, DB passoword and ports for function. during the 'copying files' part of the installation the installation just dies/exits.
    the user account I'm using is local administator (not domain) on the server.
    I've stopped all antivirus services.
    The only error in event viewer show the following error
    The description for Event ID ( 0 ) in Source ( IDriverT ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: Service stopped.
    the install log shows the follow (last few lines of importance).
    1: Not using skins for this installation. Could not find skin file .
    MSI (c) (B4:B4) [15:51:43:914]: Note: 1: 2262 2: DuplicateFile 3: -2147287038
    MSI (c) (B4:B4) [15:51:43:946]: Note: 1: 2262 2: ISRequiredFeature 3: -2147287038
    MSI (c) (B4:B4) [15:51:44:195]: Note: 1: 2205 2: C:\DOCUME~1\testlocaluser\Local Settings\Temp\1\_isE\Oracle Database 10g Express Edition.msi 3: ISAlias
    MSI (c) (B4:B4) [15:51:44:195]: Note: 1: 2228 2: C:\DOCUME~1\testlocaluser\Local Settings\Temp\1\_isE\Oracle Database 10g Express Edition.msi 3: ISAlias 4: SELECT * FROM ISAlias
    1: Ready to launch program block.
    MSI (c) (B4:B4) [15:51:44:351]: PROPERTY CHANGE: Modifying NLS_LANG property. Its current value is 'AMERICAN_AMERICA.WE8MSWIN1252'. Its new value: 'ENGLISH_UNITED KINGDOM.WE8MSWIN1252'.
    MSI (c) (B4:B4) [15:51:44:351]: PROPERTY CHANGE: Modifying BUILDTYPE property. Its current value is '85'. Its new value: '87'.
    1: User aborts the installation, ready to launch __OnAbort.
    MSI (c) (B4:B4) [15:52:42:698]: Destroying RemoteAPI object.
    MSI (c) (B4:88) [15:52:42:698]: Custom Action Manager thread ending.
    === Verbose logging stopped: 17/06/2010 15:52:42 ===
    I running out of ideas. Can anyone help or shed some light as to what is happening. It can't be storage space or memory as there is nothing running on this box.
    Thanks in adavnce

    You might have better luck on the Oracle Express Forum, which is the only support location for the product.
    Otherwise check the registry entries to make sure there is nothing that might interfere.
    HTH -- Mark D Powell --

  • Oracle 10g DB create fails with jave.lang.StackOverflowError

    Hi all,
    wonder if you can help with my issue.
    I'm trying to install oracle 10g on Redhat ES4 on a virtual machine (VMplayer) on a HP Elite Book laptop. I've set swapspace to 4GB and have 1.5 Gb of RAM allocated to the virtual machine.
    I've set the ulimts and maxproc an the soft/hard nproc/nofile to appropraie values for the create.

    I don't think it's a java problem at all.................
    When I run dbca with the silent install I get the message
    "waiting for m_bReaderStarted to be true" - which is never is.
    So it isn't making a connection I suspect.
    The loistenser also won't start.
    10g is installed on linux es4 running on VM Player.
    I think the proble ,ay be to do with when I start dbca (or the listener) it doesn't connect.
    In /etc/hosts I have
    127.0.0.1 localhost.localdomain localhost
    and in the tnsnames.ora and listener.ora files i have the 'HOST = localhost.localdomain' (with post = 1521)
    Is /etc/hosts and the ora files set correctly ?

  • Oracle 10g for linuxPowerPC fails to download

    Using several different browsers,
    the download of the image oracle10102.tgz
    (569,664,835 bytes) failed.
    Also the option "save target as" failed
    with "Server returned and invalid, unrecognized response"

    I think the user community can't help you, the only guess I have is address this issue to the OTN Members Services forum:
    Downloads Issues

  • Oracle 10g backup and recovery

    Hi
    Can you guys give me some resource of oracle 10g backup and recovery. I want to learn about oracle 10g backup+recovery. Plz help

    Best resource is Backup and Recovery guide from Oracle document site.
    Backup and Recovery Advanced User's Guide
    http://download-west.oracle.com/docs/cd/B19306_01/backup.102/b14191/toc.htm

  • Not able to install Oracle 10g on Windows Vista Home Premium

    Hi All.
    I bought new Laptop preinstalled with Windows vista Home premium. I tried to install Oracle 10g , but it failed.
    Error: Oracle 10g doesn't support vista sp5. Should be less than sp5.
    Can anybody suggest me, which version of Oracle supports Windows Vista HomePremium?

    hi ,
    please follow up the below link,
    oracle 10g r1 is not supported for vista , but you can put the vista in the xp compatible mode , and then install it...
    http://www.psoug.org/reference/vista.html
    regards,
    Mohammed Mehraj Hussain

  • Issue while selecting XMLType column in Oracle 10G

    HI All.
         We are trying to get some value from XML Type column and it works fine with Oracle 11g, we are trying the same with Oracle 10g but it fails with below  stack Trace . looking at the stack Trace we feel it is the issue with ODP.net ,
    we have below oracle Versions installed in our Server .
    Oracle Data Access Components    ---  10.2.0.2.21
    Oracle Database 10g Release 2 Patch Set 3  --- 10.2.0.4.0
    Kindly let us know if it is specific to any ODP.net issue, or anyone has some sought of work around to resolve this issue .
    -----------Stack Trace --------------------------------------------------------
    Message: Exception has been thrown by the target of an invocation.
    StackTrace:    at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
       at System.RuntimeMethodHandle.InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
       at System.Web.Services.Protocols.LogicalMethodInfo.Invoke(Object target, Object[] values)
       at System.Web.Services.Protocols.WebServiceHandler.Invoke()
       at System.Web.Services.Protocols.WebServiceHandler.CoreProcessRequest()
       at System.Web.Services.Protocols.SyncSessionlessHandler.ProcessRequest(HttpContext context)
       at System.Web.Script.Services.ScriptHandlerFactory.HandlerWrapper.ProcessRequest(HttpContext context)
       at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
       at System.Web.HttpApplication.ApplicationStepManager.ResumeSteps(Exception error)
       at System.Web.HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)
       at System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)
       at System.Web.HttpRuntime.ProcessRequestNoDemand(HttpWorkerRequest wr)
       at System.Web.Hosting.ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)
    InnerException: System.AccessViolationException
    Message: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
    StackTrace:    at Oracle.DataAccess.Types.OpsXmlStream.GetValueBuffer(IntPtr opsConCtx, IntPtr opsErrCtx, IntPtr opsXmlTypeCtx, IntPtr& opsXmlStreamValueBuffer, Int32& numCharsInBuffer)
       at Oracle.DataAccess.Client.OracleDataReader.GetString(Int32 i)
       at Oracle.DataAccess.Client.OracleDataReader.GetValue(Int32 i)
       at Oracle.DataAccess.Client.OracleCommand.ExecuteScalar()
       at ProVation.DataAccess.CProvDatabase.GetScalar(SQLText& sql, Object& returnval, String& user)
       at ProVation.DataAccess.CProvDatabase.GetScalar(SQLText& sql, String& returnval, String defaultvalue, String& user)
       at ProVation.BusinessRules.ConfigsBR.GetDocumentXML(String specialty, Boolean isProvationXML, Boolean isEdit)
       at ProVation.BusinessRules.ConfigsBR.GetTreeXML(String terminal, String site, String speciality, DataSet& ds, DataSet& dsXML)
       at WKOSAWS.GetTreeXML(String terminal, String key, String strSpeciality, String strSite, DataSet& dsSpeciality) in c:\inetpub\wwwroot\WKOSAWS\App_Code\WKOSAWS.cs:line 207
    Thanks in Advance
    Suren

    Thanks Alex .
    We will try to Install ODP.NET 11.2 Release 5 and proceed further .
    Thanks,
    Suren

  • Oracle 10g installation on aix 52

    Oracle 10g installation is failing on a
    aix52 64bit machine
    After installing the product running
    $ORACLE_HOME/root.sh for setup as user root results
    in the following errors:
    exec(): 0509-036 Cannot load program /dbms/oracle/10g/OraHome/bin/crsctl.bin because of the following errors:
    0509-130 Symbol resolution failed for /dbms/oracle/10g/OraHome/lib/libttsh10.a[shr_ttsh10.o] because:
    0509-136 Symbol aio_nwait_timeout (number 324) is not exported from
    dependent module /unix.
    0509-022 Cannot load module /dbms/oracle/10g/OraHome/lib/libhasgen10.a(shr_hasgen10.o).
    0509-150 Dependent module libttsh10.a(shr_ttsh10.o) could not be loaded.
    0509-026 System error: Cannot run a file that does not have a valid format.
    0509-192 Examine .loader section symbols with the
    'dump -Tv' command.
    exec(): 0509-036 Cannot load program /dbms/oracle/10g/OraHome/bin/clscfg because of the following errors:
    0509-130 Symbol resolution failed for /dbms/oracle/10g/OraHome/lib/libttsh10.a[shr_ttsh10.o] because:
    0509-136 Symbol aio_nwait_timeout (number 324) is not exported from
    dependent module /unix.
    0509-022 Cannot load module /dbms/oracle/10g/OraHome/lib/libhasgen10.a(shr_hasgen10.o).
    0509-150 Dependent module libttsh10.a(shr_ttsh10.o) could not be loaded.
    0509-026 System error: Cannot run a file that does not have a valid format.
    0509-192 Examine .loader section symbols with the
    'dump -Tv' command.
    Failed to initialize Oracle Cluster Registry for cluster
    Any suggenstion on this will be appreciated.

    Would like to see the http://download-west.oracle.com/docs/cd/B19306_01/relnotes.102/b19074/toc.htm#CJAFJGIC or for linux, see http://www.puschitz.com/InstallingOracle10g.shtml.
    Its trustworthy sites and my request is to delete all the files and start clean-installation again.
    Revert back if any clarifications required.
    Regards,
    Star Nirav
    Oracle 10g installation is failing on a
    aix52 64bit machine
    After installing the product running
    $ORACLE_HOME/root.sh for setup as user root results
    in the following errors:
    exec(): 0509-036 Cannot load program
    /dbms/oracle/10g/OraHome/bin/crsctl.bin because of
    the following errors:
    0509-130 Symbol resolution failed for
    /dbms/oracle/10g/OraHome/lib/libttsh10.a[shr_ttsh10.o
    because:
    0509-136 Symbol aio_nwait_timeout (number
    324) is not exported from
    dependent module /unix.
    annot load module
    /dbms/oracle/10g/OraHome/lib/libhasgen10.a(shr_hasgen1
    0.o).
    0509-150 Dependent module
    libttsh10.a(shr_ttsh10.o) could not be loaded.
    0509-026 System error: Cannot run a file that
    does not have a valid format.
    0509-192 Examine .loader section symbols with
    the
    'dump -Tv' command.
    Cannot load program
    /dbms/oracle/10g/OraHome/bin/clscfg because of the
    following errors:
    0509-130 Symbol resolution failed for
    /dbms/oracle/10g/OraHome/lib/libttsh10.a[shr_ttsh10.o
    because:
    0509-136 Symbol aio_nwait_timeout (number
    324) is not exported from
    dependent module /unix.
    annot load module
    /dbms/oracle/10g/OraHome/lib/libhasgen10.a(shr_hasgen1
    0.o).
    0509-150 Dependent module
    libttsh10.a(shr_ttsh10.o) could not be loaded.
    0509-026 System error: Cannot run a file that
    does not have a valid format.
    0509-192 Examine .loader section symbols with
    the
    'dump -Tv' command.
    lize Oracle Cluster Registry for cluster
    Any suggenstion on this will be appreciated.

  • Oracle 10g RAC install on OEL5 update 5 OUI failing to write on tmp fs

    Dear Friends,
    I am attempting to install Oracle 10g R2 on Oracle Enterprise Linux 5 update 5 but facing some errors. Can't believe i have done everything right as far as oracle docs n my understanding concern. when i try to invoke runInstaller for CRS it fails with following error:
    [oracle@server01 clusterware]$ ./runInstaller
    Starting Oracle Universal Installer...
    Checking installer requirements...
    Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2
    Passed
    All installer requirements met.
    Preparing to launch Oracle Universal Installer from /tmp/OraInstall2010-11-15_04-36-47PM. Please wait ...[../stage/Components/oracle.swd.oui.core/10.2.0.1.0/1/DataFiles/filegroup1.jar]
    End-of-central-directory signature not found. Either this file is not
    a zipfile, or it constitutes one disk of a multi-part archive. In the
    latter case the central directory and zipfile comment will be found on
    the last disk(s) of this archive.
    note: ../stage/Components/oracle.swd.oui.core/10.2.0.1.0/1/DataFiles/filegroup1.jar may be a plain executable, not an archive
    Error in writing to directory /tmp/OraInstall2010-11-15_04-36-47PM. Please ensure that this directory is writable and has atleast 60 MB of disk space. Installation cannot continue.
    : Success
    [oracle@serverr01 clusterware]$
    I am also attaching the cluster verfication result, if you wish to have a look at this.
    Please let me know if you see any pointers.
    Many Thanks

    hi
    did you extract the zip file without any errors and with oracle user?
    is the /tmp full? post "df -h"
    you can manually set another temp directory using "export TMPDIR=/any/path"
    hth

  • Oracle 10g on Windows server 2008 R2 - error : Logon failed. Details: ADO

    Hello,
    I have installed Oracle 10g 64bit client on Windows 2008 R2 64bit server. I have installed Visual studio framework 2.0 and 3.5 on Application Server i.e. Windows 2008 R2 64bit Server.
    But when i run report from server, it shows following error message :
    *Logon failed. Details: ADO Error Code: 0x Source: ADODB.Connection Description: Provider cannot be found. It may not be properly installed. Error in File C:\Windows\TEMP\testreport {FE5A4BC0-DF74-4E58-87F1-0F203501A3FC}.rpt: Unable to connect: incorrect log on parameters.*
    I have created report with design time connection with oracle 10g tables. It runs in my development machine. but when i deployed on windows 2008 r2 bit server, it raised above error. After that, i created another report with command instead of using design time database connection with table, it run on server smoothly.
    So Pls help me to come out from this problem.
    If anyone has solution for it, pls share it
    Thanks in Advance
    Keyur

    Today I installed all software in following order.
    1) First install oracle 10g 32bit client & 64bit client on windows 2008 R2 development server.
    2) After oracle installation, I installed visual studio 2005 and tested crystal report on server in debug mode. It was working completely.
    (Both type of report - report created with the help of command in crystal report & crystal report created in direct reference of database table)
    Then i published my test project and setup on same server for clientside testing. but on client machine, it shows error message.
    that was : The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception.
    One more thing i have observed that was report created with help of command in crystal report was working on client machine. But report in which i have added table direclty, was generating above error.
    Then i installed crredist2005_x86.msi and crredist2005_x64.msi from visual studio installed folder. After installation, error message changed on clinet machine.
    Error Message : Logon failed. Details: Error Code: 0x Source: ADODB.Connection Description: Provider cannot be found. It may not be properly installed. Error in File C:\Windows\TEMP\tablesource {EE65A074-2C4E-43DE-A3FC-1FE673093BF1}.rpt: Unable to connect: incorrect log on parameters
    Still in debug mode on server, asp.net project is working with crystal report. I think, when i run asp.net project in debug mode on server, project may be run on 32bit mode. When i run same project from published setup on client machine, it may be run on 64bit mode.
    I can't understand how to solve this problem.
    Pls. help me.
    Thanks in Advance
    Keyur

  • Query works on Oracle 9i, but fails on Oracle 10g - puzzling...

    In porting an application from Oracle 9i to Oracle 10g, I hit a problem that for a while I assumed was some bug of mine. But I eventually isolated the problem and can reproduce this using a single sql script and then a single delete. The amazing thing is that it works fine on Oracle 9i (always) and fails on Oracle 10g (always).
    Have I found a bug? (I would be pretty amazed).
    Here's the situation. I have four tables and a trigger set on one of those tables.
    The tables are configured so that there is the "parent" table (A). Table B has a foreign key dependency on A's primary key, with "on delete cascade". Table B also has a trigger that runs on the delete. Table C (which has no data) has an integrity constraint on A's primary key. Table D holds information used by the trigger to determine if/when table C should be dropped. (I have a script that sets all this up).
    After setting up the tables and the few data records needed, I delete a record from Table A. This causes the records in Table B to be deleted. That fires the trigger, which determines that Table C can be dropped, so the trigger drops Table C. Then, Oracle decides it still needs to check the integrity constraint on Table C (after all, C depended on A and we have deleted a record in A). Oracle then issues a query against table C, but of course table C has already been dropped and an error results.
    The exact same script followed by the delete works fine on Oracle 9i. Is this a bug or is this a documented change in behavior? Any known workarounds? Unfortunately, the application needs all the integrity constraints that are present in the schema and also runs on SQL Server, so modifications in the integrity constraints are probably not what I am seeking).
    Thanks so much!
    RB

    I wasn't sure how to post the script, but it is short enough to include below. Many thanks for the quick response.
    To connect the script below to my original post, the names are:
    Table A = OT_AW_PROCESSDEF
    Table B = OT_AW_PROCESS_APPDATADEF
    Table C = OT_AW_AD_OneLoop_1
    Table D = OT_AW_APPDATA_TABLEINFO
    The trigger is also included in the script. After running this script, the command:
    delete from OT_AW_ProcessDef where processdefId = 101
    will cause the failure on Oracle10g, but succeeds on Oracle 9i.
    Thanks again!
    RB
    /* *********************** CLEAN UP ********************************** */
    /* Order the dropping of objects in reverse of creation */
    DROP TABLE OT_AW_AD_OneLoop_1 CASCADE CONSTRAINTS
    DROP TABLE OT_AW_PROCESS_APPDATADEF CASCADE CONSTRAINTS
    DROP TABLE OT_AW_APPDATA_TABLEINFO CASCADE CONSTRAINTS
    DROP TABLE OT_AW_PROCESSDEF CASCADE CONSTRAINTS
    /* ******************* DATA TABLES *********************************** */
    /* OT_AW_PROCESSDEF(Process Definition) Table */
    /* ********** NOTE: OT_AW_PROCESSDEF and AW_PROCESS TABLES SHOULD ALWAYS HAVE THE SAME SET OF COLUMNS ********* */
    create table OT_AW_PROCESSDEF (
    processDefId NUMBER /* Id for the process definition */
    , processDefName NVARCHAR2(255) /* Name of the process definition */
    , CONSTRAINT OT_AW_PROCESSDEF_PK PRIMARY KEY(processDefId)
    insert into OT_AW_PROCESSDEF (
    processDefId, processDefName
    values (
    1, 'ADHOC'
    /* OT_AW_APPDATA_TABLEINFO(List of all application Data tables in the system) Table */
    create table OT_AW_APPDATA_TABLEINFO (
    namespace VARCHAR2(65) NOT NULL, /* name of the namespace to which it belongs */
    tableName VARCHAR2(128) , /* Name of the appdata table */
    adLevel NUMBER(38) NOT NULL /* Appdata table level: 0=>PROCESS, 1=>CONVERSATION */
    , CONSTRAINT OT_AW_APPDATA_TABLEINFO_PK PRIMARY KEY ( tableName )
    , CONSTRAINT OT_AW_APPDATA_TABLEINFO_UNQ UNIQUE( namespace, tableName, adLevel )
    /* OT_AW_PROCESS_APPDATADEF(Process level application data definition) Table */
    create table OT_AW_PROCESS_APPDATADEF (
    processDefId NUMBER NOT NULL /* Id for the process definition */
    , name VARCHAR2(65) NOT NULL /* Name of the application data field, This name may be pointing to a shared namespace field */
    , tableName VARCHAR2(128) /* Name of the table that holds the value for the field, may be same as local namespace table name */
    , namespace VARCHAR2(65) NOT NULL /* Name of the namespace to which this field belongs */
    , mappedNamespace VARCHAR2(65) null /* Name of the shared namespace to which this field is mapped, if there is any mapping */
    , CONSTRAINT OT_AW_PROCESS_APPDATADEF_PK PRIMARY KEY (namespace, processDefId, name)
    , CONSTRAINT OT_AW_PROCESS_APPDATADEF_FK FOREIGN KEY (processDefId) REFERENCES OT_AW_PROCESSDEF(processDefId) on delete cascade
    CREATE TABLE OT_AW_AD_OneLoop_1(processDefId number , processId number ,FromRole number null, ToRole number null, Anyone number null,
    CONSTRAINT OT_AW_AD_OneLoop_1_FK1 FOREIGN KEY (processDefId) REFERENCES OT_AW_PROCESSDEF(processDefId) )
    /* TRIGGERS */
    CREATE OR REPLACE TRIGGER OT_AW_PROCESS_APPDATADEF_DEL
    AFTER DELETE ON OT_AW_PROCESS_APPDATADEF
    FOR EACH ROW
    DECLARE
    PRAGMA AUTONOMOUS_TRANSACTION;
    tableName_var OT_AW_PROCESS_APPDATADEF.tableName%TYPE;
    tempStr_var varchar2(128) :=null;
    deletedId OT_AW_PROCESS_APPDATADEF.processDefId%TYPE;
    deletedMNsp OT_AW_PROCESS_APPDATADEF.mappedNamespace%TYPE;
    numReferences number :=-1;
    tableExists number :=0;
    CURSOR ADPTable_cursor
    IS
    SELECT apa.tableName, apa.processDefId, apa.mappedNamespace
    FROM OT_AW_PROCESS_APPDATADEF apa
    WHERE apa.tableName = :old.tableName
    AND apa.processDefId = :old.processDefId;
    BEGIN
    dbms_output.put_line('Starting TRIGGER OT_AW_PROCESS_APPDATADEF_DEL');
    OPEN ADPTable_cursor;
    LOOP
    FETCH ADPTable_cursor
    INTO tableName_var, deletedId, deletedMNsp;
    EXIT WHEN ADPTable_cursor%NOTFOUND;
    BEGIN
    IF (deletedMNsp IS NULL) THEN
    BEGIN
    select count(*) into numReferences from OT_AW_PROCESS_APPDATADEF where tableName = tableName_var
    and processDefId <> deletedId;
    IF ( numReferences = 0 ) THEN
    BEGIN
    SELECT count(*) INTO tableExists FROM OT_AW_APPDATA_TABLEINFO where
              tableName=tableName_var;
    IF (tableExists > 0) THEN
    BEGIN
    --dbms_output.put_line('About to alter first table');
    -- EXECUTE IMMEDIATE 'ALTER TABLE ' || tableName_var || ' DROP CONSTRAINT ' || tableName_var ||'_FK1';
    --dbms_output.put_line('About to alter second table');
    -- EXECUTE IMMEDIATE 'ALTER TABLE ' || tableName_var || ' DROP CONSTRAINT ' || tableName_var ||'_FK2';
    dbms_output.put_line('About to drop table named: ' || tableName_var);
    tempStr_var := 'DROP TABLE ' || tableName_var;
    EXECUTE IMMEDIATE tempStr_var;
    dbms_output.put_line(tempStr_var);
    dbms_output.put_line('Table dropped');
    --dbms_output.put_line('Not dropping table now');
    END;
    END IF;
    delete from OT_AW_APPDATA_TABLEINFO where
              tableName=tableName_var;
    dbms_output.put_line('OT_AW_APPDATA_TABLEINFO updated');           
    END;
    END IF;
    END;
    END IF;
    END;
    END LOOP;
    dbms_output.put_line('Loop ended');
    CLOSE ADPTable_cursor;
    dbms_output.put_line('Cursor closed');
    COMMIT WORK;
    dbms_output.put_line('Work committed');
    dbms_output.put_line('Ending TRIGGER OT_AW_PROCESS_APPDATADEF_DEL');
    END;
    show errors;
    /* Set up data to simulate the creation of OT_AW_AD_OneLoop_1 */
    insert into OT_AW_PROCESSDEF (
    processDefId, processDefName
    values (
    101, 'OneLoop'
    insert into OT_AW_PROCESS_APPDATADEF (
    processDefId, name, tableName, namespace
    values (
    101, 'FromRole', 'OT_AW_AD_OneLoop_1', 'OneLoop'
    insert into OT_AW_PROCESS_APPDATADEF (
    processDefId, name, tableName, namespace
    values (
    101, 'ToRole', 'OT_AW_AD_OneLoop_1', 'OneLoop'
    insert into OT_AW_APPDATA_TABLEINFO (
    namespace, tablename, adlevel
    values (
    'OneLoop', 'OT_AW_AD_OneLoop_1', 0
    /

  • Oracle 10g express edition recovery catalog

    whether oracle 10g express edition spoort recovery catalog?

    Yes you can; the answer is in the manual.
    >
    In general, the rules of RMAN compatibility are as follows:
    <li>You can create 8.X or 9.X RMAN catalog schema in any Oracle database release 8.1.X (or higher) and Release 10g RMAN catalog schema in any Oracle database release 9.0.1 (or higher).</li>
    <li>The recovery catalog schema version must be greater than or equal to the RMAN client version.</li>
    <li>Ideally, the versions of the RMAN client and the target database should be the same (although there are other legal combinations, listed in Table B-1).</li>
    <li>While backing up a Release 10g database using the 9.X RMAN client, you cannot include a controlfile that was created using compatible=10.0.0 in a datafile backupset. The workaround is to turn controlfile autobackup ON.</li>
    >
    http://download.oracle.com/docs/cd/B12037_01/server.101/b10770/compat.htm
    http://download.oracle.com/docs/cd/B25329_01/doc/admin.102/b25107/backrest.htm#i1004902
    XE questions are best answered here {forum:id=251}
    Regards,
    Phiri
    Edited by: phiri on 02-Apr-2010 01:36

Maybe you are looking for

  • Frame work order po issue

    Hi I have created  frame work order purchase order, service entry sheet and invoice also completed then i reverse the invoice and reverse service entry sheet then i delete serve entry sheet also.so i need to delete po in me22n t.code during deletion

  • Gallery in Adobe Flash AS2.0

    Hello. I decided to do my portfolio in flash (based on that clip http://www.youtube.com/watch?v=Qn3mDxDqQ1o) and everything went fine until I started doing gallery. I have no idea how to connect html and flash so that it is consistent. The gallery sh

  • MS OFFICE 2008

    I recently bought MS Office 2008 for my dell and now just bought the MB Pro. Are there other "substitutes" on Mac OSX that would take the place of Office? I think I can order the MAC version and install it on my MB Thanks

  • Does Mac recognize .vob files?

    i am thinking of having a service turn my 8mm film onto a dvd. they say the format is .vob. if i do this will i be able to import the .vob files into a movie app so that i can edit the movies?

  • MIRO - User exit at save to put on a payment block

    I need to do some consistency checks at the save of MIRO.  In this user exit I need the option of putting the payment on a payment block.  I have found some enhancements but I haven't found any which will allow me to put it on a payment block. Regard