Package hangs when exporting data to Access DB when running under SQL agent & proxy - works fine under BIDS

Hi all - - I have searched every nook & cranny to find a similar issue, but the ones I have found have not solved my problem.
I have a simple package that exports data from a SQL database (2008R2) to several Access databases (Client needs them to be mdb, not accdb).  The whole thing works fine in BIDS, but even though we have created a proxy for the SQL agent, the job runs
without throwing an error, updates the time stamp on the databases, but does not do anything to them.  I created a log file with both the BIDS version & SQL agent version, and the logs look very similar, except that the BIDS one is about 3 times longer.
 The SQL agent one shows no obvious errors or issues.
I do have the Access database engine installed on both the server where the SQL agent is running as well as my development environment.
The job does have the 32 bit runtime option checked as well.
The DBAs are working on the proxy & permissions, and I am wondering if they have missed something in that arena, or if there is something else I may have missed in settings on the package?
We have been beating on this for days now, so any help would be greatly appreciated.
Thanks,
John

Hi John,
Not sure what "but does not do anything to them" means, but I believe once you start running your job with a domain account based proxy it must work (JET uses Admin behind the scenes to actually manipulates on the db that needs to be impersonated).
Arthur My Blog

Similar Messages

  • LSMW Fails when run in B/G but works fine in Front end..why?

    Hi All,
    i am trying to run a batch process by LSMW, my files are accurate, no problem with them, everything works fine but it fails when run in BG..works absolutely fine in front end. whats the diff with running in B/G?
    same thing happens when i am trying to execute an RFC thru SAP JCO, it works when debugger is on (i guess switching on debugger is similar to running in B/G) but it doesnt work when debugger is off. but when i execute that RFC directly in se37 from SAP gui it works fine..fails when connected to JCO..
    i am not having this issue with r/3 4.6c or mySAP ECC.6.0  i have this issue only in r/3 4.7.
    has anyone faced the similar situtaion? pls help.
    thanks.
    p.s if this may help. the RFC and LSMW error both are pertaining to change in address of US employees.( infotype 0006)

    Applying  SAP note 928273 Solved this issue.

  • Hang when running program

    I am getting a hang when running my java program. Part of the stacktrace is below. I see an 'overflowEi' in the trace. Is that the problem? What does that mean. Thanks in advance!!
    3HPNATIVESTACK Native Stack of "Thread-19" PID 5753
    NULL -------------------------
    3HPSTACKLINE _hpiThreadHardSuspend at B73B51B0 in libhpi.so
    3HPSTACKLINE ?? at B73A85BB in libhpi.so
    3HPSTACKLINE ?? at B73A87C0 in libhpi.so
    3HPSTACKLINE ?? at BB4F80 in libpthread.so.0
    3HPSTACKLINE ZNSt12_basic_fileIcE6xsputnEPKci at 419F37 in libstdc++.so.5
    3HPSTACKLINE ZNSt13basicfilebufIcSt11char_traitsIcEE22_M_convert_to_externalEPciRiS4_ at 3D01CF in libstdc++.so.5
    3HPSTACKLINE ZNSt13basic_filebufIcSt11char_traitsIcEE18_M_really_overflowEi at 3CFF74 in libstdc++.so.53HPSTACKLINE ZNSt13basicfilebufIcSt11char_traitsIcEE8overflowEi at 3CFE8E in libstdc++.so.5
    3HPSTACKLINE ZNSt15basicstreambufIcSt11char_traitsIcEE6xsputnEPKci at 4091B4 in libstdc++.so.5
    3HPSTACKLINE ZNSt13basicfilebufIcSt11char_traitsIcEE6xsputnEPKci at 3D0708 in libstdc++.so.5
    3HPSTACKLINE _ZNSo5writeEPKci at 3FFBB1 in libstdc++.so.5
    3HPSTACKLINE ZStlsISt11chartraitsIcEERSt13basic_ostreamIcT_ES5_PKc at 4002C6 in libstdc++.so.5
    3HPSTACKLINE ZN6Cronus14mergeRepairsBiEv at B3F5B3CD in libExerciserServerjni56330.so
    3HPSTACKLINE ZN14BurninAbistDD23runEv at B3F1C39B in libExerciserServerjni56330.so
    3HPSTACKLINE ZN15ExerciserServer3runEv at B3EFBFCE in libExerciserServerjni56330.so
    3HPSTACKLINE Java_com_ibm_austin_tex_control_exerciserServer_ExerciserServer__1_1m11 at B3EF1270 in libExerciserServer_jni56330.so
    3HPSTACKLINE B31519AB
    3HPSTACKLINE L0_invokevirtual_quick_w__ at B7574127 in libjvm.so
    3HPSTACKLINE L0_invokevirtual_quick__ at B75736CC in libjvm.so

    No answers, but some more questions:
    Before diving into the JNI stack trace, what does "hang" mean? Are there other threads running in your program? Is this the main thread?
    Looking at the stack -- and Googling libhpi.so didn't turn up much for me, other than similar complaints -- it looks like it's an output routine. What are you writing to? A local disk, or one that's remote mounted?
    Edit: absolute speculation here, but I suspect that it's a routine that's called when an in-memory buffer's full, in order to physically write the data onto whatever medium you're writing too. So probably not worth looking for an actual "buffer overflow" that's damaging memory.

  • FYI: New version of Disk Warrior seems to hang when run with Snow Leopard

    FYI: It seems that the new version of Disk Warrior hangs when run in Snow Leopard

    I have been using DW 4.2 on 10.5.8 and the speed-up was the first thing I noted, too, so it isn't just SL.
    Now if it would only 'come up for air' and respond to input to move window (so I can put it where I can see it if needed) I'd like that.
    There is a 23 page review of Snow Leopard on Ars. On page 22:
    People sometimes ask what, exactly, is wrong with HFS+.
    Aside from its obvious lack of the features just listed, HFS+ is limited in many ways by its dated design, which is based on HFS, *a twenty-five year-old file system.*
    To give just one example, the centrally located Catalog File, which must be updated for each change to the file system's structure, is a frequent and inevitable source of contention. Modern file systems usually spread their metadata around, both for robustness (multiple copies are often kept in separate locations on the disk) and to allow for better concurrency.
    Practically speaking, think about those times when you run Disk Utility on an HFS+ volume and it finds (and hopefully repairs) a bunch of errors. *That's bad, okay?* +*That's something that should not happen*+ with a modern, thoroughly checksummed, always-consistent-on-disk file system unless there are hardware problems (and a ZFS storage pool can actually deal with that as well). And yet it happens all the time with HFS+ disks in Mac OS X when various bits of metadata to get corrupted or become out of date.
    Apple gets by year after year, tacking new features onto HFS+ with duct tape and a prayer, but at a certain point there simply has to be a successor—whether it's ZFS, a home-grown Apple file system, or something else entirely. My fingers are crossed for Mac OS X 10.7.
    If Disk Utility was reliable in mapping out weak sectors (it is not) and report/log errors. But it doesn't and I trust my data to other file systems when possible. We've come to expect and depend on 3rd party utilities and that Apple First Aid doesn't fix every possible error.
    Scanning one drive for errors can take a long time. Maybe it needs to be done, maybe in the background. With 2TB drives it gets worse. Spending hours to scan for errors??? I've set TechTool Pro to concurrently scan anywhere from one to a dozen volumes at once.
    An ounce of prevention, as they say, is worth a pound of cure.

  • As the current one hangs when run

    Trying to obtain orderline data for the Credit Memo project that produces examples where the quantity results in a fraction, using the following formula:
         (Draft Revenue Amount - Invoiced Amount)/ Selling Price
    As the current one hangs when run
    select distinct order_number,l.LINE_NUMBER
    ,l.DRAFT_REVENUE_AMOUNT, l.INVOICED_AMOUNT,l.SELLING_PRICE,ol.ATTRIBUTE2 end_date
    ,l.DRAFT_REVENUE_AMOUNT- l.INVOICED_AMOUNT diff,
    (nvl(l.DRAFT_REVENUE_AMOUNT- l.INVOICED_AMOUNT,0)/nvl(decode(l.SELLING_PRICE,0,1,l.SELLING_PRICE),1)) quantity
    from xxrr_so_headers_all h, xxrr_so_schedules_all s
    ,xxrr_so_lines_all l,apps.oe_order_lines_all ol
    where h.HEADER_ID=l.HEADER_ID
    and l.LINE_ID=s.LINE_ID
    and l.ORDERED_QUANTITY-l.CANCELLED_QUANTITY<>0
    and nvl(l.DRAFT_REVENUE_AMOUNT,0)- nvl(l.INVOICED_AMOUNT,0) <>0
    and to_date(ol.ATTRIBUTE2)between '01-JAN-2007'and sysdate
    Thanks

    select distinct order_number,l.LINE_NUMBER,
           l.DRAFT_REVENUE_AMOUNT,
           l.INVOICED_AMOUNT,
           l.SELLING_PRICE,
           ol.ATTRIBUTE2 end_date ,
           l.DRAFT_REVENUE_AMOUNT- l.INVOICED_AMOUNT diff,
           (nvl(l.DRAFT_REVENUE_AMOUNT- l.INVOICED_AMOUNT,0)/nvl(decode(l.SELLING_PRICE,0,1,l.SELLING_PRICE),1)) quantity
      from xxrr_so_headers_all h,
           xxrr_so_schedules_all s ,
           xxrr_so_lines_all l,
           apps.oe_order_lines_all ol
    where h.HEADER_ID = l.HEADER_ID
       and l.LINE_ID   = s.LINE_ID
       and (l.ORDERED_QUANTITY-l.CANCELLED_QUANTITY) <> 0
       and (nvl(l.DRAFT_REVENUE_AMOUNT,0)- nvl(l.INVOICED_AMOUNT,0)) <> 0
       and to_date(ol.ATTRIBUTE2) between '01-JAN-2007' and sysdateit's not hanging but trying to return all the rows from your apps.oe_order_lines_all table. since your query does not have any conditions on the WHERE clause that would relate it to your so_headers_all table.
    try to add something like:
         and h.header_id = ol.header_id

  • Global data getting reset when running under IIS?

    We have a scenario using IIS with an ASP.NET web service written in VB.NET. When a call to the web service is made, the web service calls a native dll (written in C, compiled using VS2010) using platform invoke, which in turn calls into our product API:
    VB.NET web service -> native library (p/invoke) -> native API ....
    Web service requests are successfully completed and the system runs without problem for hours. A trace of the native API shows it is being called by multiple processes and multiple threads within those processes.
    The main native API dll contains a static global variable used to detect whether it is the first time it has been called and run initialization logic if it is. This dll is itself linked to a second dll that contains a global variable used to detect if it is
    the first time it has been called.
    After some hours the trace shows that the native API is invoked by an existing process but that the initialization logic is being exercised again, even though the global variable was set to indicate not first time and is never reset.  One theory was that
    the first process has ended and a new process has started almost instantaneously using the same process ID. However this is not the case as existing thread IDs from the same process are seen to write to the trace again after the first time logic has executed
    for the second time, indicating the process has not restarted. The problem occurs regularly.
    It is as though the process's global data has been initialized again and malloc'ed memory freed while the processing is still running. Is there any way this is possible when running under IIS?
    There is an internal thread which waits on a blocking read of a named pipe (via ReadFile), and when the problem occurs, the ReadFile call ends with ERROR_NO_ACCESS, which appears to indicate the malloc'ed buffer is no longer valid, again implying something
    has happened to the memory allocated to the process.

    Suggestting you asking it on:
    http://forums.iis.net/

  • Sudo command hangs when run as winbind user

    Hi,
    It even hangs when running:
    $ sudo
    or
    $sudo -V
    So nothing to do with my sudo config - have reverted /etc/sudoers back to default. Even control-c does not work and the process needs to be killed as root, using another session.
    The command works fine when ran as a local user. It is only when running as a winbind user that there's a problem.
    Any help on what tools can be used to find out what's happening while the command is hanging would be much appreciated. Or even better any ideas on how to stop it hanging would be even better!
    Can provide any config files if they help anyone.......
    Many Thanks,
    Richard

    *** UPDATE ***
    It seems the version of sudo (v1.8*) supplied with Solaris 11 is not compatible with Winbind users.
    Workaround:
    Compile version 1.7* to /usr/local/bin and add this to the beginning of $PATH

  • HT1595 I have hooked up a second apple TV in another room and neither can see my computer when both connected. When i disconnect 1 box it works fine?

    I have hooked up a second apple TV in another room and neither can see my computer when both connected. When i disconnect 1 box it works fine?

    Do a clean (re)install and delete the Firefox program folder (C:\Program Files\Mozilla Firefox\).
    Download a fresh Firefox copy and save the file to the desktop.
    *Firefox 10.0.x: http://www.mozilla.org/en-US/firefox/all.html
    Uninstall your current Firefox version, if possible.
    *Do NOT remove personal data when you uninstall the current version or you lose your bookmarks and other data because all profile folders will be removed.
    Remove the Firefox program folder before installing that newly downloaded copy of the Firefox installer.
    *It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
    *http://kb.mozillazine.org/Uninstalling_Firefox
    Your bookmarks and other profile data are stored elsewhere in the Firefox Profile Folder and won't be affected by a reinstall, but make sure that you do not select to remove personal data if you uninstall Firefox.
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    *http://kb.mozillazine.org/Profile_backup
    *http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Clean_reinstall

  • Create trigger not audited when run from sql developer Version 3.2.20.09

    Creating or editing a trigger is not being stored in the audit table when run from sql developer.
    Here is a sample script to show the issue:
    Grant Connect,create table,create trigger To testuser Identified By testuser;
    create table testuser.testtab(t1 number);
    Select Count(*) From Dba_Audit_Trail Where Owner='TESTUSER';
    CREATE OR REPLACE TRIGGER testuser.testtab_bi_trg BEFORE
      Insert
          ON testuser.testtab FOR EACH ROW
    begin
      null;
    end;
    Select Count(*) From Dba_Audit_Trail  Where Owner='TESTUSER';
    drop user testuser cascade;
    If I run the script from sql developer the CREATE TRIGGER statement does not get audited.
    If I run the script from sql plus or All Arround Automations PL/SQL Developer the CREATE TRIGGER statement does get audited.
    If I edit the trigger from sql developer the CREATE TRIGGER statement does not get audited.
    If I edit the trigger from  All Arround Automations PL/SQL Developer the CREATE TRIGGER statement does get audited.

    DoyleFreeman wrote:
    Not sure what you mean by "perform the audit".
    Have you tested my script? Does the "Select Count(*) From Dba_Audit_Trail  Where Owner='TESTUSER';" increment by 1 after each of the ddl statements or only after the Create table statement.
    Your question doesn't have ANYTHING to do with sql developer and should be posted in the Database General forum
    https://forums.oracle.com/community/developer/english/oracle_database/general_questions
    Yes - and it works just fine once you ENABLE AUDITING. Your scripIt  does NOT include the statements or code used to ENABLE auditing and, specifically, enable auditing for triggers.
    Auditing doesn't just 'happen'; you have to enable it and you have to specify any non-default auditing that you want to perform.
    Have you read any of the extensive documentation about auditing to learn how to use it?
    See the Database Security Guide
    http://docs.oracle.com/cd/E11882_01/network.112/e16543/auditing.htm
    Also see 'Auditing Functions, Procedures, Packages, and Triggers
    http://docs.oracle.com/cd/E11882_01/network.112/e16543/auditing.htm#BCGBEAGC
    And see the AUDIT statement in the SQL language doc for how to specify auditing of specific operations.
    http://docs.oracle.com/cd/E11882_01/server.112/e26088/statements_4007.htm
    Select count(*) From Dba_Audit_Trail  Where (Owner='SCOTT' or username = 'SCOTT')
    and action_name = 'CREATE TRIGGER';
    COUNT(*)
    0
    audit create trigger by scott
    CREATE OR REPLACE TRIGGER emp_copy_bi_trg BEFORE
      Insert
          ON emp_copy FOR EACH ROW
    begin
      null;
    end;
    Select count(*) From Dba_Audit_Trail  Where (Owner='SCOTT' or username = 'SCOTT')
    and action_name = 'CREATE TRIGGER';
    COUNT(*)
    1

  • Getting ora-0600 when running PROFLOAD.sql

    Hi,
    I was getting ORA-0600 when running PROFLOAD.sql script for DBMS_PROFILER (from SYS account). I am running Oracle 9i personal edition on win98. Did anybody had the same problem??

    Here is the full dump..
    QL> @profload
    Package created.
    Grant succeeded.
    Synonym created.
    create or replace library sys.dbms_profiler_lib wrapped
    ERROR at line 1:
    ORA-00600: internal error code, arguments: [16201], [], [], [], [], [], [], []
    create or replace
    ERROR at line 1:
    ORA-00600: internal error code, arguments: [16201], [], [], [], [], [], [], []
    Testing for correct installation
    PACKAGE BODY sys.DBMS_PROFILER - missing or invalid
    PL/SQL procedure successfully completed.

  • Maintenance Cleanup Task fails when executed with SQL Agent but dont if executed manually

    Hello,
    I have a job that fails with the following error if exectued via the SQL Server Agent but not if executed manually.
    The error is:
     Error: 2014-03-31 21:30:14.89     Code: 0xC002F210     Source: Maintenance Cleanup Task Execute SQL Task     Description: Executing the query "EXECUTE master.dbo.xp_delete_file 0,N'\\erpfiles\b..."
    failed with the following error: "xp_delete_file() returned error 2, 'The system cannot find the file specified.'". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly,
    or connection not established correctly.  End Error
    I have checked and the user configured to run the SQL Agent has all needed accesses to the folder \\erpfiles\b....
    Have you an idea to help me go further in my troubleshooting ? Or have you an idea to solve my problem ?
    Thanks in advance

    I think reason for this is the service account having no permissions on the specified folder path. Thats when you get this error most of the times. The user logged in might have access but please keep in mind that sql agent job makes use of service account
    to execute the job which would still need access to the pat to delete the files
    What you can do is add a proxy account and give it access to folder path and use it to execute the job
    http://www.databasejournal.com/features/mssql/article.php/3789881/Proxy-Accounts-in-SQL-Server.htm
    Alternatively you can give the service account access to the folder path.
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Apps not working on my I phone 4 when i turn on wifi they work fine ?

    apps not working on my I phone 4 when i turn on wifi they work fine ?

    That leads me to suspect that your cellular data is either turned off or not working.
    Check Settings > General > Network > Cellular Data and ensure it is ON.
    If it is, try Settings > General > Reset > Reset Network Settings.
    If neither of those resolves the issue, contact the carrier to troubleshoot your network/account issues with them.

  • HT1414 touch screen does not work on my ipod when playing music on itunes, but works fine on every other thing on ipod

    touch screen does not work on my ipod when playing music on itunes, but works fine on every other thing on ipod, can anyone help or what is the cause

    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Unsync all music and resync
    - Reset all settings
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                 
    iOS: How to back up           
    - Restore to factory settings/new iOS device.
    If still problem, make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar          

  • I'm not able to access goolge docs with the blackberry browser (it worked fine till a few weeks ago)

    I'm not able to access google docs with the blackberry browser (it worked fine till a few weeks ago)
    seems that this issue happens to a lot of people
    is google going head to head with Blackberry ? or is this just a bug ? 
    Message Edited by avolcoff on 08-27-2009 01:06 AM

    Welcme to the cmmunity supprt frums
    Nurse-Berry
    Follow NurseBerry08 on Twitter

  • Query filtering rows in the ViewObject but works fine when run in sql

    Hello,
    The below query returns 8 rows when run in SQL Plus but the same query when used in the viewobject, its only returning 4 rows. I tried in all possible ways but not sure what's happening.
    SELECT
    tt.assignment_number,
    tt.tab_name,
    tt.old_value,
    tt.new_value,
    tt.oracle_value
    FROM TestTable tt
    WHERE tt.ppa_id = :1
    AND ((:2 IS NULL) OR (:3 = tt.old_col))
    AND ((:4 IS NULL) OR (:5 = tt.new_col))
    Any suggestions are appreciated.
    Thanks
    --KK                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Try this
    OAViewObject OAViewB = (OAViewObject)OAAppl.findViewObject("DisplayDetailsVO");
    OAViewB.setWhereClauseParams(null);
    OAViewB.setWhereClauseParam(0,Integer.parseInt(Pid));
    OAViewB.setWhereClauseParam(1,Changes_Flag);
    OAViewB.setWhereClauseParam(2,Changes_Flag);
    OAViewB.setWhereClauseParam(3,Oracle_Flag);
    OAViewB.setWhereClauseParam(4,Oracle_Flag);
    OAViewB.setMaxFetchSize(-1);
    OAViewB.executeQuery();
    Thanks
    Shree

Maybe you are looking for

  • Using variable in another class

    Im currently writting a Quiz program and i want to pass the varible holding the users score from the class "All.java" to "Results.java". Any ideas how i can do this?

  • I all ready pay but do i have to pay again mountain lion for my second macbook pro

    do i have to pay again mountain lion for my second macbook pro

  • Solaris 8 x86 won't install

    Please for give my ignorance, I know nothing about unix. I am taking a course on Solaris fundementals in a couple of weeks and I am trying to get a jump on the class by having a working version by the time it starts. I just DL'd the CD images and bur

  • Mv confirmation (URGENT)

    hi all, someone moved critical files on a server by mistake to another directory with the mv command. i need to do something that whenever any user enters the rm or mv command, it should ALWAYS ask for confirmation. I have used alias rm="rm -i" for t

  • How to Get SOAPElement BOM in SOAPMessage for Sales Opportunities

    Hi experts, I'm newbie in using Java. I want to Update Sales Opportunities using SOAPMessage in Java. So far, this is my sample code: import javax.xml.namespace.QName; import javax.xml.soap.MessageFactory; import javax.xml.soap.SOAPBody; import javax