Error while deploying MDM SCA files through SDM over portal

Hi experts,
We are trying to deploy MDM business package over CE server.
In this we are able to deploy the MDM java apis MDMJAVAAPI06_3.sca but while deploying BPMDMTECHN06_4.sca and BPMDMAPPLI06_4.sca we are getting error that Error " AS JAVA is not running" restart and try we tried many times restarting the instance and deploying it again but every time we are getting the same error.
Please check if the version of the SCA files we are using are correct.
please help.
regards
Narendra

Hi Narendra,
If you are using the portal demo version then check the expiry date. Also try deploying any of the SCAs other than MDMJAVAAPI to confirm whether the error is due to SCA files or there is a problem with the portal server.
If you get the same error then you should download the SCA files again from market place and try deploying them. Version doesn't play any role in case of deployment. But make sure it should be compatible with the MDM Server version.
Regards,
Jitesh Talreja

Similar Messages

  • Error while deploying a PAR file from NWDS into an ECC.

    Hi all,
    I am getting this error while deploying a PAR file from NWDS into an ECC.
    Operation Failed: Please make sure the server is running or check the log (sap-plugin.log) for
    more detail.
    My server is running properly
    1 - Where is sap-plugin.log file? I don´t find it. 
    2 - Could there be another file with another name with information about the error?
    3 - Is there another way to deploy the file directly from the ECC?
    Regards,

    Hi,
    Just make sure you have maintained correct server setting to check the same open the NWDS and follow this path
    Windows/ Prefereces / SAP Enterprise Portal
    Check the following enteries
    Alias
    Host
    Port
    Login etc.
    Regards,

  • Error deploying the .SCA files in SDM related to ESS packages

    Hi Experts,
    I am getting the following error , when i deploy the .SCA file related to the ESS packages. Kindly let mek now what could be the issue to fix this problem.
    already deployed following files.
    1. SAPPCUIGP04_0-20001215.sca
    2. BPERP4ESS01_0-10003146.sca
    Error:
    Unresolved dependencies found for the following SDAs:
    1.: development component 'abcau/ess/au/rep'/'abc.com'/'JD3_XSP11MOD_C'/'27510'/'0'
    dependency:
           name:     'ess/rep'
         vendor:     'sap.com'
    There is no component either in SDM repository or in Deployment batch that resolves the dependency.
    2.: development component 'abcau/ess/au/bank_dc'/'abc.com'/'JD3_XSP11MOD_C'/'27505'/'0'
    dependency:
           name:     'ess/per'
         vendor:     'sap.com'
    There is no component either in SDM repository or in Deployment batch that resolves the dependency.
    dependency:
           name:     'ess/xx'
         vendor:     'sap.com'
    There is no component either in SDM repository or in Deployment batch that resolves the dependency.
    3.: development component 'abcau/ess_rem'/'abc.com'/'JD3_XSP11MOD_C'/'27509'/'0'
    dependency:
           name:     'ess/per'
         vendor:     'sap.com'
    There is no component either in SDM repository or in Deployment batch that resolves the dependency.
    Deployment will be aborted.
    Regards
    Vijay

    Hi,
    This is known issue....
    SAP resolved this in SAP ESS SP Stack 20.
    So when deployment error occurs for Austrlian DC's, import SAP ERP SP Stack 20.
    Refer SAP Note# 1167226
    If you face this again....better contact SAP.
    ~ Padmanaban

  • Error while deploying BPMDMTECHN06_3.sca

    Hi all
    I'm getting the following deployment exception while trying to import the MDM Portal Content BPMDMTECHN06_3.sca file.
    Starting Deployment of com.sap.pct.mdm.tech.packages.mdm_550
    Aborted: development component 'com.sap.pct.mdm.tech.packages.mdm_550'/'sap.com'/'SAP AG'/'5.50.20090211152127.0000'/'0',  grouped by software component 'BP_MDM_TECHNOLOGY'/'sap.com'/'SAP AG'/'1000.5.50.6.3.20090211152635''/'0':
    Caught exception during module deployment from SAP J2EE Engine's deploy service:
    java.rmi.RemoteException: Cannot deploy application sap.com/com.sap.pct.mdm.tech.packages.mdm_550.. Reason: <--Localization  failed: ResourceBundle='com.sap.engine.services.deploy.DeployResourceBundle', ID='Exception during deploy: The archive  .\temp\deploy\work\deploying\com.sap.pct.mdm.tech.packages.mdm_550.epa could not be deployed completely. Import failed for 1 of 6  objects. [PcdGlTransportManager.importObject(): cannot import an object in transport mode all that has been exported with transport  mode data.]
    com.sap.portal.transport.deploy.IncompleteDeploymentException: The archive  .\temp\deploy\work\deploying\com.sap.pct.mdm.tech.packages.mdm_550.epa could not be deployed completely. Import failed for 1 of 6  objects. [PcdGlTransportManager.importObject(): cannot import an object in transport mode all that has been exported with transport  mode data.]
         at com.sap.portal.transport.deploy.PackageDeployServiceImpl.deployArchive(PackageDeployServiceImpl.java:279)
         at com.sap.portal.transport.deploy.PackageDeployServiceImpl.deployArchives(PackageDeployServiceImpl.java:363)
         at com.sap.portal.prt.sapj2ee.PortalRuntimeContainer.deploy(PortalRuntimeContainer.java:163)
    ', Arguments: []--> : Can't find resource for bundle java.util.PropertyResourceBundle, key Exception during deploy: The archive  .\temp\deploy\work\deploying\com.sap.pct.mdm.tech.packages.mdm_550.epa could not be deployed completely. Import failed for 1 of 6  objects. [PcdGlTransportManager.importObject(): cannot import an object in transport mode all that has been exported with transport  mode data.]
    com.sap.portal.transport.deploy.IncompleteDeploymentException: The archive  .\temp\deploy\work\deploying\com.sap.pct.mdm.tech.packages.mdm_550.epa could not be deployed completely. Import failed for 1 of 6  objects. [PcdGlTransportManager.importObject(): cannot import an object in transport mode all that has been exported with transport  mode data.]
         at com.sap.portal.transport.deploy.PackageDeployServiceImpl.deployArchive(PackageDeployServiceImpl.java:279)
         at com.sap.portal.transport.deploy.PackageDeployServiceImpl.deployArchives(PackageDeployServiceImpl.java:363)
         at com.sap.portal.prt.sapj2ee.PortalRuntimeContainer.deploy(PortalRuntimeContainer.java:163)
    ; nested exception is:      com.sap.engine.services.deploy.container.DeploymentException: <--Localization failed:  ResourceBundle='com.sap.engine.services.deploy.DeployResourceBundle', ID='Exception during deploy: The archive  .\temp\deploy\work\deploying\com.sap.pct.mdm.tech.packages.mdm_550.epa could not be deployed completely. Import failed for 1 of 6  objects. [PcdGlTransportManager.importObject(): cannot import an object in transport mode all that has been exported with transport  mode data.]
    com.sap.portal.transport.deploy.IncompleteDeploymentException: The archive  .\temp\deploy\work\deploying\com.sap.pct.mdm.tech.packages.mdm_550.epa could not be deployed completely. Import failed for 1 of 6  objects. [PcdGlTransportManager.importObject(): cannot import an object in transport mode all that has been exported with transport  mode data.]
         at com.sap.portal.transport.deploy.PackageDeployServiceImpl.deployArchive(PackageDeployServiceImpl.java:279)
         at com.sap.portal.transport.deploy.PackageDeployServiceImpl.deployArchives(PackageDeployServiceImpl.java:363)
         at com.sap.portal.prt.sapj2ee.PortalRuntimeContainer.deploy(PortalRuntimeContainer.java:163)
    ', Arguments: []--> : Can't find resource for bundle java.util.PropertyResourceBundle, key Exception during deploy: The archive  .\temp\deploy\work\deploying\com.sap.pct.mdm.tech.packages.mdm_550.epa could not be deployed completely. Import failed for 1 of 6  objects. [PcdGlTransportManager.importObject(): cannot import an object in transport mode all that has been exported with transport  mode data.]
    com.sap.portal.transport.deploy.IncompleteDeploymentException: The archive  .\temp\deploy\work\deploying\com.sap.pct.mdm.tech.packages.mdm_550.epa could not be deployed completely. Import failed for 1 of 6  objects. [PcdGlTransportManager.importObject(): cannot import an object in transport mode all that has been exported with transport  mode data.]
         at com.sap.portal.transport.deploy.PackageDeployServiceImpl.deployArchive(PackageDeployServiceImpl.java:279)
         at com.sap.portal.transport.deploy.PackageDeployServiceImpl.deployArchives(PackageDeployServiceImpl.java:363)
         at com.sap.portal.prt.sapj2ee.PortalRuntimeContainer.deploy(PortalRuntimeContainer.java:163)
    (message ID:  com.sap.sdm.serverext.servertype.inqmy.extern.EngineSingleModuleOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEX C)
    Deployment of com.sap.pct.mdm.tech.packages.mdm_550 finished with Error (Duration 9641 ms)
    Starting Deployment of BP_MDM_TECHNOLOGY
    Aborted: software component 'BP_MDM_TECHNOLOGY'/'sap.com'/'SAP AG'/'1000.5.50.6.3.20090211152635''/'0':
    Failed deployment of SDAs:
    development component 'com.sap.pct.mdm.tech.packages.mdm_550'/'sap.com'/'SAP AG'/'5.50.20090211152127.0000'/'0' : aborted
    Please, look at error logs above for more information!
    Deployment of BP_MDM_TECHNOLOGY finished with Error (Duration 2688 ms )
    The problem occurs specifically while deploying com.sap.pct.mdm.tech.packages.mdm_550 EPA file.
    I tried the solution given in the the link /thread/119921 [original link is broken]
    but it didnt work.
    Has anyone faced this before? Would appreciate useful responses.
    Thanks
    Swarna

    Hi Swarna,
    Could be the reason that the SCA file might get corrupted, it would be better if you download the SCA files again and try to deploy. Also if you already deployed the SCA files earlier then you first need to undeploy them manually and restart the portal server then try to deploy the SCAs again.
    Atleast try restarting portal server and then deploy.
    Regards,
    Jitesh Talreja

  • Error while deploying the par file

    while deploying  an application in NWDS we are getting the error as"operation failed,please make sure that the server is running or check the log."
    we have ensured that the server is running,but the deployment is getting failed.
    Please suggest tips to deploy the PAR file successfully.
    Thanks.

    Hi,
    We are using NWDS to create a small application to develop ( for ex jspdynpage)
    .while deploying the par file or exporting it to the server,we are getting the error as "please make sure that the server running.HTTPS protocol is not supported,please ensure that this server is not using HTTPS.
    the server is running and is shown in green.
    we have also  disabled the proxy settings.
    we have also tried by specifiing the IP of the server in the proxy settings.
    the above steps didnt work.please suggest the things to do to make this working.
    thanks,
    rajani.

  • Error while deploying an ear file in the Oracle Application Server

    Hi,
    There was an existing ear deployed in the the oracle application server - 10g. We had to include some customizations so we rebuild the ear file with the new changes and tried redeploying the ear using the EM console. Getting the below error while deploying the same. Any pointers to the same would be helpful.
    Error
    An error occurred when processing the data submitted. Find the appropriate field and enter the correct information as noted next to each field.
    Archive Location - Failed in uploading archive. Invalid archive file: Jar file resourceadapter-rar.rar is missing a standard deployment located at META-INF/ra.xml
    We have not modified anything in the ra.xml nor have touched the resourceadapter-rar.rar

    Hello
    did you configure the startweblogic file as mentioned in the admin guide ?

  • Error while deploying the EAR file

    Hi,
    We are trying to deploy an EAR file (created through NWDS) using the SDM. But while deploying we are getting the following exception:
    com.sap.sdm.util.sduread.IllFormattedSduFileException:Error during attribute reading: received exception: Error in opening zip file
    Does this has something to do with the application or is it related with the WinZip software?
    We deployed the same application with the same configuration previously, at that time it got deployed without any issues.
    Please reply.
    Thanks & regards,
    Sujit

    Hi,
    This is due to the corruption of EAR file, Check whether the Ear File is  correct or if it has been Corrupted. Because it is unable to Read the File. If it is Corrupted just Create a New EAR file.
    Regards,
    Sharma.

  • Error while deploying the SAR file to EM Console.... MDS-01330: Failed to l

    Hi Team,
    We configured the HUDSON Tool with BPEL Projects. When I am trying to deploy the BPEL Projects to the SOA SERVER. I am getting an error associated with MDS. We never used MDS for storing teh metaData But still we are getting an error.
    10:35:42 deploy:
    10:35:42 [input] skipping input as property serverURL has already been set.
    10:35:42 [input] skipping input as property sarLocation has already been set.
    10:35:42 [deployComposite] setting user / password ..., user = weblogic
    10:35:42 [deployComposite] Processing sar = D: \ Programs \ hudson \ jobs \ P6.1_XYZ \ workspace \ XYZ/deploy/sca_XYZ_rev1.17.jar
    10:35:42 [deployComposite] Adding sar file - D: \ Programs \ hudson \ jobs \ P6.1_XYZ \ workspace \ XYZ \ deploy \ sca_XYZ_rev1.17.jar
    10:35:42 [deployComposite] Creating HTTP connection to host: 10.246.161.147, port: 8020
    10:35:44 [deployComposite] Received HTTP response from the server, response code = 500
    10:35:44 [deployComposite] ----> response code = 500, error: Error during deployment: Error occured when creating target MDS instance.: Oracle.mds.config.MDSConfigurationException: MDS-01330: Failed to load the configuration document MDS
    10:35:44 [deployComposite] MDS-01329: Unable to load the element "persistence-config"
    10:35:44 [deployComposite] MDS-01370: The configuration for use MetadataStore store metadata \ "soa-infra-store \" is invalid.
    10:35:44 [deployComposite] MDS-00922: Unable to create snapshot of heading ConnetionManager "oracle.mds.internal.persistence.db.JNDIConnectionManagerImpl".
    10:35:44 [deployComposite] weblogic.common.resourcepool.ResourceDisabledException: Pool mds-soa is Suspended, cannot allocate resources to applications ..
    10:35:44 [deployComposite]: MDS-01330: Failed to load configuration document MDS
    10:35:44 [deployComposite] MDS-01329: Unable to load the element "persistence-config"
    10:35:44 [deployComposite] MDS-01370: The configuration for use MetadataStore store metadata \ "soa-infra-store \" is invalid.
    10:35:44 [deployComposite] MDS-00922: Unable to create snapshot of heading ConnetionManager "oracle.mds.internal.persistence.db.JNDIConnectionManagerImpl".
    10:35:44 [deployComposite] weblogic.common.resourcepool.ResourceDisabledException: Pool mds-soa is Suspended, cannot allocate resources to applications ..
    10:35:44 [deployComposite].
    10:35:44
    10:35:44 BUILD FAILED
    10:35:44 D: \ Programs \ hudson \ jobs \ P6.1_XYZ \ workspace \ XYZ \ build.xml: 44: The following error occurred while executing this line:
    10:35:44 D: \ Oracle \ 11gR1ps1 \ jdeveloper \ bin \ ant-sca-deploy.xml: 132: Error during deployment: Error occured when creating target MDS instance.: Oracle.mds.config.MDSConfigurationException: MDS-01330 : Failed to load configuration document MDS
    10:35:44 MDS-01329: Unable to load the element "persistence-config"
    10:35:44 MDS-01370: The configuration for use MetadataStore store metadata \ "soa-infra-store \" is invalid.
    10:35:44 MDS-00922: Unable to create snapshot of heading ConnetionManager "oracle.mds.internal.persistence.db.JNDIConnectionManagerImpl".
    10:35:44 weblogic.common.resourcepool.ResourceDisabledException: Pool mds-soa is Suspended, cannot allocate resources to applications ..
    10:35:44: MDS-01330: Failed to load configuration document MDS
    10:35:44 MDS-01329: Unable to load the element "persistence-config"
    10:35:44 MDS-01370: The configuration for use MetadataStore store metadata \ "soa-infra-store \" is invalid.
    10:35:44 MDS-00922: Unable to create snapshot of heading ConnetionManager "oracle.mds.internal.persistence.db.JNDIConnectionManagerImpl".
    10:35:44 weblogic.common.resourcepool.ResourceDisabledException: Pool mds-soa is Suspended, cannot allocate resources to applications ..
    This is not pertaining to a single Project and this was happening with all BPEL Process.
    Please help us since it was blocking us to either delete a SAR file from EM Console as well as Deploy the SAR file to the EM Console.
    Thanks,
    Venugopal Raja

    weblogic.common.resourcepool.ResourceDisabledException: Pool mds-soa is Suspended, cannot allocate resources to applications ..Check server logs to find out why mds-soa is suspended. Make sure that datasource mds-soa is up and running on SOA servrs before deploying an application.
    Regards,
    Anuj

  • Out of Memory Error While deploying as EAR file

    Hai,
    I was trying to deploy an EAR file of size 63 MB which inturn containing about 60 EJB.jars. No WARs. application.xml has all the entries for the JARs. While I am deploying it is giving Out of Memory Error. Is there any way to tweak this problem. I am using my own hand written java application which uses the SunONE deployment APIs for deployment. Can u please tell how to tackle this problem. I am running my application through a batch file which uses jdk1.4.
    Please help me regarding this issue.

    You can set the initial heap size and maximum heap size for the JVM, either in the app-server admin console, or maybe in one of your scripts. You look-up the syntax!...
    I had this error yesterday. I too had run out of memory (150Mb). You simply need to allocate more to the app-server.

  • Error while deploying a JAR-File into 8i !

    Hello to all Oracle experts,
    At the attempt to deploy a Jar file into the 8i the following
    error message comes onto Shell level:
    initialization complete
    loading : com/sun/xml/tree/XmlDocumentBuilder
    ORA-01536: space quota exceeded for tablespace 'PROCON_DATA'
    Error while loading com/sun/xml/tree/XmlDocumentBuilder
    ORA-06502: PL/SQL: numeric or value error
    ORA-06512: at "SYS.DBMS_LOB", line 700
    ORA-06512: at "PROCON.LOADLOBS", line 1
    ORA-06512: at line 1
    creating : com/sun/xml/tree/XmlDocumentBuilder
    Error while creating class com/sun/xml/tree/XmlDocumentBuilder
    ORA-29509: incorrectly formed Java binary class definition
    The command was:
    loadjava -user procon/procon@t2srv1:1521:PROCON -thin -verbose -schema PROCON xml_un.jar
    It would please me if somebody has an idea to this error !
    null

    Hi Olivier,
    you could try the following approach:
    1. Package your JAR files as J2EE Engine libraries and deploy them on it as described here: <a href="http://help.sap.com/saphelp_nw04/helpdata/en/9f/2ade3fc6c6ec06e10000000a1550b0/frameset.htm">Working with J2EE Libraries</a>.
    2. Set reference to this library from the application that use them. Depending on your application, refer to the appropriate documentation:
    -- reference from a J2EE app -> see <a href="http://help.sap.com/saphelp_nw04/helpdata/en/15/d5d93fe80fed06e10000000a1550b0/frameset.htm">Referencing Libraries in Applications</a>
    -- reference from a portal app -> see <a href="http://help.sap.com/saphelp_nw04/helpdata/en/02/788540ae1dbb4de10000000a1550b0/frameset.htm">Referencing Elements</a>
    Hope that helps!

  • Error while deploying P6.ear file in Oracle Weblogic installing P6 R8 web

    Hi,
    I am trying to install Primavera P6 R8 web and while deploying the P6.ear file into Oracle Weblogic getting the following error:
    "<Error> <Deployer> <BEA - 149202> <Encountered an exception while attempting to commit the 7 task for the application 'pm6'.>
    weblogic.application.ModuleException: :com.primavera.PhoenixException: ERROR: BREBootstrap.xml was not found. Please make sure that the JVM system property primavera.bootstrap.home is defined and set to the location of the directory containing BREBootstrap.xml
    Thanks & Regards,
    Ashwani

    Hello
    did you configure the startweblogic file as mentioned in the admin guide ?

  • Error while deploying MDM Java Connector for EP

    Hi,
    i am a newbie to MDM.i am trying to develop a portal component with the blog "Using MDM5.5 Java Connector with SAP Enterprise Portal 6.0" as reference.
    i created an MDM system in portal and the connection tests passed.
    But when i deploy the code i get the following exception-
    java.lang.NullPointerException
         at com.sap.mdm.connector.connection.MdmConnectionFactory.getConnectionEx(MdmConnectionFactory.java:170)
         at com.sap.portal.ivs.internalconnector.ConnectionProvider.getConnection(ConnectionProvider.java:304)
         at com.sap.portal.ivs.internalconnector.ConnectionProvider.getConnection(ConnectionProvider.java:258)
         at com.sapportals.portal.ivs.cg.ConnectorService.getConnection(ConnectorService.java:478)
         at com.sapportals.portal.ivs.cg.ConnectorService.getConnection(ConnectorService.java:85)
         at com.cts.mdm.MDMtestcomp.doContent(MDMtestcomp.java:36)(this points to the line <b>connection = cgService.getConnection("MDM_SYSTEM_ALIAS", prop);</b>)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
    This is my code-
    IConnectorGatewayService cgService = (IConnectorGatewayService)
                   PortalRuntime.getRuntimeResources().getService(IConnectorService.KEY);
              ConnectionProperties prop =
              new ConnectionProperties(request.getLocale(), request.getUser());
                   IConnection connection = null;
                   connection = cgService.getConnection("MDM_SYSTEM_ALIAS", prop);
         INative nativeInterface = connection.retrieveNative();
                        CatalogData catalog = new CatalogData();
                             catalog = (CatalogData)
                   nativeInterface.getNative(CatalogData.class.getName());
                        ResultSetDefinition rsd = new ResultSetDefinition("Customers");
              rsd.AddField("Name");
              Search search = new Search("Customers");
              A2iResultSet rs = null;
                             rs = catalog.GetResultSet(search,rsd,"Name",true,0);
    response.write(rs.GetFields().toString());
    Have i missed anything?
    Should i deploy any .jar file? (i've already deployed MDM4J.jar) and referenced it in portalapp!
    Thanks in advance
    SwarnaDeepika

    Hello Swarna:
    I believe than rather than deploying the MDM4J.jar, you should deploy this components:
    com.sap.mdm.tech.mdm4j.sda
    com.sap.mdm.tech.connector.sda
    BPMDMTECHN00_0.sca
    BPMDMAPPLI00_0.sca
    Once you deploy those, you should have no problems. Another solution would be to take your MDM4J.jar and wrap it into an SDA, then deploy, but that would be pretty much the same.
    Those components are included on your MDM CD. Please ensure you use the same Version/support package/hotfix all over your landscape.
    I hope that helps
    Alejandro

  • Error while deploying a war file:Urgent

    Hi,
    I am trying to deploy a war file and i am getting the followinig error on the emd console.
    "Failed to deploy application 'xxxx'. No config data persisted for component apache, transaction ID 192.168.40.44.5789f3......"
    The opmn log file in the oracle directory is showing the following exceptioin
    java.net.ConnectException: Connection refused
    Can any one please help me resolve this issue.
    Regards
    Badari

    Hi,
    For a tutorial with source on how to create and deploy a simple quickstart JEE5 JPA enterprise 3-tier application on your Oracle WebLogic 10.3 server - see the following example that uses the EclipseLink JPA provider. You should be able to transition all of your mapping information (the @ManyToOne and table/column overrides and named queries for example) using either JPA via entity annotations or native extensions if you do not want to implement EJB3.
    see...
    http://wiki.eclipse.org/EclipseLink/Examples/JPA/WebLogic_Web_Tutorial
    We also have a similar version for Tomcat 6 except the JPA entity beans run outside a container-managed JTA transaction on the web container - for reference.
    http://wiki.eclipse.org/EclipseLink/Examples/JPA/Tomcat_Web_Tutorial
    thank you
    /michael
    www.eclipselink.org

  • Error while reading indesign(.indd) file through COM object in c#

    I want to read InDesign(.indd) file in c#. I have installed adobe InDesignCS6.
    I have added COM reference of 'Adobe InDesign CS6 Type Library' in my c# application.
    Code snippet is as follows.
            [STAThread]
            static void Main(string[] args)
                InDesign.Application app = (InDesign.Application)COMCreateObject("InDesign.Application");
                Document doc = app.ActiveDocument;
                Page page = doc.Pages[1];
                TextFrame frame = page.TextFrames[1];
                Console.WriteLine(frame.Contents.ToString());
            public static object COMCreateObject(string sProgID)
                // We get the type using just the ProgID
                Type oType = Type.GetTypeFromProgID(sProgID);
                if (oType != null)
                    return Activator.CreateInstance(oType);
                return null;
    But the first line itself throwing an following error while type casting output of COMCreateObject method into InDesign.Application type.
    Error :
    Unable to cast COM object of type 'System.__ComObject' to interface type 'InDesign.Application'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{ABD4CBB2-0CFE-11D1-801D-0060B03C02E4}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
    Kindly help me. Its urgent.

    try this,
    InDesign.Application app = (InDesign.Application)COMCreateObject("InDesign.Application.CS6");

  • Error while importing ESS.sca file in Development tab.

    Hi,
    we are importing the ESS.sca file development tab. we are getting the below error.
    Fatal   Exception:com.sap.cms.tcs.interfaces.exceptions.TCSCommunicationException: communication error: VcmFailureException received: HTTP protocol error [cause: Parsing of the response body failed [reason: XMLParser: > expected to close empty element (:main:, row:1, col:3541811)]]:
    please give your sugesstions.
    Regards,
    srinivas,

    Hi Srinivas,
    Try this out. I had a similar problem and i did this to make the import successful.
    1)     Go to usr/sap/J2E/JTrans/archives and copy the sca file with version shown like the above screen shot.
    2)     Unzip the entire sca file by renaming it. In the META-INF folder open the SAP_MANIFEST.MF file and the replace the 32 character guid for the field “'pr_dtrwspropagationlistid'”
    3)     Change it to a different value and save it.
    4)     There will be four folders when the sca file was unzipped. Select all the 4 folders and then zip it again to the original name of the sca file.
    5)     Copy this file and then place it in the path usr/sap/J2E/JTrans/archives.
    6)     Now try re-importing the file it should work.
    Hope this helps,
    Regards,
    Nagarajan.

Maybe you are looking for

  • Error 1327

    When I try to install Bonjour on an old Compaq laptop that I have so that it can print through my Airport Extreme Base Station, I get the following error message: "Error 1327.Invalid Drive: E:\" Does anyone know what causes this or what a workaround

  • Daily Sales reports - $0 price items

    In the daily sales reports, I'm getting some rows showing $0 customer price and royalty price. These are for paid, not free apps. It shows a product type identifier of 7 (instead of the usual 1). What does this mean ? Anyone else getting these ?

  • SLS: Lock folders

    Dear readers and admins On my server I have created a "sample folder" and did set all the appropriate rights via Posix and ACL. The rights do work the way it was intended. Users are now able to duplicate this folder, but the rights retain, as in "Sam

  • Library path error

    package com.epic.hsm; public class HsmStatus {      static { System.loadLibrary("mk2api"); }      public void HsmSt(){           //MK2API h= new MK2API();      public static void main(String[] args) {           new HsmStatus().HsmSt(); //error i got

  • HOW TO DISPLAY PICTURE IMAGE ON FORM

    I am a new learning database developer/programmer. I am proud to use Oracle Application Express 11.2. I have succeeded creating a table, a form and report on the table. I have used Blob as data-type for the Photo column. The browse link locates the p