Change project protection level with dtutil (or other cmd)

Hi - 
After exporting a project from SSISDB (using catalog.get_project), the project and packages have protection level "ServerStorage". However, I am unable to execute a package (using dtexec) when it has this protection level. I need to change it to
something else - programatically. 
I can use dtutil to change protection level of the packages and that is well-documented - but how do I change the protection level of the project with dtutil? (or another cmd shell executable). Project and packages need same protection level or it won't
compile - that's why I need to change the project as well.
Thank you,
Anders

Hi Arthur,
Thank you for the response. 
I run it outside SSISDB with dtexec.exe. It doesn't need to be in the catalog in order to run it. 
EXEC master.dbo.xp_cmdshell 'dtexec.exe /Project "D:\Run\TheProject.ispac" /Package "ThePackage.dtsx"'
It is not enough to change protection level on the packages - the project also needs to change protection level. The ISPAC file has the @Project.manifest file which defines the project, including protection level, and it has to be the same as the packages
in order to run the package in the project.
So the question remains: How can I change the protection level of the project programatically? (not the packages, - those I can change with dtutil). 
Thanks,
Anders

Similar Messages

  • Changing project protection doesn't change package protection

    I'm struggling with the concept of package protection. 
    I'm using datatools bids 2012 and security defaults to encryptwithuserkey.
    When I change this to don't save sensitive, or even to use a password, it can't build because the package doesn't match.  So some googling found the article on changing package levels using dtutil, which then seems to corrupt the dtsx file and the project
    can't load any longer. 
    What am I missing?
    Ideally I don't want it to save sensitive info at all as I'll be handing this off to an operations team.
    I've done this before with 2008r2 but I was able to simply change the property and be done with it.
    EDIT: specifically this is the error when I try to build:
    Error    1    Project consistency check failed. The following inconsistencies were detected:     filename.dtsx has a different ProtectionLevel than the project.         0  
     0    
    changing this back to encryptwithuserkey allows me to build, but obviously isn't acceptable with team environment.

    Hi Nathanferguson,
    Glad to hear that you have resolved the issue by yourself. In Project Deployment Model in SSIS 2012, you're right that we need to change the protection level for each package manually after we change the protection level of the IS project, so as to
    sync the protection level settings before the deployment.
    Regards,
    Mike Yin
    If you have any feedback on our support, please click
    here
    Mike Yin
    TechNet Community Support

  • Exporting a project with multiple audio tracks changes the loudness level regardless of export format

    I recently had to submit a TVC and discovered that premiere was changing the loudness level after export, when the TVC failed the quality check.
    I checked the audio loudness of other formats that I had exported and the same thing had happened the audio loudness, it had changed.
    After a bit of troubleshooting I found a workaround. I mixdown all of the tracks in adobe audtion to one track and then imported it into premeire.
    Once I did this the audio loudness was not changed after exporting.
    Workflow for when it didn't work.
    I used edit in adobe audtion for the audio tracks from premiere.
    Matched the audio to the loudness level I wanted, and then saved each track.
    Export from premiere.
    To Check Audio Loudness
    Bring in exported file into new premiere project
    Edit the audio in adobe audtion.
    Drag the audio file into match audio to check loudness level.
    I am using
    Adobe Premiere Pro CC v8.1
    Windows 7 on PC
    Please fix this adobe.

    I recently had to submit a TVC and discovered that premiere was changing the loudness level after export, when the TVC failed the quality check.
    I checked the audio loudness of other formats that I had exported and the same thing had happened the audio loudness, it had changed.
    I have never experienced that or had any need for a work around.
    What did your Broadcast Quality Control pick up on?
    Audio Levels and Loudness are two different things in this regard.

  • Executing a SQL 2012 SSIS project with DTExec using Protection Level "EncryptAllWithPassword"

    I'm trying to execute a very basic SQL 2012 Project that only has 1 single package that contains a simply email task.
    The project will run fine from command line using basic syntax.
    dtexec /project  "F:\SSIS\Projects\project1\bin\Project 1 Configuration\project1.ispac" /package "Main.dtsx"
    Once I add the protection level of EncryptAllWithPassword to the project and the package things suddenly stop working. New command line syntax is.
    dtexec /project  "F:\SSIS\Projects\project1\bin\Project 1 Configuration\project1.ispac" /package "Main.dtsx" /P "Password"
    I get the following output.
    Microsoft (R) SQL Server Execute Package Utility
    Version 11.0.2100.60 for 64-bit
    Copyright (C) Microsoft Corporation. All rights reserved.
    Started:  5:14:49 PM
    Could not load project "F:\SSIS\Projects\project1\bin\Project 1 Configuration\project1.ispac" because of error 0x80131500.
    Description: The encrypted data in project manifest failed to load. The project
    manifest is corrupted or if the project is password protected, the specified password is incorrect.
    Source: Microsoft.SqlServer.ManagedDTS
    Started:  5:14:49 PM
    Finished: 5:14:49 PM
    Elapsed:  0.078 seconds
    I'm confident my passwords are entered correctly in the two spots. Is there something I'm missing in my command line to use protection levels correctly. I have also built the project and deployed to SSISDB.
    Thank you

    Add the PassWord attribute as  :
    dtexec /project  "F:\SSIS\Projects\project1\bin\Project
    1 Configuration\project1.ispac" /package "Main.dtsx" /P "YourPassWord"
    For more info :
    http://technet.microsoft.com/en-us/library/ms138023(v=sql.105).aspx

  • How to process Fisacl year change for Investment Management with Project?

    How to process Fisacl year change for Investment Management with Project as measure

    hi
    check this menu path
    Accounting  --> Investment Management  --> Programs  --> Periodic Processing  --> Fiscal Year Change

  • BUG: Changing "alpha" with AS breaks other property changes on timeline

    I've discovered a bug in AS3 where a Movie Clip that spans 2 different frames, but its properties are different in each frame (i.e. it has been repositioned on the 2nd frame but the instance name is the same), and the MC's alpha is changed using ActionScript prior to moving the timeline from one frame to the other, the timeline moves, but the MC does NOT actually move.
    I'm experiencing this error in a professional project that I'm working on so I cannot post the actual FLA, but here is a little mock up that I made:
    stop()
    currentFrameTxt.text = currentLabel
    var alphaChange:Number = .1
    var alphaMax:Number = 1
    var alphaMin:Number = 0
    alphaUpBtn.addEventListener(MouseEvent.CLICK, alphaUp)
    function alphaUp(evt:MouseEvent) {
        box.alpha += alphaChange
        if (box.alpha > alphaMax) {
            box.alpha = alphaMax
    alphaDownBtn.addEventListener(MouseEvent.CLICK, alphaDown)
    function alphaDown(evt:MouseEvent) {
        box.alpha -= alphaChange
        if (box.alpha < alphaMin) {
            box.alpha = alphaMin
    leftBtn.addEventListener(MouseEvent.CLICK, gotoLeft)
    function gotoLeft(evt:MouseEvent) {
        if (currentLabel != "left") {
            gotoAndStop("left")
        currentFrameTxt.text = currentLabel
    rightBtn.addEventListener(MouseEvent.CLICK, gotoRight)
    function gotoRight(evt:MouseEvent) {
        if (currentLabel != "right") {
            gotoAndStop("right")
        currentFrameTxt.text = currentLabel
    On Frame 1 (labeled "left") is an MC with the instance name "box" and the box's position is on the left side of the stage. On Frame 11 (labeled "right") is the same instance "box", but its position has been moved to the right side of the stage.
    I have a pair of buttons ('leftBtn" and "rightBtn") that toggle the timeline between the "left" frame and the "right" frame.
    I also have a pair of buttons ("alphaUpBtn" and "alphaDownBtn") that change the box's "alpha" property.
    If you click "leftBtn" or "rightBtn" before you click the "alphaUp" or "alphaDown" buttons, the box moves left or right as one would expect. BUT if you click either "alphaUpBtn" or "alphaDownBtn", the box does NOT move if you then click "leftBtn" or "rightBtn" even though the timeline is indeed moving (which I am confirming using the "currentFrameTxt" dynamic text box).
    I have tried this example by changing other properties on the 2 frames and they too stop working once you change the "alpha" using AS. I have also tried change other propeties using AS, but alpha is the only property to breaks the other properties changed by moving the timeline.
    Why would changing the "alpha" property suddenly break all other property changes on the timeline?
    Now I know that one work-around for this bug is to simply change the box's position dynamically by setting the x and y positions, but this is NOT an option for this project because it is very important that the client be able to manually position the artwork on each frame by hand.
    This is a serious bug and I'm wondering if anyone else has encountered it before and if they know of a viable workaround.

    I did some more testing by changing other properties of the box with AS and it appears that for most properties, like alpha, x, y, rotation, width, height, etc, if they are changed with AS, then the properties of the MC can no longer be changed by the timeline settings. Changing the "visible" property has no effect, however.
    It seems that this "bug" is not really bug so much as it is a fundamental misunderstanding on my part about the fact that you CANNOT change the properties of a symbol using BOTH ActionScript and timeline properties. I can only change the properties of using either the timeline OR ActionScript because as soon as I change the properties using AS, the MC becomes an AS-controlled object and can no longer be controlled via the timeline. I guess that makes sense, but it is frustrating nonetheless.
    Colin, your suggestion to nest the MC inside another MC is indeed a successful workaround, at least for this little box example (see fixed FLA attached with the "left" and "right" timeline property changes nested inside the box itself) and I will see if it is a viable solution for my actual application. I'm guessing it will not be a problem for my client to simply navigate inside a parent MC in order to adjust the positions of the now-nested MC in question.
    Thanks for the help.

  • The password for the account "account name" was not changed. Your system administrator may not allow you to change your password or there was some other problem with your password. Contact your system administrator for help.

    I have a user who's Active Directory password is going to expire. I had her reset her password by going to apple > system prefs > user > and clicking change password. She received the error "The password for the account "account name" was not changed. Your system administrator may not allow you to change your password or there was some other problem with your password. Contact your system administrator for help."
    I had her change her password via the kpasswd command in terminal and that changed her password on the server sucessfully however the laptop has FileVault on it. Filevault is not recognizing the new password just the old password.
    I have deleted the keychain which didn't resolve and now I am going to decrypt and reencrypt the drive. I'm hoping this is an isolated issue I have over 25 laptops configured like this.

    I "think" the trick was unbinding and rebinding the computer account.
    After unencrypting and trying to reencrypt Filevault would still not take the new password.
    Rebooted the prompt to update the keychain appeared. Updated the keychain. Filevault would still not take the new password.
    Unbinded and rebinded the computer account. It worked and let me add the user to filevault.

  • HT1549 I don't want other computers connect with my computer, I don't want sharing my macbook pro, so how I can protect my computer and avoid other people connect with my computers

    I don't want other computers connect with my computer, I don't want sharing my macbook pro, so how I can protect my computer and avoid other people connect with my computers

    As long as you do not enable Sharing of any kind (System Preferences > Sharing) no other computer can connect with yours. Also make sure you have your wireless network protected with a WPA2 password.
    That's all I can suggest without knowing what OS version you are running (you are not running iOS as that is for iDevices).

  • HT4509 The globe button swaps places with the 123 button on iPhone 6 when the phone orientation is changed from upright to landscape or the other way arround. This is very confusing and makes it hard to type fast.

    The globe button swaps places with the 123 button on iPhone 6 when the phone orientation is changed from upright to landscape or the other way arround. This is very confusing and makes it hard to type fast.
    Is there a way to change that?

    iOS 8.1 didn't fix this

  • HT5624 If I change my Apple ID pass word would other devices using my ID for iMessage or face time still be able to receive messages or FaceTime with my id

    if I change my Apple ID pass word can other devices using my id continue too use it for face time or iMessage with out updating the new pass work

    Thank you for the response, but I ended up temporarily resetting my Apple ID... It was a pain, but it worked in the end.

  • How to use MS Project in conjunction with a time-tracker tool

    In my new job, the company is using a time-tracking tool in a very strict way.
    Allow me to explain...
    Let's say the project has two phases: Ph1 and Ph2.
    Ph1 starts on day 1 and effort is 5 days.
    Ph2 starts after Ph1 and effort is 10 days.
    There are 3 resources available, R1, R2 and R3, and after a careful estimate of skills and avilability it has been decided the following:
    - Ph1 is assigned to R1 from day 1 to day 5, resulting in a duration for Ph1 of 5 days.
    - Ph2 is assigned to...
    ...R2 from day 6 to day 10
    ...R3 from day 8 to day 12
    resulting in a duration of 7 days.
    The above is mapped into the time-tracking tool to allow each resource to track time against Ph1 or Ph2 only in the aplanned timeframe. That is: R3 will be able to track
    hous aganst Ph2 only from day 8 and only till day 12. That is to avoid that resources track more time that what was originally allocated: if this is necessary, it must be explained why, a new plan must be calculated and more budget must be allocated. When
    the ok is given, the tasks in the time-racking tool will be changed accordingly.
    If the above situation is clear, my question is: how would you model this in MS Project?
    If the WBS in MSP is simply
    1. Project X
    1.1 Ph1
    1.2. Ph2
    when allocating R2 and R3 to Ph2, how can I specify that R2 will work only from day 6 to 10 and R3 from day 8 to 12?
    At the moment the only clean solution I found is to go into the task usage view and adjust, for each day, the working hours of each resource assigned to the activity.
    A second less clean solution is to have a WBS like follows
    1. Project X
    1.1 Ph1
    1.2. Ph2
    1.2.1 Ph2.R2
    1.2.2 Ph2.R3
    that is split Ph2 into two sub-activities, one for each resource.
    Thanks fo any help.

    Thanks a lot to both of you for your suggestions.
    Unfortunately the time-tracking tool cannot be changed: it is a new SAP based tool deployed worldwide.
    The problem is that each project involves different teams from differnt countries for a fixed "budget" (or a fixed number of man-days). Therefore there is a global PM in London that will define in the time tracking tool
    a WBS like this
    1. Project X
    1.1 Analysis
    1.1.1 Analyse impact for team in Rome
    1.1.2 Analyse impact for team in Amsterdam
    1.1.3 Analyse impact fr tam in Bangkok
    1.2 Development
    1.2.1 Develop A
    1.2.2 Develop B
    1.2.3 Develop C
    1.3 Customer Acceptance Test
    1.3.1 Prepare test environment by team in Amsterdam
    1.3.1 Test by final user
    1.3.2 Support user testing by team in Rome
    then he would assign the development tasks to the rsources that are supposed to work on it and for only the estimatd time. The reason is easy: he want to make sure that a resource tracks time only against the task she is supposed t work on and for only the
    estimated number of days, to avoid exceeding the budget. If extra effort is required for a resource on a task, before allocating more time on that task, a long battle will start.
    This we cannot change.
    The problem now is on our side, the teams in Rome/Amsterdam/Bangkok: we must keep our own plan in MSP. Our tam in rome is divided in 4 sub-teams, one for each module of the core product, each team with a team
    leader assiging tasks to resources with Asana. Untill las week, for months, there was not PM in Rome leading the four teams and hand and of course there was no global plan for the tasks in Rome.
    My first attempt was to try with a Gantt that would stop at phases level, without going down to task level, that are under responsibility of the 4 team leaders. the reason being that we have something like
    25 projects, some with dependecies with each other. I simply wanted to avoid having one huge MSP file with all projects down to task level: by experience, in my previous project (an ERP upgrade for Oracle EBS in FAO) this approach did not work very well.
    But this is bringing up he problem I described: if I stop at "1.2 development" in the WBS, than when I assign R1 and R3, to mak sure their effort is planned accordingly to what has been setup in the time-raking
    tool, I need to edit work in the task usage resource by resource, activity by activity.
    The other option is to insert under 1.2 development another level with all tasks from Asana, each task being assigned to one resource:
    1.2 Development
    1.2.1 Develop A
    1.2.1.1 Develop class x (by R1)
    1.2.1.2 develop class y (by R3)
    1.2.2 Develop C
    1.2.2.1 Develop new pricing interface (by R4)
    1.2.2.2 Modify all logos (by R7)
    A third option would be to have one dtailed plan for each project down to the Asana task and then one higher level plan summarising all projects, down to phases only.

  • How to change the source level in java Studio creator

    Hi,
    I am using Sun Java Studio Creator 2 Update 1 IDE, in this IDE how to change the source level to 1.5 for an existing project.
    Thanks in advance,
    Rajesh.

    Hi!
    Unfortunately Sun Java Studio Creator 2 Update 1 doesn't support 1.5 source level. But You can try to download NetBeans IDE (from http://www.netbeans.org) and there with Visual Web project You will find the same functionality as for Creator. And 1.5 source level is supported by NetBeans.
    Thanks,
    Roman.

  • VS 2008 Protection Levels & Deployment

    Hi All,
    I have developed a SSIS solution with multiples pacakges in VS 2008 using the protection level of Encrypt Sensitive with password, because VS 2008 wasn't saving the OLEDB passwords. So now it prompts me to enter the password each time I open a package within
    the solution, which is fine as I created and developed it. but my questions are
    1) is there a way save the passwords within the solution so it doesn't prompt me all the time?
    2) I tried changing the package protection level to server storage and it says can't save when using that protection level when saving to XML file format?
    3) When I deploy to the SQL server how can I run the solution without entering the password?
    Thanks

    The password can be hacked out of any executable.  You don't need to use a password in OLEDB statement if the database file permission are setup to only allow certain uses read/write access.  The windows login credentials will protect the data.
    SQL server has an option "Integrated Security=true" which also will use a windows credential.  You need to setup the SQL database to use windows credentials.  What is nice about this option is you can setup one user group in windows
    and then have your database use the windows group account.  The add users to the group.  This way you only have only one account for the database rather than having to manually add each user to the database access list or verbally give people the
    password to the account.
    See webpage below.
    http://www.connectionstrings.com/sql-server/
    jdweng

  • Why I change the energy level of port in PoE switch, the power usage of port no anyt change

    I am enable the EnergyWise on a 3560, plug a IP Phone to a port, the result of the power usage read by SNMP is 6kw, when i change the energy level from 10 to 0 by SNMP, the LCD on IP Phone is goes to dark and phone cannot be use, but when I get the power usage of port by SNMP again, the result still is 6kw. Can anyone tell me why?

    This project is just a short animation so every time I import the stills they are of the wrong duration so I try changing the duration by the other methods described previously, fail to be able to do that, erase everything from the project, restart and start again, initially with the preferences. So there's nothing for the still frames to conflict with. It's not the fact that there is a batch of stills that is the problem either as I keep experimenting with with single or small groups of stills in that context. I've also tried importing a variety of still formats into other projects. This is fairly new software. Could this be an incurable fault?
    1.25GHz Power PC G4 1MB L3 cache   Mac OS X (10.4.9)   80GHz hard drive 1.5 GHz Ram plus Firewire 400 250 GHz la Cie external hard dri

  • 'DataSet1' is not declared. It may be inaccessible due to its protection level.

    Hello,
    I am sorry if this has been asked elsewhere but i can't seem to find an answer that will help me.
    I am using visual studio 2013 and a data connection database from Microsoft access called RFID.mdb (which i made by editing the sample Northwind.mdb file)
    I have followed the Microsoft tutorials on how to connect a database and make a data set and i know have the database and dataset in the solution explorer,
    All i simply want to do is load the data i have from a text file into this database, i can load the data from the text file but i cannot seem to get the data into the data set so i can add it to the data base.
    The error i get is on
    'RFIDDataSet1' is not declared. It may be inaccessible due to its protection level. On line 24 and 29.
    I have tried removing the "1" as suggested and this gave me "Reference to a non-shared member requires an object reference."
    I am not sure what i am doing wrong or what could be wrong, could anyone offer some help?
    I am using visual basic.
    Code:
    Imports System.IO
    Public Class Form1
        Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
            Dim fileReader As String
            fileReader = My.Computer.FileSystem.ReadAllText("C:\gobetwino\Project\testlog.txt")
            MsgBox(fileReader)
            If File.Exists(fileReader) Then
                Dim iofile As New StreamReader(fileReader)
                Dim ioline As String
                Dim DandT, Reader, Id
                ioline = iofile.Readline
                While Not ioline = ""
                    Dim mysplit = Split(ioline, ";")
                    DandT = mysplit(0)
                    Reader = mysplit(1)
                    Id = mysplit(2)
                    Dim newImportRow As RFIDDataSet.ImportRow
                    newImportRow = RFIDDataSet.Import.NewImportRow()
                    newImportRow.DateTime = DandT
                    newImportRow.ReaderNum = Reader
                    newImportRow.TagNum = Id
                    RFIDDataSet1.Import.Rows.Add(newImportRow)
                End While
            End If
        End Sub
    End Class
    Error lines:
    newImportRow = RFIDDataSet1.Import.NewImportRow()
    RFIDDataSet1.Import.Rows.Add(newImportRow)

    I already have a dataset when I connected the database.
    In my solution window I have:
    RFID.mbd (which has a single table called "Import" with the sections "DateTime", "ReaderNum" & "TagNum")
    RFIDDataSet.xsd
    What I am mainly trying to do is load the data from the text file "testlog.txt" to the database RFID.mdb.
    I have been following the Microsoft tutorial and it said to use a dataset.
    Thus my code currently now looks like this:
    Imports System.IO
    Public Class Form1
    Dim RFIDDataSet As New RFIDDataSet
    Dim ImportTableAdapter As New RFIDDataSetTableAdapters.ImportTableAdapter()
    Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
    Dim fileReader As String
    fileReader = My.Computer.FileSystem.ReadAllText("C:\gobetwino\Project\testlog.txt")
    ImportTableAdapter.Fill(RFIDDataSet.Import)
    MsgBox(fileReader)
    If File.Exists(fileReader) Then
    Dim iofile As New StreamReader(fileReader)
    Dim ioline As String
    Dim DandT, Reader, Id
    ioline = iofile.Readline
    While Not ioline = ""
    Dim mysplit = Split(ioline, ";")
    DandT = mysplit(0)
    Reader = mysplit(1)
    Id = mysplit(2)
    Dim newImportRow As RFIDDataSet.ImportRow
    newImportRow = RFIDDataSet.Import.NewImportRow()
    newImportRow.DateTime = DandT
    newImportRow.ReaderNum = Reader
    newImportRow.TagNum = Id
    RFIDDataSet.Import.Rows.Add(newImportRow)
    End While
    MsgBox("Update successful")
    End If
    End Sub
    End Class
    I am not sure if what I am doing is correct because the program now shows the results in the message box instead of "Update Successful".
    Does this help in finding out what I am doing wrong when trying to load the data from my text file into a dataset which I then plan to use to update the database RFID.mdb

Maybe you are looking for

  • All-in-one printer?

    does anyone have any suggestions for an all-in-one laser printer/fax/scanner? my wife's setting up a home office with the new iMac, and we're looking to get an all-in-one to go with it. so far i've been seeing bad reviews for HP's machines, and canon

  • Internal Map ID Editor - Bug

    Do not know if this bug has already been reported as it was also present in X5 so here it goes: Activate one or more check-boxes from the dialog available after clicking "option" from the Map ID editor and enter a value in one or more fields and then

  • Import BP house bank informations

    Hi everybody, I try to update by DTW a list of business Partner because their bank account change. The problem is that when I change the payment method, the system propose me to update all the partner linked but nothing happens on the BP. So I try to

  • "New msg" indicator blinking all the time

    Hi all i just bought my N79 and since the very time i inserted my sim, the "new msg" alert has been blinking on top right of the screen constantly even though there is no new msg. I have tried restarting my device couple of times but no use. Has anyo

  • Why doesn't iOS six maps show traffic data?

    I have turned on show traffic data and the map still is without any traffic