SSIS Catalog views are not executing from PROC calling from a service broker

Hi Exprets,
I have a package deployed on SSISDB (the new concept in MS SQL 2012, SSIS catalogs). I have t-sql code in which i will be able to execute SSIS package in SSISDB with no problems. But if i place the same t-sql code inside of a procedure which will be called
by a service broker , the code is not executing.
I am using the following code to execute a package in the SSISDB catalog
Declare @execution_id bigint
EXEC [SSISDB].[catalog].[create_execution] @package_name=N'LoadToABC.dtsx',
@execution_id=@execution_id OUTPUT, @folder_name=N'ABC', @project_name=N'LoadToABC',
@use32bitruntime=False, @reference_id=Null
DECLARE @var0 NVARCHAR(200)
= N'D:\MyData\SampleText20120830100001.txt'
EXEC [SSISDB].[catalog].[set_execution_parameter_value] @execution_id, @object_type=30,
@parameter_name=N'strFileName', @parameter_value=@var0
EXEC [SSISDB].[catalog].[start_execution] @execution_id
This code executes if run it alone or placed in a regular stored procedure , but not executes if i palce this same code inside of a procedure which is being called/executed by a service broker call like this:
CREATE QUEUE dbo.SampleQueue
WITH STATUS=ON, ACTIVATION
(STATUS = ON, MAX_QUEUE_READERS
= 1,
PROCEDURE_NAME = spMessageProcSample,  
EXECUTE AS OWNER);
The problem occurs if we call the SSIS catalogs inside a proc which will be calling through a service broker queue.
I am running all these steps on my local instance of SQL SERVER 2012 in which i am the administrator.
Please advice where i am doing wrong ?
Thanks,
Jyodhu.

Hi ArthurZ,
Thanks for reply. What i ment was i tried with all the "EXECUTE AS" options. but no luck.
Can you please explain step by step if you can ? That would be great help.
This is the error message from server log.
Message
The activated proc '[dbo].[spMessageProcSample]' running on queue 'FileTableDB.dbo.SampleQueue' output the following:  'The server principal "USA\cccsat1nmg" is not able to access the database "SSISDB" under the current security context.'
I logged in with WIndows authentication (Admin) and i created all the objects including Integration services Catalog.
Thanks,
Jyodhu.

Similar Messages

  • BPM worklist app views are not visible in IPM task viewer

    Hi,
    we upgraded our system from 11.1.1.3.0 to
    weblogic 10.3.5.0
    SOA 11.1.1.5.0 with BPEL processes
    ECM with IPM and UCM 11.1.1.5.0
    after upgrade i have problem with profiles in IPM task viewer page. Views are created in BPM worklistapp and all users can see tasks assigned to them there. But those views are not visible in IPM task viewer page (i tried it using driver page). Because of missing profiles/views users can't see and process tasks assigned to them. In log files isn't raised any error message.
    Everything was working before upgrade. Can someone help me with this? What can i have wrong there?
    Thanks a lot in advance for any help
    Edited by: 914063 on Jun 20, 2012 12:56 PM
    Edited by: 914063 on Jun 20, 2012 12:57 PM

    Hi Renuka,
    There are basically two ways to create an ADF UI for a BPM Task:
    1. Generate it from the task
    2. Create a ADF Taskflow based on Human Workflow Task
    Since I tell this by heart, I might be slightly wrong in the terms.
    You probably want to try the second option. It is accessible from the "New Gallery". You'll have to provide the Human Task from the BPM project, but then you can build up the ADF Taskflow by your self, based on the customizations of the rest of your application.
    Should not be rocket science for someone with ADF11g experience. Since it is not my dayly job, I need to figure it out every time again ;). But I did it in the past and it wasn't so hard.
    Regards,
    Martien

  • Catalog objects are not found sometimes.

    Sometimes we hit an error that our catalog objects are not found. We find that the relevant column views in the schema _SYS_BIC are missing. So it should be the root cause. But we don't know why these views are removed.  Could you give us some explanation?
    Thanks,
    Li

    Hi Li,
    I think maybe they are deleted by someone manually.
    BR,
    Phoebe

  • Scripts are not executing

    Hi,
    we have scheduled scripts through crontab,but from few days these scripts are not executing,there is no problem with time entries in crontab because some of them are executing correctly,what can be possible reasons for the cronjobs to not to execute.we are using sun solaris sparc 64 bit.oracle 10.1.0.4

    I can't say without knowing what the script does. Maybe somebody changed the permissions on another directory that script needs, or maybe another file it needs is no longer available, or ???
    Just suggesting a troubleshooting step. If you can run the script in a similar setup then you can eliminate the script as a likely problem. I didn't see anything on the crontab entry that looked to be a problem.
    PS: "will the date change with the execution of cronjob or it remains the same."
    No, the date on the cron daemon will stay the same. It just wakes up once a minute to check for things to do and kicks them off, it never restarts.

  • Af:commandMenuItem action and actionListener are not executing

    Hello all!
    I use JDeveloper Studio Edition Version 11.1.1.2.0. Here's the problem. I have a popup menu like this
    <af:popup id="someMenu" animate="default">
    <af:menu id="pt_m1">
    <af:forEach var="item" items="#{ContextMenuHelperBean.availableUserRoles}">
    <af:commandMenuItem text="#{item.roleName}"
    action="#{ContextMenuHelperBean.changeUserRole_Action}"
    actionListener="#{ContextMenuHelperBean.changeUserRole_ActionListener}"
    immediate="true"
    partialSubmit="false"
    id="pt_cmi1" rendered="true">
    <f:attribute name="userRole" value="#{item}"/>
    </af:commandMenuItem>
    </af:forEach>
    </af:menu>
    </af:popup>
    The problem is that action and actionListener are not executing, when the menu item is selected (but the page is reloaded with no changes). ContextMenuHelperBean has a "session" scope set in adfc-config.xml. What can be wrong with this?

    Now I've encountered a new kind of error. I create a menu in a managed bean like this:
    In JSPX
    <f:view beforePhase="#{RolesMenuSupportBean.createMenus}">
    <af:popup id="cxtMenu" animate="default">
                            <af:menu id="pt_m1"
                                     binding="#{RolesMenuSupportBean.rolesMenu}">
                            </af:menu>
                          </af:popup>In com\cs\webb2\view\utils\menu\RolesMenuSupport.java
        public void createMenus(PhaseEvent phaseEvent) {                       
            List<IUserRole> rolesList = getAvailableUserRoles();
            for (IUserRole role: rolesList) {           
                Boolean hasItem = false;           
                for (Iterator iter = rolesMenu.getChildren().iterator(); iter.hasNext(); ) {
                    RichCommandMenuItem item = (RichCommandMenuItem) iter.next();
                    if (!hasItem)
                        hasItem = item.getText().equalsIgnoreCase(role.getRoleName());
                if (!hasItem) {
                    RichCommandMenuItem newItem = new RichCommandMenuItem();                                                       
                    newItem.getAttributes().put("userRole", role);
                    newItem.setText(role.getRoleName());
                    newItem.setId(ITEM_ID);               
                    newItem.setActionExpression(getActionExpression("#{RolesMenuSupportBean.changeUserRole_Action}"));                           
                    newItem.addActionListener(getExpressionActionListener("#{RolesMenuSupportBean.changeUserRole_ActionListener}"));                               
                    rolesMenu.getChildren().add(newItem);  
        } The menu is created successfully, but when I click on any item, I get an exception
    <b>javax.servlet.ServletException: Method not found: com.cs.webb2.view.utils.menu.RolesMenuSupport@d4702.changeUserRole_Action(void)</b>
    But of course I have such a method in my com.cs.webb2.view.utils.menu.RolesMenuSupport:
    In com\cs\webb2\view\utils\menu\RolesMenuSupport.java
        public String changeUserRole_Action()
            System.out.println("Action!");
            // no code yet
            return "adfMenu_Main";
        }And there <b>is</b> a managed bean named RolesMenuSupportBean, which is associated with class com.cs.webb2.view.utils.menu.RolesMenuSupport.
    Can anyone tell me, what can be wrong?

  • HT5181 iPhoto for iOS: Photos in iphoto's Camera Roll folder are not updated automatically with edits from other programs

    How can I solve the problem în the subject?

    How can I solve the problem în the subject?
    What exactly are you trying to do?
    Have you been editing photos in iPhoto and want to add them to your camera rool or photo stream?
    Then do exactly as the article describes, that you lonked to:
    iPhoto for iOS: Photos in Camera Roll are not updated automatically with edits from iPhoto
    Use iPhoto's Sharing to save a copy of the edited photo to the Caera Roll, or explain on mor e detail, what you want to do.
    Regards
    Léonie

  • Views are not being updated

    Hello All,
    I am a newbie to oracle dB.
    I have an old VB6 application code that used to "talk" with Oracle dB (version 10g). The 2 machines used to be connected using the Microsoft ODBC for Oracle driver ("Provider=MSDASQL.1"). It used to run fine and all the dB's Views were updated automatically. We recently updated our Oracle to 11g running on Windows2008 r2 64bit machine. We are no longer using the Microsoft ODBC driver but the Oracle client (OraClient11g home1). The VB6 application seems to work OK, see all the records and all BUT, I noticed that all our Views are not being updated automatically anymore. I was wondering if any of you have any idea as to why this is happening and what should I do? I can always go back to the code and force the update on the all the Views but, I was hoping for a quick connection settings tweak if existed.
    Thanks
    g

    837748 wrote:
    Hello All,
    I am a newbie to oracle dB.
    I have an old VB6 application code that used to "talk" with Oracle dB (version 10g). The 2 machines used to be connected using the Microsoft ODBC for Oracle driver ("Provider=MSDASQL.1"). It used to run fine and all the dB's Views were updated automatically. We recently updated our Oracle to 11g running on Windows2008 r2 64bit machine. We are no longer using the Microsoft ODBC driver but the Oracle client (OraClient11g home1). The VB6 application seems to work OK, see all the records and all BUT, I noticed that all our Views are not being updated automatically anymore. I was wondering if any of you have any idea as to why this is happening and what should I do? I can always go back to the code and force the update on the all the Views but, I was hoping for a quick connection settings tweak if existed.
    Thanks
    gWhat evidence do you have that views are not being 'updated'? Are you talking about materialized views? A normal view has nothing to 'update'. A view contains no data. It is nothing but a pre-defined query.

  • Users are not able to create POs from PRs having Production Order (F)

    Hi Gurus
    Users are not able to create POs from PRs having Production Order (F) as creation indicator.
    Whenever we are trying to convert the PR to PO we are getting the error message "Requisition has different doc. type NB and item cat. >&<" based on the below OSS# 938154 condition for the creation indicator type F.
    Would you please investigate and advise what OSS notes are required to be able to use item category L (subcontracting) on a PO for a requisition generated from a network activity via Procurement Type = "Preliminary requisition for WBS element".
    Thanks,
    Sada.

    Hi Ajay & Andra
    Whenever we are trying to convert the PR to PO we are getting the error message "Requisition has different doc. type NB and item cat. >&<" based on the below OSS# 938154 condition for the creation indicator type  Production order (F).
    Our Business requirement as shown below.
    1).The problem - we currently have no way to "direct requisition" an item to be procured via      subcontracting - only itu2019s possible via MRP.
    2).These behaviors are inconsistent as the requisition process should not impact the procurement process.  Can we find a way to influence the creation indicator on the requisition so that it does not appear as a production order?
    Please suggest any alternate method for achieving this.
    Thanks & Regards
    Sada

  • Not able to make call from Mobile(android)

    Hi,
    I am not able to make call from mobile device , i was using this till 18th Feb and after that i cannot make calls. I am using Express VPN to use skype and i checked the express VPN and it is working fine. I can make calls from my PC and laptop using express VPN. Please let me know what could be the issue , i have taken calling India subscription. I am using samsung galaxy s4 mobile and i tried in galaxy s2 also, both are not working. Please do the needful ASAP.

    Since last Tuesday a new update for Skype is available, version 4.7. You can download the latest update for Skype for Android in the Play Store. 
    With Skype 4.7 for Android, we are introducing aggressive battery savings that will allow to leave Skype running without noticeably affecting battery life. 
    This version also includes the following fixes:
    Workaround for the KitKat bug which caused a runaway process when the camera was synced in the background.
    Fix for audio and video calling on tablets that do not have Bluetooth.
    Now lists your Windows Live Messenger contacts in the Skype (default) view, not just the All contacts view.
    Could you please verify if this version solves the issue you are encountering? Please share your feedback.

  • In SharePoinr 2013. Unsupported Reporting Services Functionality The feature: "Power View" is not supported in this edition of Reporting Services.

    Hi,
    I am getting the below error which click "Create Power View Report" option in "Power Pivot Gallery"
    Unsupported Reporting Services Functionality
    The feature: "Power View" is not supported in this edition of Reporting Services.
    I have uploaded "Power Pivot" excel file in "Power Pivot Gallery".
    It is frustrating like anything. Can anyone help on it.
    SharePoint 2013. SQL Server 2012. I have enable all the service applications success in CA.
    Thanks in Advance.
    Poomani Sankaran

    Hi,
    Please try to download the SP1 Edition of the rsSharePoint.msi
    file and install it. You have to install the SP1 edition of RS if you are using SP 2013.
    Here is a similar thread for your reference:
    http://social.technet.microsoft.com/Forums/en-US/2d2ecfae-b524-43f3-bf93-0bddfe904b75/the-feature-power-view-is-not-supported-in-this-edition-of-reporting-services?forum=sharepointadmin
    Best Regards
    Dennis Guo
    TechNet Community Support

  • Reg : "Error multiple Receivers are not allowed for Synchronous calls"

    Hi All,
    Can somebody tell me why I am getting this error "Error multiple Receivers are not allowed for Synchronous calls" when I am using Synchronous Soap Request to WebService and the response from webservice is being sent to multiple receivers which are Business services based on Receiver determination condition(Services W/o Party).

    Hi , If you are simply looking up data (and not updating tables ) using RFC you can use RFC Lookup APIs to create a java mapping
    The source message has to be a RFC request message interface and target should be RFC response message interface.
    Also you can use three step mappings in a single interface mapping.
    1. from your request message to RFC request message mapping
    2. java mapping which will do the lookup and give you rfc response back
    3.rfc response to your target response mapping.
    PS: RFC lookup can be used if there are not may hierarchy in the RFC Response structure. (i.e. may be 3 or 4 level nesting permitted)
    To help you further
    The following is a link which gives you access to a ready made source code. you just need to compile it and create a jar and import the mapping in imported archive
    http://knowhowsapxi.synthasite.com/rfc-loolup.php
    Edited by: Progirl Progirl on Oct 31, 2008 1:33 PM

  • DACP commands are not working on Ipv6 enabled Airplay ITune service on MAC book.

    DACP commands are not working on Ipv6 enabled Airplay ITune service on MAC book.
    As we have gone through the source code(Airplay
    Audio POSIX receiver v190.9.p6) in dnssd_clientshim.c file and in API DNSServiceGetAddrInfoResponse has provided the implementation for ipv4 only.
    The test setup to test the DACP over IPV6 is by disabling the IPV4
    from MAC book and only enabling the Ipv6 .
    We are not sure if the test procedure is correct, please clarify the same.

    Hi,
    It is because of the license. In WS-C3750X-48P-L, you have a LANBASE license whereas in WS-C3750X-24P-S you have an IPSERVICES license.
    FDR_SW#show  version 
    Cisco IOS Software, C3750E Software (C3750E-UNIVERSALK9-M), Version 12.2(55)SE5, RELEASE SOFTWARE (fc1)
    License Level: lanbase
    License Type: Permanent
    Next reload license Level: lanbase
    In a LANBASE license, ip routing and ip multicast commands are not supported.
    Hope  this helps.
    Thanks,
    Arun

  • Not able to get calls from landlines in my E51

    All of a sudden I am not able to recieve calls from landlines, the caller gets long ring or proper ring tone giving impression that I am not picking up

    I had in addition to incoming calls from landline I had other unique issues
    1. Mobile use to get reset every time when I try accessing to internet
    2. I was not able to upgrade the sw since it use to get reset and use to get repeated message to re initiate
    Finally I rest the phone to factory setting and
    every problem got resolved and my phone is back to life as it was when I bought it

  • "The feature Power View is not supported in this edition of Reporting Services" after installation of November CU for SharePoint

    We had deployed Reporting Services / PowerPivot /Powerview for a customer and everything was tested and appeared to be working fine . However after installing the November CU we now get the following error :
    "The feature Power View is not supported in this edition of Reporting Services"
    Initially PowerPivot wasn't working either but that got resolved after re-installing the rssharepoint and sppowerpivot msi files. Has anyone faced this issue?

    Hi,
    According to your description, my understanding is that the PowerView not work after installing the November CU Updates.
    I check the November CU updates, it have no affects on the PowerView or PowerPivot.
    The reason for this issue may occur when the PowerPivot Service Application is not running after installing the CU updates.
    Here is a detailed article for your reference:
    http://support2.microsoft.com/default.aspx?scid=kb;EN-US;2889944
    Best Regards
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Jerry Guo
    TechNet Community Support

  • I bought the apple iphone 4G J-5 from Laos and now want to use it in India using the normal Airtel SIM but am not able to make calls from the phone pla. help

    I bought the apple iphone 4G J-5 from Laos and now want to use it in India using the normal Airtel SIM but am not able to make calls from the phone plz. help

    Is this what you have? (see above?) That's what I get when I search for iPhone 4G J-5 in Google.
    If so, this is NOT an iPhone! It is NOT made or sold by Apple. You have a cheap Chinese knockoff.

Maybe you are looking for

  • Error message when trying to open Captivate 5

    I have just installed Captivate 5 for the second time and continue to get the error message "Captivate has encountered a problem and needs to close..." I'm running it on Windows XP. Not sure what to try here. I am completely new to Captivate so would

  • ++++Xbox 360 to Imac driving me nuts+++

    Hi everyone, New to all this networking stuff really so would love some advice from anyone out there. I currently have my Imac G5 connected via ethernet to my cable modem, this works fine. I also have an Xbox 360 with the wireless adapter. What I wou

  • Problem in saving the outline.

    Hi i'm running with a problem. i have deleted the members of a dimension in my outline and now i'm loading it again by build files. when i am trying to save my outline it displays "Unable to complete reading from outline. Out of memory". can anyone t

  • Function module/BAPI or standerd program to define Transport route

    Hi All, I am configuring the TMS configuration through ABAP program . I am able to configure Domain controller, and able add system to it. Now I am not able to define Transport route, Can anybody tell me how can I achive this?  Is there any function

  • IPhoto:How to update to use the DR API instead????

    Ahoy. While trying to figure out why safari keeps quitting on me, I found an answer to someone else, who was told to go into logs and I was floowing along, but I guess they are ahead of tiger- anwyay I did find this, and wonder, can I do as it sugges