DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER Error while running multiple instances of SSIS through batch files.

I have an SSIS package which loads data from an Excel file into a SQL Database. This SSIS package is triggered by a batch file. 
As part of a load test, I have created 20 batch files that run the same package for a different Excel file. 
To have these batch files run together, I have created 2 master batch files, one to run them sequentially (using CALL) and the to run them parallely (using START). I do have any issues in both of them.
But when I try to run 5 instances of the same batch file run concurrently (using START XYZ.bat 5 times) only 1 succeeds. CALL XYZ.bat 5 times has no issues. 
Is it because during START, the Excel file is opened by 1 batch file and unavailable to the other 4 instances? If yes, then why doesn't SSIS throw an error when I run the package through BIDS keeping the Excel file opened? Is there something I can do to
overcome a FAILURE?
Nelton D'Souza MS BI Developer

Yes, it seems that since you open the same file from multiple processes the error occurs due to the sharing violation.
I guess you will get the error opening several Excel files from BIDS trying to read / write to it if you have two BIDS so it is consistent. Excel disallows multiple access paths by its design.
Arthur My Blog

Similar Messages

  • Error while running 'ldifde.exe' to import the schema file

    Hello,
    I'm doing a practical in exchange server. I have two servers, First one is the domain controller it's a Server 2012 R2 and the Second one is the server planing to install exchange 2010. it has server 2008 R2. My issue is when i'm trying to setup Exchange
    Server 2010 it comes error while installing "error while running 'ldifde.exe' to import the schema file" I tried to fix but i couldn't. Please if anyone know about this error give me a solution. 
    Regards.
    Ashane Deshapriya ( MCP )

    Can you run these commands from an elevated powershell and try to install exchange. 
    Import-Module ServerManager
    Add-WindowsFeature NET-Framework,RSAT-ADDS,Web-Server,Web-Basic-Auth,Web-Windows-Auth,Web-Metabase,Web-Net-Ext,Web-Lgcy-Mgmt-Console,WAS-Process-Model,RSAT-Web-Server,Web-ISAPI-Ext,Web-Digest-Auth,Web-Dyn-Compression,NET-HTTP-Activation,RPC-Over-HTTP-Proxy -Restart
    If that also fails please post the error.
    Thanks, MAS
    Please mark as helpful if you find my comment helpful or as an answer if it does answer your question. That will encourage me - and others - to take time out to help you.

  • Cannot overcome Exchange Server 2013 Install Error - "There was an error while running 'ldifde.exe' to import the schema file

    Hello,
    I am attempting to install Exchange 2013 on to a 2008R2 Server on a domain running 2008R2 DC's.  I have worked every error resolution I can find, but I can't get past this error.
    Error:
    The following error was generated when "$error.Clear();
    install-ExchangeSchema -LdapFileName ($roleInstallPath + "Setup\Data\"+$RoleSchemaPrefix + "schema27.ldf")
    " was run: "There was an error while running 'ldifde.exe' to import the schema file 'C:\Windows\Temp\ExchangeSetup\Setup\Data\schema27.ldf'. The error code is: 8224.
    Any assistance is appreciated.

    Are you running the installation from an ISO-file?
    If so, then copy the files (preferably
    Exchange 2013 w. SP1) to the local disk
    and run the install with elevated privileges.
    Martina Miskovic

  • Error while running bulk insert in SSIS package

    Hi:
    I have an error when I am running bulk insert in SSIS package.
    I have implemented an SSIS package to update master data directly from R/3, R/3 gives the file in a specified format, I take this and insert all the records into a temporary table and then update mbr table and process the dimension.
    This works perfectly well in our development system where both our app server and sql server on the same box. But in QAS, the 2 servers are separate and when I try to run the SSIS package I get the below error.
    We have tested all connections and are able to access the path and file from both app server and sql server using the shared folder. Our basis team says that it is a problem with bulk insert task and nothing to do with any authorization.
    Has anyone experienced with this sort of problem in multi server environment? Is there another way to load all data from a file into bespoke table without using bulk insert.
    Thanks,
    Subramania
    Error----
    SSIS package "Package.dtsx" starting.
    Error: 0xC002F304 at Insert Data Into Staging Table (Account), Bulk Insert Task: An error occurred with the following error message: "Cannot bulk load because the file "
    msapbpcapq01\dim\entity.csv" could not be opened. Operating system error code 5(Access is denied.).".
    Task failed: Insert Data Into Staging Table (Account)
    SSIS package "Package.dtsx" finished: Success.
    The program '[2496] Package.dtsx: DTS' has exited with code 0 (0x0).

    Hi Subramania
    From your error:
    Error: 0xC002F304 at Insert Data Into Staging Table (Account), Bulk Insert Task: An error occurred with the following error message: "Cannot bulk load because the file "
    msapbpcapq01\dim\entity.csv" could not be opened. Operating system error code 5(Access is denied.).".
    Let say, server A is where the file entity.csv is located
    Please check the Event Viewer->Security of Server A at the time when the SSIS run, there must be an entry with Logon Failure and find what user was used to access the shared path.
    If your both servers are not in a domain, create the user in server A with the same name and password and grant read access to the shared folder.
    The other workaround is grant read access to Everybody on the shared folder.
    Halomoan
    Edited by: Halomoan Zhou on Oct 6, 2008 4:23 AM

  • Error while running multiple Smart Publishing Wizards

    Sorry this is so long....
    When I run multiple publishing wizards (two separate source
    folders to two separate destination folders) I get an error stating
    "The process cannot access the file because it is being used by
    another process." The file is not identified and the result varies.
    I have seen the following because of this error:
    1. The first publishing job completes OK but the second
    wizard has to be restarted.
    2. The first job resets back to the dialog where you click
    Finish to start it and the second continues OK.
    3. The first job resets and the second job errors when it
    gets to the end of the copy.
    I have been just running them one at a time but am now
    maintaining 80+ sites supported by 3 project files and it doesn't
    matter if the Wizards are publishing from different projects. I get
    the same problem if just clicking publish from the Build dialog in
    the RH project. Basically any time two publish jobs are running
    they crash each other.
    I've started to use batch files with xcopy statements to move
    the sites from my C: to the Web server (mapped drive on the
    network). I haven't seen any problems with this approach and I can
    launch as many jobs as I want.
    I would welcome any advice or conjecture as to resolving the
    Wizard problem and any concerns with using the xcopy?

    I also get the problem if from teh same project I generate
    say 4 SSLs then kick off four Smart Publishing Wizards to publish
    each. You can't do this by clicking Publish from the generate
    dialog because RH dedicates itself to the task. So I use the Smart
    Publishing Wizard from the Toolbox.
    I did set up the xcopy to only copy changed files using /D
    parameter. It works well and I was going to write a manager to
    allow me to kick off common groupings of copies with one click and
    a little monitoring app to watch it and let me know when complete.
    Before I did all that I just wanted to see if the wizard
    behavior is normal or if I have a problem that can be
    corrected.

  • Why am i getting this error while running the javascript for adding watermark from file??

    Hi,
    I am using adobe acrobat 9 professional .I need to add watermarkfrom file  to a pdf document by clicking  a button on the document which runs the following javascript
    this.addWatermarkFromFile({
    cDIPath: "/C/watermark.pdf",
    nSourcePage: 1,
    nEnd: 9,
    nHorizAlign: 0,
    nVertAlign: 0,
    nHorizValue: 144,
    nVertValue: -72,
    nRotation: 45
    Java debugger prompts the following message while running it
    NotAllowedError: Security settings prevent access to this property or method.
    Doc.addWatermarkFromFile:9:AcroForm:watermark:Annot1:MouseUp:Action1
    Can anyone please help me out how to get acces to the method addWatermarkFromFile ?

    Thanks George   my code is working finally!Here it goes:
    myTrustedMenu = app.trustedFunction( function( cDIPath, nSourcePage, nStart, nEnd, bOnTop, bOnScreen, bOnPrint, nHorizAlign, nVertAlign, nHorizValue, nVertValue, bPercentage, nScale, bFixedPrint, nRotation, nOpacity)
    app.beginPriv();
    this.addWatermarkFromFile(cDIPath, nSourcePage, nStart, nEnd, bOnTop, bOnScreen, bOnPrint, nHorizAlign, nVertAlign, nHorizValue, nVertValue, bPercentage, nScale, bFixedPrint, nRotation, nOpacity);
    app.endPriv();
    app.addToolButton({
    cName: "watermark",
    cExec:"myTrustedMenu ( '/C/Documents and Settings/All Users/Documents/My Pictures/Sample Pictures/logo_black.pdf',0,0,1,'False','True','True',app.constants.align.center,app.const ants.align.center,0,0,'False',.35,'False',0,.04) ;",
    cTooltext:"watermark"

  • Error while running a report JSP in a war file from 9iAS server

    Hi,
    I've a web application archive file (war) which i m deploying to the web using OEM. The war file consists of many JSPs. Among those JSPs i have one Report JSP, which i m calling from another JSP which is like a parameter form for the report JSP. When i call the report JSP, it gave me the following error,
    javax.servlet.jsp.JspException: com.sun.corba.se.internal.iiop.ORB
    javax.servlet.jsp.JspException: com.sun.corba.se.internal.iiop.ORB
    at oracle.reports.jsp.ReportTag.doStartTag(ReportTag.java:334)
    at FMCardExp.jspService(_FMCardExp.java:58)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:302)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:407)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:330)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:59)
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:523)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:269)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:735)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:151)
    at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:64)
    The report tag in the report JSP is as follows,
    <rw:report id="report" parameters="server=repsvr&userid=scott/tiger@db">
    The report server is up and running and so is the database. This report JSP was generated from the reports builder and the opened in JDeveloper environment,in the war file project. It was then compiled and a war file was created. Surprisingly this report JSP works fine when i run my webapplication from the embedded OC4J instance for JDeveloper, but when i try to run it from the 9iAS server i get the above mentioned error. The deployment of the war file to the server is successful and the other JSPs work fine, only the reports JSP is not working. Do i need to have some settings for running the reports JSP, please advise.
    Thanks in advance
    Unmesh

    Can you please help me in deploying jdeveloper (9.0.3.1)war file to 9iAS release 1, when I try to run, none of the jsp's execute, I get java OutOf Memory error, I also think that there may be some version compatibility between jdev jdk and 9iAS jdk.
    Thanks,
    Kavitha

  • Error while running report in DocViewer region through OAF .

    I am trying to run a report , on my custom region embedded in seeded page of service request module.
    I have extended region :
    "/oracle/apps/xdo/oa/common/webui/DocumentViewerRn.MainRegion"
    I followed the steps in this thread :
    http://apps2fusion.com/at/ps/51-ps/294-bi-publisher-document-viewer-common-region-embeded-report-output-in-oa-framework-page-part-2
    When I run the report I get this error :
    "An error encounterd either due to invalied Template details or due to null Data Input Stream."
    I am not sure if the template registration is the problem or it is the code. Most of the custom report templates are attached to Custom application(short code = MAC), but this report will be run from embedded custom region in seeded application....Could that create any problem ?
    please guide.
    Following are the codes in my files :
    CO-PR -
    AppsContext appscontext =
    ((OADBTransactionImpl)am.getOADBTransaction()).getAppsContext();
    String locale = null;
    try
    String as[] = OAHelper.getISOCodes(appscontext, appscontext.getCurrLangCode());
    locale = as[0]+"-"+as[1];
    // System.out.println("CO-PR - locale " + locale);
    catch(SQLException sqlexception)
    throw new OAException(sqlexception.getMessage(), (byte)0);
    // Set the page context parameter required for datasource BlobDomain.
    pageContext.putParameter("p_DataSource", "BlobDomain");
    pageContext.putParameter("p_DataSourceCode", "MAQuestionDataDefinition");
    pageContext.putParameter("p_DataSourceAppsShortName", "MAC");
    pageContext.putParameter("p_XDORegionHeight", "700");
    pageContext.putParameter("p_TemplateCode", "MAQuestionTemplate");
    pageContext.putParameter("p_TemplateAppsShortName", "MAC"); -----------------------------------------could this be a problem ?
    pageContext.putParameter("p_Locale", locale);
    CO-PFR :
    // Handle the Run button event.
    if(pageContext.getParameter("Go") != null)
    System.out.println("user presses run button");
    Serializable params[] = {   problemIdFV  };
    // Generate the Data XML. The data xml should contain the employees of the specified dept
    // number
    XMLNode xmlNode = (XMLNode) am.invokeMethod("getQuestionDataXML",params);
    try{
    // Create a blob object and add the data xml to it.
    BlobDomain blob = new BlobDomain();
    OutputStream os = blob.getBinaryOutputStream();
    xmlNode.print(os);
    os.close();
    pageContext.putSessionValueDirect("XML_DATA_BLOB", blob);
    catch(Exception e)
    throw new OAException(e.getMessage(), (byte)0);
    code AM :
    public XMLNode getQuestionDataXML(String pid)
    ListQuestionsOafRptVOImpl vo = getListQuestionsOafRptVO1();
    vo.initQuery(pid);
    XMLNode xmlNode = (XMLNode) vo.writeXML(4, XMLInterface.XML_OPT_ALL_ROWS);
    return xmlNode;
    Code in VO:
    setWhereClauseParam(0,pIdNum );
    executeQuery();
    thanks in advance

    Hi,
    There may be few possible reasons:
    1. Template has not been designed correctly
    2. Template is not registered correctly or name u r using in code doesn't match with registered Template
    3. While registering you have not used correct language and territory.
    cross check these things, for Template you can check from Ms-Word it self.
    Regards,
    Reetesh Sharma

  • Error while running job from artjesadmin of Tuxedo Batch Runtime

    Hi,  when I submit the job by entering artjesadmin>smj -i ../JCL/HELLO_WORLD_JCL.ksh , I am getting below error in Job LOG;
    JOB SK127YSM BEGIN AT 2013/05/31 09:50:56
    BEGIN PHASE START AT 2013/05/31 09:50:56
    END PHASE START AT 2013/05/31 09:50:56 (RC=C0000, JOBRC=C0000, ELAPSED=0)
    BEGIN PHASE STEP01 AT 2013/05/31 09:50:56
    RUNB BEGIN :
    RUNBATCH BEGIN :
    +>> Program BEGIN : SAMPL+
    ERROR    mi_ProgramExec: The program execution has an error (SAMPLE)
    END PHASE STEP01 AT 2013/05/31 09:50:58 (RC=U0900, JOBRC=U0900, ELAPSED=2)
    BEGIN PHASE END_JOB AT 2013/05/31 09:50:58
    END PHASE END_JOB AT 2013/05/31 09:50:58 (RC=C0000, JOBRC=U0900, ELAPSED=0)
    JOB ENDED ABNORMALLY WITH CODE (U0900) AT 2013/05/31 09:50:58
    ERROR    mi_FileEmpty: The type UNKNOWN of file is unknown
    mi_JobEnd: Internal Error (mi_FileEmpty -r mt_FileEmpty "/root/workspace/app/00000001/SYSOUT/HELLO_WORLD_JCL_00000001__SYSPRINT_1") RC=123
    Does any one know 's why we get this error and what does RC=U0900 represent.
    Also I checked m_ProgramExec API in /ejr directory and this file doesn't have any statement to execute the program name passed to it as parameter.

    I think I have got whats the problem .
    Syntax for calling m_ProgramExec is "m_ProgramExec [OPTIONS] Program [Args .....] ". And when this API is called it checks the number of arguments and I think its expecting miminum 2 args . When I ran the converted .ksh with m_ProgramExec SAMPLE  it gave error as specified above. But when I corrected the converted .ksh with m_ProgramExec SAMPLE "agrs"  . Then it ran successfully. (though the arguments were dummy)
    Thanks Bob for your help.
    Regards,
    Naresh Gupta.

  • Error while running SSIS package from Integration service or via Job

    Hi All,
    I encounter the below error while running SSIS Package from Job or integration service. However on execution completes success fully while running from data tools. The issue occurs after migration to 2012 from 2oo5 dtsx. PFB the error.
    SSIS Error Code DTS_E_PRIMEOUTPUTFAILED.  The PrimeOutput method on OLE DB Source returned error code 0xC02020C4.  The component returned a failure code when the pipeline engine called PrimeOutput(). The meaning of the failure code is defined by
    the component, but the error is fatal and the pipeline stopped executing.  There may be error messages posted before this with more information about the failure.
    A buffer failed while allocating 10485760 bytes.
    The system reports 26 percent memory load. There are 206110765056 bytes of physical memory with 150503776256 bytes.
    free. There are 2147352576 bytes of virtual memory with 185106432 bytes free. The paging file has 208256339968 bytes with 145642921984 bytes free.
    The package also runs successfully from other servers. This happens only in one of our server.seems like issue with some sql configuration.

    Hi ,
    Are you running using SQL Agent Job and Data tools on same server or different?
    If it is executing fine using Data tools and failing with Job it might be User credentials issue.Try
    to run Job with your credentials by using proxy .
    Regards,
    Prathy
    Prathy K

  • Error while running a test case in Jcaps 6 JDBC project

    I encountered an error while running the testcase for a JDBC BC project in Jcaps 6.
    BPCOR-6135:A fault was not handled in the process scope; Fault Name is {http://docs.oasis-open.org/wsbpel/2.0/process/executable}selectionFailure; Fault Data is null. Sending errors for the pending requests in the process scope before terminating the process instance
    Caused by: I18N: BPCOR-3023: Selection Failure occurred in BPEL({http://enterprise.netbeans.org/bpel/DBSample/Db}Db
    Kindly suggest a solution

    It seems to be a very common error. Try checking your map assignments when the source (from) is empty (null). These mappings with null values may produce the error you are facing...
    Good luck!

  • Running multiple instances of a service

    ello,
    is it possible (and not "tabooed") to run multiple instances of an application that is designed to be service?
    Im intending to use the Java Service Wrapper to have my app run as a service, but im wondering if it is possible to run multiple instances of my application wrapped in the wrapper.
    What about starting the service using command line arguments?
    This is some details of my scenario:
    Im developing a server that will run without threading - it will read client requests that have been saved by the clients into a database. Thus im going to have an infinite while loop that just keeps reading the db for unprocessed client requests.
    When it is noticed that the load has increased then more than one instance of the server will be necessary.
    if im using the java service wrapper to run my server as a service will it be possible to achieve the above?
    thanks.

    one more thing : if i make any changes in the wrapper.conf xml file for the java service wrapper will the config be automatically loaded?

  • Internal Server Error while running the page from server

    Hi gurus,
    We are getting below error while running the oaf page from our instance. we have executed the query behind the page and it took around 40 seconds to execute. but oaf page is getting errored out with below error message after taking long time.
    Internal Server Error
    The server encountered an internal error or misconfiguration and was unable to complete your request.
    Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
    More information about this error may be available in the server error log.
    Please help me..
    Thanks
    Raghava

    Is it 9i Jdeveloper or 10G. Also check the Jdeveloper is being run on a compatible database. A Jdeveloper for 11i should run on an instance having 11i installed and same for R12. Also check the version of OA Frameworrk in the Jdeveloper you are using and the version deployed in instance.
    Regards
    Sumti

  • Error while running DBMS_NETWORK_ACL_ADMIN

    Hi,
    I am completely new to APEX and trying out myself.
    While Apex 4.2.1 installation, and configuring Embedded PL/SQL Gateway.
    Topic: To grant connect privileges to any host for the APEX_040100 database user
    getting error while running DBMS_NETWORK_ACL_ADMIN (as per example given in installation doc)
    ERROR at line 1:
    ORA-44416: Invalid ACL: Unresolved principal 'APEX_040100'
    ORA-06512: at "SYS.DBMS_NETWORK_ACL_ADMIN", line 252
    ORA-06512: at line 29
    ORA-01403: no data found
    Completely stuck and not able to proceed further....
    OS: WinXP professional,
    DB: Oracle Database 11g Express Edition Release 11.2.0.2.0
    Thanks,
    -Anand

    Having multiple APEX_0% users suggests your database has originally started with APEX 4.0 and has been upgraded as subsequent versions are released (4.1.x, 4.2.x).
    These accounts should be removed, as per the installation guide.
    http://docs.oracle.com/cd/E37097_01/doc/install.42/e35123/otn_install.htm#CBHBABCC
    Your current APEX owner would be APEX_040200, and you should be reading documentation pertinent to your APEX version.
    Scott
    blog: [url grassroots-oracle.com]grassroots-oracle.com
    twitter: [url twitter.com/swesley_perth]@swesley_perth
    -- please mark any useful posts as helpful or correct, in the end it helps us all

  • ERROR WHILE INSTALLING DATABASE INSTANCE

    Hi All,
        I am getting an error while installing database instance in 4.7EE with Oracle 8i.The error is
    running sapstart.exe name=AS9 nr=00 SAPDIAHOST=astrum -wait
    SAPSTART finished successfully on astrum_AS9_00, but Dispatcher is not connected to MessageServer.
    sapparam(1c): No Profile used.
    PLEASE HELP ME....

    hi pavan,
    i believe that oracle 8i are no longer supported by SAP.
    By default, SAP R/3 4.7 EE should come with Oracle 9i.
    Check your installer again.
    ardhian
    http://sapbasis.wordpress.com

Maybe you are looking for

  • File to Idoc (message split)

    Hi Gurus, I have a incoming xml file which is split into multiple debmas idoc for ecc. In message-mapping, message-tab source message occurance is set as '1' and target is set with "0...unbound" On target:idoc There is NO mapping for Messages and Mes

  • Get size of the mailbox before/after backup

    Hi there i've been assigned to do a specific report related to exchange and its backup  so what we want is a report that would give us the global size of all our databases before and after the backup ( even the size of the logs before and after) (exa

  • Dead pixel 27" iMac

    Well, I've had my new iMac for around a month now and it's great and today I was working in Photoshop and tried to wipe what I thought was dust off my screen, then I realised it was beneath the glass and a dark dead pixel! NOOOOOO!!!! Because it's a

  • Auto Genrated File in Background

    Hi Friends, In a program I am genrating a text file in c: of my desktop. Now the requirement is to schedule the same program in background and to genrate the files automatically somewhere. Can you please suggest, how to genrate text files from ABAP p

  • Bizarre Issue

    For some reason Safari refuses to load any web page associated with google. Has anyone else had this problem?