Cfobject - An exception occurred when instantiating a COM object

I'm getting the following error:
An exception occurred when instantiating a COM object.
The cause of this exception was that: java.lang.RuntimeException: Can not use native code: Initialisation failed.
1 :
2 : <cfscript>
3 :     oLoader = CreateObject("com", "easyPDF.Loader.6");
4 : </cfscript>
This is on a dedicated server with 64bit Windows Server 8 and 64bit ColdFusion 9.  easyPDF is a program that will convert files into PDF on the server, it is also the 64 bit version.
I'm not even trying to do anything but load the object and am getting the error.  I took a peek inside the registry and searched for "easyPDF.Loader" and it was found.
Any ideas what could be going wrong? Is there something I need to do with the CF setup or IIS to get this working?  It gives the same error with the following line of code as well.
<cftry>
    <cfobject type="com" action="connect" class="Word.application" name="this.wordCom" context="local">
    <cfcatch>
        <cfobject type="com" action="create" class="Word.application" name="this.wordCom" context="local">
    </cfcatch>
</cftry>
Any help or guidance would be great.  Is there a basic <cfobject type="com"> that should work on ANY computer without installing something that I could use to test?
Thanks!

Just to give everyone some closure in this matter:
I've opened a case with Adobe Support. Their reply was:
COM interoperability with CF9 is not supported on 64 bit Windows OS. This is due to the limitations imposed by JIntergra. You can find a reference for this in the following tech-note:http://helpx.adobe.com/coldfusion/kb/coldfusion-limitations-running-coldfusion-64.html
It seems that J-Integra (http://j-integra.intrinsyc.com/support/kb/article.aspx?id=30963) won't update their code libraries for 64-bit support due to lack of customer demand for this functionality. Mind you this is the newest technot I could find on the matter but it was last update in 2010. I've also emailed j-Integra sales (http://j-integra.intrinsyc.com/contact.asp) to inquire about any progress in porting over their libraries to 64-bit. Who knows, if they get enough requests...
I will now try to access my COM libraries from a .NET dll and call it using cfexecute.

Similar Messages

  • An exception occurred when instantiating a COM object

    I have installed ColdFusion 9.1 on a 64-bit server running Windows 2008 R2.  I am using IIS 7.5.
    When I try to access the following URL http://localhost/myhousing/security/login_admin.cfm I get the following error.  Is there a patch available for CF 9 to resolve this error?
    The web site you are accessing has experienced an unexpected error.
    Please contact the website administrator.
    The following information is meant for the website developer for debugging purposes. 
    Error Occurred While Processing Request 
    An exception occurred when instantiating a COM object. 
    The cause of this exception was that: java.lang.RuntimeException: Can not use native code: Initialisation failed. 
    The error occurred in C:/inetpub/wwwroot/MyHousing/Application.cfm: line 22
    20 : <CFINCLUDE template="lib/housing_functions.cfm">
    21 : <CFSET Application.obj_name = "UserInfo325DLL.UserClass">
    22 : <CFOBJECT name="obj" action="create" type="com" class="#Application.obj_name#">
    23 : <!------------------------------------------------------------------->
    24 : <!--- END OF CONFIGURATION FILE --->
    Resources:
    Check the ColdFusion documentation to verify that you are using the correct syntax.
    Search the Knowledge Base to find a solution to your problem.
    Browser   Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)
    Remote Address   ::1
    Referrer   
    Date/Time   08-May-13 01:49 PM
    Stack Trace (click to expand) 
    at cfApplication2ecfm293894775.runPage(C:/inetpub/wwwroot/MyHousing/Application.cfm:22) at cfApplication2ecfm293894775.runPage(C:/inetpub/wwwroot/MyHousing/Application.cfm:22)
    java.lang.RuntimeException: Can not use native code: Initialisation failed
    at com.linar.jintegra.NativeObjRef.<init>(Unknown Source)
    at com.linar.jintegra.Dispatch.createDispatch(Unknown Source)
    at com.linar.jintegra.Dispatch.<init>(Unknown Source)
    at com.intrinsyc.typeInfo.IMacroViewerProxy.<init>(IMacroViewerProxy.java:32)
    at com.intrinsyc.typeInfo.MacroViewer.<init>(MacroViewer.java:90)
    at com.intrinsyc.typeInfo.MacroViewer.<init>(MacroViewer.java:69)
    at com.intrinsyc.typeInfo.InterfaceInfoFactory.getInfoGivenPROGID(InterfaceInfoFactory.java: 50)
    at coldfusion.runtime.com.ComProxy.<init>(ComProxy.java:114)
    at coldfusion.runtime.com.ComProxyFactory.getProxy(ComProxyFactory.java:41)
    at coldfusion.runtime.ProxyFactory.getProxy(ProxyFactory.java:65)
    at coldfusion.runtime.CFPage.createObjectProxy(CFPage.java:4947)
    at coldfusion.tagext.lang.ObjectTag.doStartTag(ObjectTag.java:427)
    at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2722)
    at cfApplication2ecfm293894775.runPage(C:\inetpub\wwwroot\MyHousing\Application.cfm:22)
    at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:231)
    at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:416)
    at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
    at coldfusion.filter.CfincludeFilter.include(CfincludeFilter.java:33)
    at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:279)
    at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48)
    at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40)
    at coldfusion.filter.PathFilter.invoke(PathFilter.java:94)
    at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70)
    at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:2 8)
    at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
    at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46)
    at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
    at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
    at coldfusion.filter.CachingFilter.invoke(CachingFilter.java:62)
    at coldfusion.CfmServlet.service(CfmServlet.java:200)
    at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
    at jrun.servlet.FilterChain.doFilter(FilterChain.java:86)
    at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42 )
    at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
    at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)
    at jrun.servlet.FilterChain.service(FilterChain.java:101)
    at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)
    at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
    at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286)
    at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)
    at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203)
    at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)
    at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
    at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)
    at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

    Let's narrow down the problem by substituting the variable with the value directly on the cfobject tag.
    <CFOBJECT name="obj" action="create" type="com" class="UserInfo325DLL.UserClass">
    ... and see if that works.
    Another thing you might want to check if this is correct, UserInfo325DLL.UserClass.

  • Error  when instantiating a Com( EXCEL.APPLICATION) object in WINDOWS XP

    Hi,
    I am using coldfusion MX7 and OS is WindowXP. I am using COM
    object with Excel.Application for my program. but it is giving the
    below error. But same program is working in Window Profesional.
    ERROR IS:
    An exception occurred when instantiating a Com object.
    The cause of this exception was that: AutomationException:
    0x80080005 - Server execution failed. Note that Windows 95 does not
    support automatic launch of a server, it must be running already.
    The error occurred in
    C:\CFusionMX7\wwwroot\XXX\report_top20.cfm: line 15
    13 : t1=now();
    14 : path=GetDirectoryFromPath(ExpandPath("*.*"));
    15 : xl=CreateObject("COM", "Excel.Application");
    16 : wbks=xl.workbooks;
    17 : tmp=wbks.open(path & "top20_template.xls");
    Plz help me.
    Reagrds,
    DRA.

    Hi,
    If possible, would you please share your Excel file with us, you can upload it to a file sharing site(Like OneDrive), and then share the link with us. Also please take a look of this article:
    http://support.microsoft.com/kb/178510
    For the warning message, It means that in Excel 2010 and Excel 2007, you can use special effects, such as transparent shadows that are not supported in Excel 97-2003. The special effects will be removed. In the Compatibility Checker, click
    Find to locate the objects that have special effects applied so that you can remove those effects as needed.
    Wind Zhang
    TechNet Community Support

  • XSLT Mapping, Transformer configuration exception occurred when loading

    Hi,
    My source message is an IDOC HRMD, I need my target message to include exactly
    <EPERSON xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ContextPersonMessage">
    I have therefore suggested to use XSLT mapping.
    Here is the test_mapping.xsl that I Imported as Zip in Imported Archives.
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ns0="http://polyright.com/xi/HR">
         <xsl:template match="/">
              <EPERSON xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ContextPersonMessage">
                          <xsl:for-each select="HRMD_A07/IDOC/E1PLOGI">
                <CONTEXTPERSON personid="" id="">
                      <PERSON action="add">
                               <TITLE></TITLE>
                               <FIRSTNAME><xsl:value-of select="E1PITYP/E1P0002/VORNA"/></FIRSTNAME>
                               <SECONDNAME></SECONDNAME>
                               <NAME><xsl:value-of select="E1PITYP/E1P0002/NACHN"/></NAME>
                               <ADDRESS1></ADDRESS1>
                               <ADDRESS2></ADDRESS2>
                               <POSTALCODE></POSTALCODE>
                               <CITY></CITY>
                               <COUNTRY></COUNTRY>
                               <COUNTRYID></COUNTRYID>
                               <PROFESSION></PROFESSION>
                               <LANGUAGE></LANGUAGE>
                               <LANGUAGEID></LANGUAGEID>
                               <PERSONTYPEID></PERSONTYPEID>
                               <CREATIONDATE></CREATIONDATE>
                               <BIRTHDATE></BIRTHDATE>
                               <CATEGORY></CATEGORY>
                             </PERSON>
                      </xsl:for-each>
              </EPERSON>
         </xsl:template>
    </xsl:stylesheet>
    When I test the Interface mapping, I get the following error:
    Transformer configuration exception occurred when loading XSLT test_mapping.xsl (http://polyright.com/xi/HR, 783938d1-4463-11dd-b136-e03ac0a80c15, -1)
    Searching through the forum, it is probably an namespace issue, but I have no idea of what needs to be changed. Any suggestions ?

    Try running end-to-end scenario and check if you could get detailed error message.
    Also check if the problem arises from the "ns0" usage.
    Regards,
    Prateek

  • Transformer exception occurred when executing XSLT

    Hi Friends,
    Currently I am working on standard contents(XI) on IS-Retail.
    I want to change standard XSLT mapping.
    I done few changes but on testing of Interface mapping I got this error "Transformer exception occurred when executing XSLT"
    1.
    </xsl:template>
         <!-- Comment start  for Tender ( Financial Movement )-->
         <!--     <xsl:template name="POSLog">
            <ns0:POSLog xmlns:ns0="http://sap.com/xi/StoreConnectivity">
                <xsl:call-template name="POSLogTransaction"/>
            </ns0:POSLog>          
              </xsl:template> -->
         <xsl:template name="POSLog">
              <ns0:Z_POSLog xmlns:ns0="http://sap.com/xi/StoreConnectivity">
                   <xsl:call-template name="POSLogTransaction"/>
              </ns0:Z_POSLog>
              </xsl:template>
              <!-- Comment end for Tender ( Financial Movement )-->
    2.
                   <!-- Changes start for Tender ( Financial Movement )  -->
                        <xsl:for-each select="GMTLogTransactionLine[TransactionType='B2']">
                             <xsl:call-template name="CaptureTenderID"/>
                        </xsl:for-each>
                   <!-- Changes end for Tender ( Financial Movement ) -->
    3.
         <!-- Customization for handling Tender ( Financial Transaction  ) Begin Here-->
         <xsl:template name="CaptureTenderID">
              <xsl:if test="following-sibling::GMTLogTransactionLine[1][TransactionType='B2']">
                   <Tender>
                        <TenderID>
                             <xsl:value-of select="following-sibling::GMTLogTransactionLine[TransactionType='B2'][1]/TenderID"/>
                        </TenderID>
                   </Tender>
              </xsl:if>
         </xsl:template>
         <!-- Customization for handling Tender ( Financial Transaction  ) End Here-->

    Hello flok,
    just have a look into this thread may be you can find the solution
    XSLT Mapping, Transformer configuration exception occurred when loading
    http://xml.apache.org/xalan-j/apidocs/javax/xml/transform/TransformerException.html
    Regards,
    Ravi.

  • Orchestration exception:Exception occurred when persisting state to the database because of special character ' ' in HL7 message.

    In some scenarios HL7 message is coming with special character ‘’ and HL7 dis-assembler escaping this character with “&#x10;&#x1;”. But while sending out (pass thru pipeline but orchestration trying to persist here at last sendshape.) from orchestration
    this message failing with the error “Exception occurred when persisting state to the database.”
    As per the analysis , Orchestration is unable to convert to xml document from a
    XLANGMessage because of this special character. We have tried to call custom .net class with following code and its failing here as well (I think orchestration also trying to do same way and failing with the message and failing with same error.).
    public void ProcessRequest(XLANGMessage reqMessage)
    XmlDocument xmlDocument = (XmlDocument)reqMessage[0].RetrieveAs(typeof(XmlDocument)); It is failing here with the error
    “ ', hexadecimal value 0x10, is an invalid character. Line 1, position 1865. “
    Note : Please find the special character in the attachment circled in red color. 

    Hi ,
    Please find the xml and the screenshot.
    <OBX_ObservationResult>
      <OBX_1_SetIdObx>3</OBX_1_SetIdObx>
      <OBX_2_ValueType>TX</OBX_2_ValueType>
      <OBX_3_ObservationIdentifier>
        <CE_0_Identifier>P.112</CE_0_Identifier>
        <CE_1_Text>Where pt. will be transported to \T\ where &#x10;&#x1;famly can wait:</CE_1_Text>
      </OBX_3_ObservationIdentifier>
      <OBX_4_ObservationSubId />
      <OBX_5_ObservationValue>Y</OBX_5_ObservationValue>
      <OBX_6_Units>
        <CE_0_Identifier />
      </OBX_6_Units>
      <OBX_7_ReferencesRange />
      <OBX_8_AbnormalFlags />
      <OBX_9_Probability />
      <OBX_10_NatureOfAbnormalTest />
      <OBX_11_ObservationResultStatus>N</OBX_11_ObservationResultStatus>
    </OBX_ObservationResult>

  • An Exception Occured when refershing the query

    Hello All,
    Below exception occured for the following two scenarios.
    It occured when i tried to refresh the query.
    Other Case, exception occured when i enter the user prompts , it was about to refresh and got the same error messageNeed to know, when this type of error message occurs generally " An exception occured in one of the data source " and " Nested Exception".Need your inputs.
    Thanks in advance.
    John

    We are using AO 1.4 SP5..
    I have don't have the hotfix whether hotfix has been installed or not.
    Regards,
    John

  • IC WC: Exception occured when combine with Custom Controller

    Hi All,
    I was trying to combine a context node in my application to the context node "CurrentContext" of custom contrroler CuCoBDC.do however the following exception occured when I tried to display the page: "BSP exception: The object CuCoBDC.do in the URL /sap(bD1lbiZjPTAwMQ==)/bc/bsp/sap/crm_ic_preview/root.do is not valid."
    Can anyone please give me some hints?
    Thank you
    Heather

    Hi heather,
    can you please check the BOL entity used for both custom controller and view contex nodes are the same!.
    also do check the binding code in the method create_context_node( ) in _CTXT class of the view!.
    Regards,
    sudeep.

  • Exception occurs when get Members

    All,
    Please help. Im getting error "Exception occurs when get Members" when opening Dimension.
    How to resolve this?
    Thanks in advance

    Hello Agus,
    Kindly go to Tcode SE38 and Run program UJA_REFRESH_DIM_CACHE, then select your dimension and execute it.
    Hope this helps
    Regards
    Bhagyesh Ravange

  • PL/SQL: ORA-04052: error occurred when looking up remote object.

    Hi All,
    I'm getting the following error message while executing a PL/SQL Block.
    PL/SQL: ORA-04052: error occurred when looking up remote object UPLDUSER.filestatushistory@FTS
    ORA-00604: error occurred at recursive SQL level 1
    ORA-03106: fatal two-task communication protocol error
    ORA-02063: preceding line from FTSStatement
    declare
    v_coun number;
    begin
    select count(*) into v_coun
    from updluser.filestatushistory@fts;
    end;Back ground of the situation as follows,
    My DataBase version 10.2.0.3 DB Name :DB1
    Table Owner : UPLDUSER
    Table Name : FILESTATUSHISTORY
    I have a report user on the same database and I have grant all on the above table to report user
    Report User : RPT_FTS
    SQL> GRANT ALL ON FILESTATUSHISTORY_V TO RPT_FTS;Now Please find the below database details where I'm getting subjected error.
    Database version : 9.2.0.8
    DB Name : DB2
    User Name : RPT_REPORTS
    I Have create a dblink from RPT_REPORTS to RPT_FTS on DB1 and the dblink works fine. But getting the above error while running it.
    but When I do the same other 10.2.0.3 db , the above PL/SQL block works fine without any problem.
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    Now the strange about this is that I have Created a new table on DB1 db like below;
    SQL> CREATE TABLE UPLDUSER.ABC AS SELECT * FROM FILESTATUSHISTORY;and retry my code on DB2 (9.2.0.8) after changing the table to ABC and it worked. Now I don't know whats wrong with a original table(FILESTATUSHISTORY).
    To over come the problem and a work-a-round method I create a view on the DB1 (RPT_FTS) like the below
    SQL> CREATE VIEW FILESTATUSHISTORY AS SELECT * FROM UPLDUSER.FILESTATUSHISTORY;and was able to run the PL/SQL block Remotely.
    Just wants To know what whould have been the cause for this .
    Cheers
    Kanchana

    Hi Kanchana,
    Perhaps following link of google search has answer to your query
    ORA-04052. The search result contains some useful articles whose URLs I shan't post in the forums.
    HTH!
    *009*

  • [svn] 1366: BLZ-136 log an error and return no properties when IntrospectionException occurs when introspecting a value object

    Revision: 1366
    Author: [email protected]
    Date: 2008-04-23 14:45:47 -0700 (Wed, 23 Apr 2008)
    Log Message:
    BLZ-136 log an error and return no properties when IntrospectionException occurs when introspecting a value object
    Ticket Links:
    http://bugs.adobe.com/jira/browse/BLZ-136
    Modified Paths:
    blazeds/branches/3.0.x/modules/core/src/java/flex/messaging/io/BeanProxy.java

    Hi,
    Please apply the following correction manually.
    1. Go to transaction ST03N
    2. Change user from 'Administrator' to 'Expert Mode'.
    3. Go to Collector and performance analysis -> Performance database
       -> Monitoring database -> Contents
    4. Search where further info contains the string "h/2"
    like the following monikeys:
      - 'days  h/2'
      - 'weeks  h/2'
      - 'months  h/2'  
    5. Double click on each, so that they become red and show ** delete
    6. Finally SAVE
    This will remove the corresponding database related history up to the deletion date. It will accumulate anew afterwards.
    How can I identify the monikey that has to be deleted?
    When you load the text of the dump and then jump off to the break point of the debugger you may find the error break point look like:
    "IMPORT HIST2 FROM DATABASE MONI(DB) ID MONIKEY".
    To find the right monikey entry causing the dump you can search for the word 'MONIKEY' within the text of the dump. This can be 'days  h/3' or
    'tabgrowth  2'...
    You can then go back to the procedure above and search where further info contains the monikey that you found in the text of the dump.
    997535     DB02: Problems with History Data.
    Award points if helpful.
    Thanks,
    Tanuj

  • ORA-04052: error occurred when looking up remote object SYS.DBMS_UTILITY@..

    Hello,
    I'm trying to import data van 10XE version to new 11XE version over db_link.
    When using the method I run into following error:
    ORA-04052: error occurred when looking up remote object SYS.DBMS_UTILITY@<<db_link_name>>
    This seems to be a bug in 10.2.0.1 fixed in later 10.2 versions, according to the database general forum. "upgrade to newer version"
    But how do i fix this bug in 10XE? Or is the only way around to use the 'old-fashioned' way of exporting data from 10XE to a file, transfer the file and import it in 11XE?
    Best regards,
    Jan.

    No, you cannot apply a patch to XE. Basically the XE internal code is the same as for any other edition. That means is there a bug, you have it in XE,too. To get patches you need a licence for metalink/My Oracle Support. But even you would have one, it wouldn't help you, because Oracle does not provide patches for XE.
    That's the 'price' you have to pay for this free edition.
    Werner

  • ORA-04052: error occurred when looking up remote object SYS.DBMS_SNAPSHOT

    Hello everyone,
    When I tried to create a materialized view with refresh fast mode, I encountered following error message.
    The MV log has been created on my_table like this:
    create materialized view log on my_table
    tablespace data3
    with rowid, sequence
    including new values;
    The database link has been created like this:
    CREATE PUBLIC DATABASE LINK my_db
    CONNECT TO myname
    IDENTIFIED BY mypassword
    USING 'my_db';
    Could anybody please let me know why I can not create MV with refresh fast? What I did wrong?
    Thanks in advance!!!
    MYDB>select count(*) from my_table@my_db;
    COUNT(*)
    5
    Elapsed: 00:00:00.01
    MYDB>create materialized view my_mv
    2 tablespace data4
    3 build immediate
    4 refresh fast with rowid
    5 as
    6 select * from my_table@my_db
    select * from my_table@my_db
    ERROR at line 6:
    ORA-04052: error occurred when looking up remote object SYS.DBMS_SNAPSHOT@my_db
    ORA-00604: error occurred at recursive SQL level 2
    ORA-06544: PL/SQL: internal error, arguments: [55916], [], [], [], [], [], [], []
    ORA-06553: PLS-801: internal error [55916]
    ORA-02063: preceding 2 lines from my_db
    Elapsed: 00:00:00.29
    MYDB>create materialized view my_mv
    2 tablespace data4
    3 build immediate
    4 as
    5 select * from my_table@my_db;
    Materialized view created.
    Elapsed: 00:00:00.20

    No, you cannot apply a patch to XE. Basically the XE internal code is the same as for any other edition. That means is there a bug, you have it in XE,too. To get patches you need a licence for metalink/My Oracle Support. But even you would have one, it wouldn't help you, because Oracle does not provide patches for XE.
    That's the 'price' you have to pay for this free edition.
    Werner

  • Getting "error occurred when looking up remote object" During IMPDP

    Hi
    I am doing a migration from one server to another server. I am on testing period. I am working on this setup
    SALESDB - RHEL 5.2(64bit) and Oracle Database 10.2.0.4
    It has schemas: SALESMGR, TARGET, REPORT and FINANCE
    These schemas will be migration to another database with the same name (we will be shutting down SALESDB 10g after the migration)
    SALESDB - RHEL 5.5(64bit) and Oracle Database 11.2.0.2
    ====================================
    The EXPDP process of the schemas in 10g DB are good and no errors where encountered. But during the IMPDP process of the schemas in 11g DB, I got the follwing erorrs:
    IMP-00017: following statement failed with ORACLE error 4052:
    *"ALTER PACKAGE "BEGINNING_BALANCE_PKG" COMPILE REUSE SETTINGS TIMESTAMP '200"*
    *"9-05-11:09:26:16'"*
    IMP-00003: ORACLE error 4052 encountered
    ORA-04052: error occurred when looking up remote object [email protected]
    ORA-00604: error occurred at recursive SQL level 1
    ORA-12154: TNS:could not resolve the connect identifier specified
    IMP-00017: following statement failed with ORACLE error 4052:
    *"ALTER PACKAGE "PKG_FAULT_CODES" COMPILE REUSE SETTINGS TIMESTAMP '2009-05-1"*
    *"0:02:49:13'"*
    IMP-00003: ORACLE error 4052 encountered
    ORA-04052: error occurred when looking up remote object SALESMGR.SALESPRD_DETAIL@SALESPRD_LINK
    ORA-00604: error occurred at recursive SQL level 1
    ORA-12154: TNS:could not resolve the connect identifier specified
    IMP-00017: following statement failed with ORACLE error 4052:
    *"ALTER PACKAGE "PKG_IFACE_SALESPRD_DATA" COMPILE REUSE SETTINGS TIMESTAMP '20"*
    *"11-09-22:10:33:12'"*
    IMP-00003: ORACLE error 4052 encountered
    ORA-04052: error occurred when looking up remote object SALESMGR.SALESMGR@SALESPRD_LINK
    ORA-00604: error occurred at recursive SQL level 1
    ORA-12154: TNS:could not resolve the connect identifier specified
    IMP-00017: following statement failed with ORACLE error 4052:
    *"ALTER PACKAGE "PKG_COPY_TC_RECPT_TO_ITEM_RECPT" COMPILE REUSE SETTINGS TIMESTAM"*
    *"P '2009-05-10:06:07:09'"*
    IMP-00003: ORACLE error 4052 encountered
    ORA-04052: error occurred when looking up remote object SALESMGR.SALESPRD@SALESPRD_LINK
    ORA-00604: error occurred at recursive SQL level 1
    ORA-12154: TNS:could not resolve the connect identifier specified
    IMP-00017: following statement failed with ORACLE error 4052:
    *"ALTER PACKAGE "PKG_SALES_INVOICE_CREATE_XML_TR" COMPILE REUSE SETTINGS TIMESTAM"*
    *"P '2009-05-10:06:07:23'"*
    IMP-00003: ORACLE error 4052 encountered
    ORA-04052: error occurred when looking up remote object SALESMGR.SALESPRD_TR_DETAIL@SALESPRD_LINK
    ORA-00604: error occurred at recursive SQL level 1
    ORA-12154: TNS:could not resolve the connect identifier specified
    IMP-00017: following statement failed with ORACLE error 4052:
    *"ALTER PACKAGE "PKG_SALES_INVOICE_CREATE_XML" COMPILE REUSE SETTINGS TIMESTAMP '"*
    *"2009-05-10:06:03:01'"*
    IMP-00003: ORACLE error 4052 encountered
    ORA-04052: error occurred when looking up remote object SALESMGR.SALESPRD_DETAIL@SALESPRD_LINK
    ORA-00604: error occurred at recursive SQL level 1
    ORA-12154: TNS:could not resolve the connect identifier specified
    IMP-00017: following statement failed with ORACLE error 4052:
    *"ALTER PACKAGE "PKG_PARSE_GRAPHIC" COMPILE REUSE SETTINGS TIMESTAMP '2009-05"*
    *"-10:06:07:23'"*
    IMP-00003: ORACLE error 4052 encountered
    ORA-04052: error occurred when looking up remote object SALESMGR.SALESPRD_DETAIL@SALESPRD_LINK
    ORA-00604: error occurred at recursive SQL level 1
    ORA-12154: TNS:could not resolve the connect identifier specified
    *. importing SALESMGR's objects into SALESMGR*
    *. importing SALESMGR's objects into SALESMGR*
    I have not created the complete TNS entries in the TNSNAMES.ORA file in the new Oracle 11g. We will be updating this on the actual migration process. Is this the root cause of the problem? I am sure that all database links are existing but upon validating it, it says "ORA-02019: connection description for remote database not found."
    Any ideas or feedback on this?
    Thanks!

    Hello,
    Yes, this is the root cause : Oracle can not compile your packages if it can not connect to remote tables.
    You have to create those entries in your tnsnames, but may be you can reference some test databases in your tnsnames instead of the real production databases, to avoid mistakes.
    Regards,
    Sylvie

  • ORA-04052: error occurred when looking up remote object

    Hi, Basically I want to setup Replication between two servers, 'ZEN2K7' & 'DB' (Advanced master-to-master replication, Sync).
    This is what i had done so far.(Both server having ver 10.1.0.2.0)
    At Server 'ZEN2K7'
    CONNECT system/manager@ZEN2K7
    CREATE USER repadmin IDENTIFIED BY repadmin;
    ALTER USER repadmin DEFAULT TABLESPACE POOL_DATA;
    ALTER USER repadmin TEMPORARY TABLESPACE TEMP;
    GRANT connect, resource TO repadmin;
    EXECUTE dbms_repcat_admin.grant_admin_any_schema('repadmin');
    GRANT comment any table TO repadmin;
    GRANT lock any table TO repadmin;
    EXECUTE dbms_defer_sys.register_propagator('repadmin');
    GRANT execute any procedure TO repadmin;
    CREATE PUBLIC DATABASE LINK DB USING 'DB';
    CONNECT repadmin/repadmin@ZEN2K7
    CREATE DATABASE LINK DB CONNECT TO repadmin IDENTIFIED BY repadmin;
    At Server 'DB'
    CONNECT system/manager@DB
    CREATE USER repadmin IDENTIFIED BY repadmin;
    ALTER USER repadmin DEFAULT TABLESPACE POOL_DATA;
    ALTER USER repadmin TEMPORARY TABLESPACE TEMP;
    GRANT connect, resource TO repadmin;
    EXECUTE dbms_repcat_admin.grant_admin_any_schema('repadmin');
    GRANT comment any table TO repadmin;
    GRANT lock any table TO repadmin;
    EXECUTE dbms_defer_sys.register_propagator('repadmin');
    GRANT execute any procedure TO repadmin;
    CREATE PUBLIC DATABASE LINK ZEN2K7 USING 'ZEN2K7';
    CONNECT repadmin/repadmin@DB
    CREATE DATABASE LINK ZEN2K7 CONNECT TO repadmin IDENTIFIED BY repadmin;
    After this, Create master replication group on ZEN2K7
    CONNECT repadmin/repadmin@ZEN2K7
    BEGIN
    DBMS_REPCAT.CREATE_MASTER_REPGROUP(
    gname => '"REPTEST"',
    qualifier => '',
    group_comment => '');
    END;
    Then at 'ZEN2K7', when i executing
    BEGIN
    DBMS_REPCAT.ADD_MASTER_DATABASE(
    gname => '"REPTEST"',
    master => 'DB',
    use_existing_objects => TRUE ,
    copy_rows => TRUE ,
    propagation_mode =>'SYNCHRONOUS');
    END;
    I got following error
    ORA-04052: error occurred when looking up remote object REPADMIN.SYS@DB
    ORA-00604: error occurred at recursive SQL level 2
    ORA-12154: TNS:could not resolve the connect identifier specified
    ORA-06512: at "SYS.DBMS_REPCAT_UTL", line 4262
    ORA-06512: at "SYS.DBMS_REPCAT_MAS", line 2156
    ORA-06512: at "SYS.DBMS_REPCAT", line 146
    ORA-06512: at line 2
    I had already execute the 'catrpc.sql' on both server.
    I had already check the connection at 'ZEN2K7' side, means I can connect to 'DB' within SQL* Plus at 'ZEN2K7' side.
    What else need to do???
    Thanks.
    Gurpreet S. Gill

    ORA-12154: TNS:could not resolve the connect identifier specified
    This means that you server is unable to resolve DB alias.
    Check you SQL*Net settings.
    On ZEN2K7 try tnsping db. If tnsping return error that add db alias to tnsnames.ora if you use tnsnames as one of resolving mechanism (check sqlnet.ora for NAMES.DIRECTORY_PATH)

Maybe you are looking for

  • How do I get more than one song with a backing track in a concert?

    Hi,I confess I haven't yet looked in depth at the manual but I cant work out why there is only one song available at any one time within a concert. I am trying to put a set of songs together,some with backing tracks,some with just a piano and vox  an

  • Select in pl/sql stored proc.

    Hi friends, I am new to oracle development and were trying to write some basic stored procedure,when i try to put a simple stored select statment in between my 'BEGIN' and 'END' clause it never let me do that,it says that 'INTO' clause is expected,I

  • Problem with username and password

    I've been trying to set up a new back up from scratch, and after losing my network and wifi connection, I just about have it all working again. I have wireless connection, and I have the TC appearing correctly in Airport Utility, green light, reporti

  • How do I create a table of content in a Pages Template (lay-out) document?

    Dear all, I recently started designing a brochure in Pages, using a lay-out document. The document counts over 100 pages. Now I need to make a table of contents and I just don´t get how to do this... Any help is more then welcome! With warm regards,

  • Is it possible to customize Siri's voice?

    Just wondering, is it possible to have a little personality in Siri's voice. I tried find out: can I personalize your voice? She responded, "I don't really like these arbitrary categories" Okay then.