Program fails when execute two or more DSUnbind

Hello.
My program has five numeric controls which take data from a lookout server by datasocket. I link the controls with DSBindCtrl. The application runs correctly but when I try unlink these controls by DSUnbind to exit , it becames blocked and I must kill it by task manager whith control+Alt+Supr.  I tried whith DS_Open and DS_DiscardCtrl and the behaviour is the same.
Can anyone suggest anything?
Thanks.

Thanks fot you reply,
I try to create another "EXECUTE FORMULA" inside of package but i dont have access to reply that task, because when i was create a package i copy and paste from another package wich already exists on the "SYSTEM FILE" folder.
If i create a new "EXECUTE PACKAGE" task and try to add the same "expression"s  that "EXECUTE FORMULA" dont have the all of that only some.
What ii have to configured to execute a new "execute package" task?
About the scrip, i dont know what i have to change, maybe USERDIM1 who have to change the hardcording value is a "ACCOUNT" dim in my Destination App. Thats dimension, doesnt exists in my destination app, therefore i have to use *ADD_DIM and then *PUT, but i think doesnt work that way.
Any sugestion?
thanks in advance

Similar Messages

  • Export to Text failing when Report height is more than 23 inches

    I have a problem while exporting to Text, when report height is more than 23 inches. It's failing with "an unhandled exception occurred in crw32.exe [3856]"
    Both Crystal Reports 2008 and Crystal Reports XI Release 2 are failing. Export to PDF is working fine.
    I am trying to design a lengthy report and export to text.
    I searched in forum with out any results.
    It would be great, if some body can point me in right direction. Thank you.
    Regards,
    Raveendra

    Hi Raveendra
    To work around this error message, disable DEP by performing the following steps:
    1. Click Start > Settings > Control Panel.
    2. Double-click 'System'. The "System Properties" dialog box appears.
    3. Click the 'Advanced' tab.
    4. Click 'settings' under 'performance'.
    5. Click the 'Data Execution Prevention' tab
    6. Select 'Turn on DEP for all programs and services except those I select:'.
    7. Click 'Add'.
    8. Browse for the application CRW32.exe. This file is located in:
    C:\Program Files\Business Objects\Crystal Reports 12\
    9. Select CRW32.exe and click 'Apply'.
    10. Click 'OK' to close the 'System Properties' dialog box.
    11. Log on as an Administrator and start Crystal Reports.
    Now try to export report to the text format and observe the behavior.
    Regards
    Girish Bhosale

  • SXPG_COMMAND_EXECUTE failed when executing cleanuplogs in TR DB13

    Hi,
    I am getting SXPG_COMMAND_EXECUTE failed for BRCONNECT - Reason: x_error when executing cleanuplogs program in DB13. I have the correct DBHOSTNAME configured in profiles, my SAPXPG rfc  is pointing correctly to the database. Also I have the required authorizations to execute SAPXPG program.Could you pls let me know what is the cause of this error and steps to resolve it.
    Thanks,
    Clarence

    Hi Sharath
          Have you solved your problem? i have the same situation with you,  i am very appreciate it if you can reply me
    BS
    Jon

  • Process flow failes when executing a mapping by error ......

    hi all,
    When we executes a mapping through owb normally it works fine.
    But the same when executes throgh a process flow it get falies with the f/w error.
    *"Set based mode not supported ORA-06512"*
    The operating mode is "set based fali over to row based"
    In the mapping we are doing some transforamtion and putting the data in a flat file.
    Please help in this reagrd.
    Regards
    ashok

    Hi,
    change in processflow configuration property OPERATING_MODE for this mapping to ROW_BASED or ROW_BASED_TARGET_ONLY
    Hope this helps!

  • Error in the SoapRequest when executing WebServices with more thn 10 params

    I'm using Sun One Studio 5 Standard Edition to develop WebServices.
    I started noticing that whenever I have a WebService which receives more than 10 for example If it receives 25 parameters something happens with the Execute test tool and the value of the 1st Parameter is Overwritten with the value of the 13th parameter and the value of the 21st parameter overrides the value of the 2nd Parameter.
    If I use the HTTP Monitor I see that the values are posted correctly but when Sun One creates the Soap Request the values are overriden. Here's an example
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns0="urn:/WebServices/wsdl" env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><env:Body><ns0:add3>
    <int_1 xsi:type="xsd:int">13</int_1>
    <int_2 xsi:type="xsd:int">21</int_2>
    <int_3 xsi:type="xsd:int">3</int_3>
    <int_4 xsi:type="xsd:int">4</int_4>
    <int_5 xsi:type="xsd:int">5</int_5>
    <int_6 xsi:type="xsd:int">6</int_6>
    <int_7 xsi:type="xsd:int">7</int_7>
    <int_8 xsi:type="xsd:int">8</int_8>
    <int_9 xsi:type="xsd:int">9</int_9>
    <int_10 xsi:type="xsd:int">10</int_10>
    <int_11 xsi:type="xsd:int">11</int_11>
    <int_12 xsi:type="xsd:int">12</int_12>
    <int_13 xsi:type="xsd:int">13</int_13>
    <int_14 xsi:type="xsd:int">14</int_14>
    <int_15 xsi:type="xsd:int">15</int_15>
    <int_16 xsi:type="xsd:int">16</int_16>
    <int_17 xsi:type="xsd:int">17</int_17>
    <int_18 xsi:type="xsd:int">18</int_18>
    <int_19 xsi:type="xsd:int">19</int_19>
    <int_20 xsi:type="xsd:int">20</int_20>
    <int_21 xsi:type="xsd:int">21</int_21>
    <int_22 xsi:type="xsd:int">22</int_22>
    <int_23 xsi:type="xsd:int">23</int_23>
    <int_24 xsi:type="xsd:int">24</int_24>
    <int_25 xsi:type="xsd:int">25</int_25>
    </ns0:add3></env:Body></env:Envelope>
    Is that a known problem?

    This set of forums is related to C/C++/Fortran development.
    Please re-ask your question in the "Sun Java Studio Standard" forum under
    the "Java Tools" group of forums.
    Note: I realize that the names "Sun ONE Studio" and "Sun Studio" are almost
    exactly the same, and so there's no way to tell that one is a Java development
    environment, and the other is a "native" development environment.
    On behalf of Sun, I apologive for the confusing names, but the people who
    monitor the "Sun Java Studio" forums will be much better able to help you out.
    --chris

  • XMLQuery fails when executed as a job

    Hi all,
    I build a query that checks the data server connections, using the string
    server://XMII/Illuminator?Service=SystemInfo&Mode=Status&Content-Type=text/xml
    The query works fine by itself and executed in a BLS. However, when I schedule the BLS, NetWeaver Log shows an error:
    Error Processing XMLQuery A remote host refused an attempted connect operation
    ...ACTION FAILED: End Action XML_listConnectStatus : (XML Query)
    I tried to supply user and pw to the job, or pass it as parameter to the query, but the error remains. I also tried to use the "http...<server>:<port>" prefix instead of "server", but the error does not disappear. What is the difference when calling it from workbench or as a job?
    Michael

    Rick,
    that solved it.
    I used the following:
    - TAG query
    - Simulator as Data Server
    - save query without further settings
    - define a BLS with this TAG query
    - Link Mode=Status and Service=SystemInfo
    The result set is a XML which can be processed.
    Thanks and Merry Christmas.
    Michael

  • Fails when executing job called syspolicy_purge_history (SQL Server 2012)

    Hi friends i have the following  problem
    The job syspolicy_purge_history  of my database engine failed, specifically on the third step called "Erase Phantom System Health Records" that executes a powershell.  This is the sentence that executes (All job syspolicy_purge_history
    on any SQL 2012 has the same code):
    if ('$(ESCAPE_SQUOTE(INST))' -eq 'MSSQLSERVER') {$a = '\DEFAULT'} ELSE {$a = ''};
    (Get-Item SQLSERVER:\SQLPolicy\$(ESCAPE_NONE(SRVR))$a).EraseSystemHealthPhantomRecords()
    .  When i see the job history i get the following:
    Message
    Executed as user: NT Service\SQLSERVERAGENT. The job script encountered the following errors. These errors did not stop the script:  A job step received an error at line 1 in a PowerShell script. The corresponding line is 'import-module SQLPS  -DisableNameChecking'.
    Correct the script and reschedule the job. The error information returned by PowerShell is: 'The specified module 'SQLPS' was not loaded because no valid module file was found in any module directory.  '  A job step received an error at line 2 in
    a PowerShell script. The corresponding line is '(Get-Item SQLSERVER:\SQLPolicy\SRV01236$a).EraseSystemHealthPhantomRecords()'. Correct the script and reschedule the job. The error information returned by PowerShell is: 'Cannot find drive. A drive with the
    name 'SQLSERVER' does not exist.  '  A job step received an error at line 2 in a PowerShell script. The corresponding line is '(Get-Item SQLSERVER:\SQLPolicy\SRV01236$a).EraseSystemHealthPhantomRecords()'. Correct the script and reschedule the job.
    The error information returned by PowerShell is: 'You cannot call a method on a null-valued expression.  '.  Process Exit Code -1.  The step failed.
    Aditionally i tested putting the policies in powershell like unrestricted (like i see on a blog). but it didn't work.
    My SQL version is 2012 Standard SP1 X64
    Please help me with this
    Thanks for your help
    Greetings
    Aleds

    Thanks for your help princekumar8 and gona_david
    Hello Gona_david,  You are right, when i execute the powershell sentence Get-Module -ListAvailable
    the SQLPS module doesn't appear. 
    Look i have another SQL Server 2012 in another server, but this is patched on SP2 and the syspolicy_purge_history here runs OK.  Also when i execute the powershell, the SQLPS appears in the list.
    So, my question is: If i patch my server SQL Server 2012 with the error from SP1 to SP2, is Possible that the error will get away? In fact, Wouldn't be yet necessary runs the SQL install? 
    Basically what you recommend me in this case?
    Thanks in advance 
    Greetings 
    Aleds

  • 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

  • My mac has slow performance when running two or more applications, ran onyx and cleaned cache but my macbook is still running slow. Recommendations?

    I've had my MacBook White running on Mac OSx 10 for about 2 years. My sister has the same type of MacBook and she isn't having any slow performance. I really don't want to install RAM and that can't be the end all be all of solutions. Please help!!

    Kappy's Personal Suggestions for OS X Maintenance
    For disk repairs use Disk Utility.  For situations DU cannot handle the best third-party utilities are: Disk Warrior;  DW only fixes problems with the disk directory, but most disk problems are caused by directory corruption; Disk Warrior 4.x is now Intel Mac compatible. TechTool Pro provides additional repair options including file repair and recovery, system diagnostics, and disk defragmentation.  TechTool Pro 4.5.1 or higher are Intel Mac compatible;  Drive Genius is similar to TechTool Pro in terms of the various repair services provided.  Versions 1.5.1 or later are Intel Mac compatible.
    OS X performs certain maintenance functions that are scheduled to occur on a daily, weekly, or monthly period. The maintenance scripts run in the early AM only if the computer is turned on 24/7 (no sleep.) If this isn't the case, then an excellent solution is to download and install a shareware utility such as Macaroni, JAW PseudoAnacron, or Anacron that will automate the maintenance activity regardless of whether the computer is turned off or asleep.  Dependence upon third-party utilities to run the periodic maintenance scripts had been significantly reduced in Tiger and Leopard.  These utilities have limited or no functionality with Snow Leopard and should not be installed.
    OS X automatically defragments files less than 20 MBs in size, so unless you have a disk full of very large files there's little need for defragmenting the hard drive. As for virus protection there are few if any such animals affecting OS X. You can protect the computer easily using the freeware Open Source virus protection software ClamXAV. Personally I would avoid most commercial anti-virus software because of their potential for causing problems.
    I would also recommend downloading the shareware utility TinkerTool System that you can use for periodic maintenance such as removing old logfiles and archives, clearing caches, etc.  Other utilities are also available such as Onyx, Leopard Cache Cleaner, CockTail, and Xupport, for example.
    For emergency repairs install the freeware utility Applejack.  If you cannot start up in OS X, you may be able to start in single-user mode from which you can run Applejack to do a whole set of repair and maintenance routines from the commandline.  Note that AppleJack 1.5 is required for Leopard. AppleJack 1.6 is compatible with Snow Leopard.
    When you install any new system software or updates be sure to repair the hard drive and permissions beforehand. I also recommend booting into safe mode before doing system software updates.
    Get an external Firewire drive at least equal in size to the internal hard drive and make (and maintain) a bootable clone/backup. You can make a bootable clone using the Restore option of Disk Utility. You can also make and maintain clones with good backup software. My personal recommendations are (order is not significant):
    Backuplist
    Carbon Copy Cloner
    Data Backup
    Deja Vu
    iBackup
    JaBack
    Silver Keeper
    MimMac
    Retrospect
    Super Flexible File Synchronizer
    SuperDuper!
    Synchronize Pro! X
    SyncTwoFolders
    Synk Pro
    Synk Standard
    Tri-Backup
    Visit The XLab FAQs and read the FAQs on maintenance, optimization, virus protection, and backup and restore.
    Additional suggestions will be found in Mac Maintenance Quick Assist.
    Referenced software can be found at CNet Downloads or MacUpdate.

  • Teststand 4.1.1 Crashes when using two or more "run VI Asynchronously" at a time

    I am running a terminal window reading constantly from a serial port running in a different thread using "Run VI Asynchronously". 
    Towards the end of the test I open a separate VI in another thread also using "Run VI Asynchronously".  This VI constantly reads packets from the Ethernet.
    I am running the Sequence in the C++ User interface and for some reason every once in a while TestStand Crashes and in the dialog it it says
    "MFC Operator interface Example has encountered a problem and needs to close.  We are sorry for the inconvenience."
    Error signature:
    AppName: testexec.exe    AppVer: 4.1.1.55   ModName: msvcr80.dll
    Do any of you have any idea as to why this would do this?  Also what is the best way to open and close these threads?
    Any help would be greatly appreciated.
    Test Engineer
    L-3 Communications
    Solved!
    Go to Solution.

    In case 1 below you should definitely be using the sequence context of the new thread rather than the original thread. Using a subsequence (in a new thread) directly is a good idea for that use case.
    In case 2 are you dynamically/programmatically creating local variables in any of the threads or are you just setting/getting values? Setting and getting values is protected by the TestStand engine, but dynamically creating properties underneath Locals or other containers requires you to do your own thread synchronization (i.e. using locks) around such modifications and access.
    Also, in case 2 you are using locals from the original thread that creates the new thread right? Is that what you want? It would be safer to pass the actual local variables that you need in this case as parameters rather than passing the sequence context that belongs to a different thread. Also do you start and stop the asynchronous vi in the same subsequence in the same thread? Do you wait for the asynchronous VI to finish before exiting the subsequence?
    All that run VI Asynchronously does is create a temporary sequence and use the sequence call step to call it in a new thread, so doing that explicitly instead will give you more control over how the parameters are passed so it's probably worth making that change anyway. You might however need to be doing more than that to ensure thread safety depending on what parameters you are passing in and what the VIs and other code in the original thread is doing with them.
    Hope this helps,
    -Doug

  • Select from a linked server fails when executed as a join to database tables

    Hi
    I have been using the following TSQL to update a results table for several years it is currently running on SQL Express version 11.0.2100.60 (I have successfully run this on various versions and editions from 2005 onwards)
    select c.Race_id , r.Runner_id , i.Time_secs
      from CHAMPS INPUT]...Results I
      join  [dbo].[Race] c
      on rtrim(I.Race)COLLATE SQL_Latin1_General_CP1_CI_AS
      = rtrim(c.Race_name)COLLATE SQL_Latin1_General_CP1_CI_AS
      join  [dbo].[Runner] r
      on rtrim(I.[Name]) COLLATE SQL_Latin1_General_CP1_CI_AS
      = rtrim(r.First_Name)COLLATE SQL_Latin1_General_CP1_CI_AS + ' '
      + rtrim(r.Surname)COLLATE SQL_Latin1_General_CP1_CI_AS
     where i.Time_secs > 0
    This worked earlier today then with no obvious change stopped working
    No error is given but no rows are returned
    running select * from [CHAMPS INPUT]...Results where Time_secs > 0 returns the expected rows
    Any ideas where to look for the problem

    Erland thanks for your reply. I have resolved the issue, it was caused by an error in updating the joined race table. I was looking for a problem with the linked server and missing the obvious.
    Hi philpits,
    You can try to use SQL Profiler to capture some events while run your query.
    In addition, can you get expected result while run the query on remote server? Please also check your underlying tables.
    Regards,
    Elvis Long
    TechNet Community Support

  • R30RBE32.EXE failed when executing GDI.EXE. Rpts 5 runtime.

    One of my customers is getting the above error whenever they try
    starting a report. This had been working fine on their machine
    for about 6 months and suddenly this started. Many other
    clients are accessing these same files and not getting any
    errors...
    I tried reinstalling Forms 5.0 runtime without any luck. It
    starts accessing the server and client with activity like it is
    going to create the report, then this happens.
    Has anyone seen anything like this before?? Have any ideas
    whats causing it??
    Thanks,
    Jeff.
    null

    http://onesearch.sun.com/search/developers/index.jsp?charset=UTF-8&qt=%22EXCEPTION_FLT_STACK_CHECK%22&col=javadoc&col=devforums&col=javabugs&col=javatecharticles&col=javatutorials&col=devarchive&col=javasc&col=devall

  • Admin Task 2008 fails while executing from BIDS environment

    Hello,
    we developed a custom SSIS pcakge for automating master data load in BPC 7.5 MS.
    The packages works fine when running form Data Managaer.
    When executing the package from Business Intelligense development studio environement, only Admin Task 2008 with Create Dimension based on the SQL table option fails.
    The user id has full authrozation in BPC.
    Another information is that even this works fine when executing the package inside the server network.
    But fails when executing this by logging to application server remotely.
    Note that Run32bit property is already set to false.
    Error message it gives is : The Task Create Dimension Fails
    any expert thoughts are welcome.

    0x80070047 = "No more connections can be made to this remote computer at this time because there are already as many connections as the computer can accept."
    You must have some non-standard policy or restriction applied to the system hosting the share.
    Jason | http://blog.configmgrftw.com

  • Insufficient priv error when executing DBMS_ERRLOG through PLSQL

    Hi,
    I shall be grateful if any one of you give me the solution at the earliest.
    I have 2 schemas like A & B those are running on Oracle 10g rel2.
    As per my buz req' I need to create DML Error log table for 'A.T1' table in B schema using DBMS_ERRORLOG package.
    I have granted direct SELECT on A.T1 to B (...not through ROLE as it doesn't work in plsql)
    The problem is when i'm running the procedure,
    DBMS_ERRLOG.CREATE_ERROR_LOG('A.T1', 'err_T1', 'B');
    in SQL*Plus of B schema, it's creating the error log table successfully.
    But the same will get failed when i run this error log procedure with in a procedure owned by B schema.
    It throws 'ORA-01031: insufficient privileges'...
    I hope this is related to privilege issue which is working fine in SQL*Plus but NOT in PLSQL stored procedure.
    Awaiting your earliest reply.
    Thanks.
    - Ela

    >I dont think it's an issue with direct privilege. Actually the
    package is working when i execute it with in a ananymous block,
    but the same get fails when execute it through procedures...
    Role privs work with anonymous PL/SQL blocks. Does not work with stored PL/SQL code.
    SQL> create user user1 identified by user1 default tablespace users quota 2M on users;
    User created.
    SQL> grant create session to user1;
    Grant succeeded.
    SQL> create role user1_role;
    Role created.
    SQL> grant create table, create procedure to user1_role;
    Grant succeeded.
    SQL> grant user1_role to user1;
    Grant succeeded.
    SQL> connect user1/user1
    Connected.
    PL/SQL procedure successfully completed.
    SQL> create table x( n number );
    Table created.
    SQL> begin
    2 execute immediate 'create table y( n number )';
    3* end;
    SQL> /
    PL/SQL procedure successfully completed.
    SQL> create or replace procedure CreateTable is
    2 begin
    3 execute immediate 'create table z( n number )';
    4* end;
    SQL> /
    Procedure created.
    SQL> exec CreateTable
    BEGIN CreateTable; END;
    ERROR at line 1:
    ORA-01031: insufficient privileges
    ORA-06512: at "USER1.CREATETABLE", line 3
    ORA-06512: at line 1
    SQL>

  • Insufficient privilege error when executing DBMS_ERRLOG through PLSQL

    Hi,
    I shall be grateful if any one of you give me the solution at the earliest.
    I have 2 schemas like A & B those are running on Oracle 10g rel2.
    As per my buz req' I need to create DML Error log table for 'A.T1' table in B schema using DBMS_ERRORLOG package.
    I have granted direct SELECT on A.T1 to B (...not through ROLE as it doesn't work in plsql)
    The problem is when i'm running the procedure,
    DBMS_ERRLOG.CREATE_ERROR_LOG('A.T1', 'err_T1', 'B');
    in SQL*Plus of B schema, it's creating the error log table successfully.
    But the same will get failed when i run this error log procedure with in a procedure owned by B schema.
    It throws 'ORA-01031: insufficient privileges'...
    I hope this is related to privilege issue which is working fine in SQL*Plus but NOT in PLSQL stored procedure.
    Awaiting your earliest reply.
    Thanks.
    - Ela

    Hi,
    It's not an issue with direct privilege. Actually the package is working when i execute it with in a ananymous block, but the same get fails when execute it through procedures...
    Even we have given COMMENT ANY TABLE priv to the schema and that too didn't work out.
    awaiting your reply.
    -Saravanan

Maybe you are looking for