Using Universe Desing Tool COM SDK with Powershell

Hello,
I would like to use Universe Design Tool COM SDK in Powershell (instead of Excel and VBA). I was trying to import Designer.dll in Powershell but getting error:
PS C:\Windows\system32> [Reflection.Assembly]::LoadFrom("C:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\win32_x86\Designer.dll")
Exception calling "LoadFrom" with "1" argument(s): "Could not load file or assembly 'file:///C:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\win32_x86\Designer.dll' or one of its dependencies. The module was expected to contain an assembly manifest."
At line:1 char:1
+ [Reflection.Assembly]::LoadFrom("C:\Program Files (x86)\SAP BusinessObjects\SAP  ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : BadImageFormatException
Any idea is it possible and how to use Designer.dll from Powershell?
Many thanks and regards

I was trying that already, unfortunately the same issue:
PS C:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\win32_x86> [Reflection.Assembly]::Lo
adFrom("C:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\win32_x86\designer.exe")
Exception calling "LoadFrom" with "1" argument(s): "Could not load file or assembly 'file:///C:\Program Files (x86)\SAP
BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\win32_x86\designer.exe' or one of its dependencies. The module w
as expected to contain an assembly manifest."
At line:1 char:1
+ [Reflection.Assembly]::LoadFrom("C:\Program Files (x86)\SAP BusinessObjects\SAP  ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : BadImageFormatException

Similar Messages

  • White lines using Quick Selection Tool in conjunction with the Content Aware Fill.

    When using quick selection tool in conjunction with the content aware fill i get a white line where the image join is.
    How do i stop this from happening?
    Basically, i need the select tool to 'over select' into the next photo so its a seamless fills.
    This isn't a complex seletion, its a photomerge with blank, white areas that i am filling in using content away fill.

    thanks for your help.

  • When I use Firefox, my email comes thru with only 1/4 showing and is unreadable. what can I do

    when I use Firefox, my email comes thru with only 1/4 showing and is unreadable. What can I do? I like using Firefox.
    When I open my email with another browser, this does not happen.
    [email protected]

    Do you think it might be possible that your phone is a 3G instead of a 3GS?  The reason for asking whether this is a possibility is because 3G iPhones cannot be updated any further than ios 4.2.1.  3G and 3GS are very similar in external appearance.  One way to tell the difference is that the 3G cannot record videos in the camera app, while the 3GS can do this.
    Another way to tell is by introducing your model or serial number in the Apple Support page that identifies your iPhone.

  • Speeding up the use of Pen Tool in connection with Audio Keyframes

    I remember that one of the editing systems that I used to work on (either Premiere, Avid, or DPS) had this nifty little button that automatically generated three audio keyframes with the middle keyframe at -inf dB. It was great for getting rid of mic hits and wireless glitches that weren't during dialouge. Does FCP 4.5 have a similar feature/workaround or am I stuck taking the time to set all three Keyframes and then lowering the middle keyframe (or simply cutting out the segment)? I'm currently cutting with some fitness material and these girls keep hitting the mic with their hair.

    Yeah, I've got such a loud music bed going that room tone would be completely inaudible and hence, in my opinion, unnecessary.
    I think I may have come across it in Premiere... was it called "notch" or something?
    Off Topic, but has Edius gotten any better over the years? I worked with version 1 and 1.5 and though it's realtime capablilities were nice, it felt like a beta edition of the software. It aslo seemed to be lacking in some very basic capabilities that were necessary for any sort of fine control.
    Dual 2.0 G5 Mac OS X (10.3.9) 1.5 GB RAM and Fiberchannel Xserve

  • Can't use Shape Builder Tool - getting circle with line through it.

    I can't find any setting or anything I can change to make the Shape Builder Tool work. Using latest version.

    Without more info, it can only be a guess, but be aware that the tool only works on selected objects. PRE-selected, that is.

  • URGENT: Connecting BPC 10.0 with BI4.0, with Universe Design Tool

    Hi all,
    I have quite an urgent question that I need some guidance from all you SAP gurus on!
    Is it possible to connect BPC 10 to BI4 using Universe Design Tool? We are under the impression very few people have connected these pieces of software together, if at all. It is very important to a Project I am on at the moment as to whether it is possible so any advice would be very much appreciated.
    So far we have done..
    Software is installed - Universe Design Tool (UDT)
    Logins have been created for BPC 10
    Opened up UDT and go through the Wizard;
    Connection name is BPC CCONNECTION
    Select data access driver: Business Planning and Consolidation OLE DB for OLAP
    Enter the server address for BPC 10 (This is the URL that we log in to the BPC Admin Console)
    After we try to continue, we get the error as follows:
    [Image of error|http://s9.postimage.org/pxk8raci7/UDT_Screen1.jpg]
    If anyone could give any kind of advice I would really apprecaite it!
    Nick

    Hi Nick,
    If you are trying to connect BPC 10 NW to BI 4.0 then I have some suggestions. We did this in our SAP EPM 10 training. In the Admin go to the model tab , select your model and edit it. Select the check box Use as a source. This creates a transient query in the backend.. Then we designed the connection in IDT (Information Design tool). Login to IDT and create a new project. Now Right click on the project and create a new OLAP connection. Select SAP BICS as driver selection. Provide the server details and user aunthetication. Select specify a cube in connection option. Now You can select your model <MODELNAME>_B folder and u will see one query with /CPMB/TQ_XXXX. Test your connection and publish your connection to repository . Now you can use this connection for creating Interactive Analysis (Webi Report). I am not sure about the reporting client you wish to use.
    Hope this Helps
    Regards
    Nikhil

  • My mail, which used to work, comes up with a blank page, with no escape.i no longer connects to to the internet as it once did.

    My email, which used to work, now comes up with a blank page, with no escape.

    Wayne-
    Can you get back to the home page?  If so, double click on the Home button and a row of recent Apps will line up along the bottom of the screen.  Scroll across and look for the Mail icon.  Press and hold on it until it starts to wiggle.  A red minus sign should appear on each icon.  Press the minus sign on the Mail App to remove it from the list of recent Apps.  This will stop it from running in the background.
    If you can not get back to the home page, try to reboot the iPad.  Hold both the Home and Sleep buttons for several seconds until the Apple logo appears.  Ignore the "Slide to power off" arrow.  The iPad should restart in a couple of minutes.
    Fred

  • AIR 2.0 SDK with Flex 4.0 SDK

    Hi !
    I'd like to play with AIR 2.0 beta, but I'm having serious troubles installing the SDK. I download the latest Flex SDK and AIR's, but I can't merge these folders using tar command because I'm using MacOS X, and the SDK is a dmg file. I also tried FileMerge app to merge my folder, but it didn't replaced existing files. I finally tried to merge them file by file, but Flash Builder tell me my resulting folder does not contain any Flex SDK.
    I'm about to shot myself, do you have a solution ? How do you merge these 2 sdk?
    Thanks!
    Romain

    I used ditto on Mac. I would make a backup copy of the Flex SDK first.
    Then use ditto to update the SDK with AIR SDK.
    -ted

  • Using a CWM format XML as datastore; COM SDK to read the file and create Universe

    Hello everyone
    We are in the process of migrating from a metadata store to BusinessObjects Universe and the plan is to use Java/COM SDK to accomplish that. We have run into limitations with both the SDKs. Java SDK doesn't provide that facility and using COM SDK we are trying to read from a XML file (metadata in CWM format) and create the universe but so far haven't been successful. If the (Universe)Designer can read a CWM format xml file (say created from BODS) we are wondering why can't a customer made COM program do the same.
    Has anyone attempted this and been successful. Please acknowledge.
    Thanks

    I have written C#.NET code to build universes on the fly using the Designer SDK with no problems.  However, I wasn't using CWM formatted data to do this.
    I have two suggestions for you:
    1.  Since not all of the functionality in the Designer tool seems to be available through the SDK, can you parse the CWM xml file in your code and build the universe based on the data instead of trying have Designer build it?
    2.  Since you're using Java, you may get better answers by posting this question in the Java SDK Application Development space here:  http://scn.sap.com/community/bi-platform/java-sdk
    -Dell

  • Not sure if anyone can help but I have a copy of Photoshop CS5.1. Ever since it was installed, every now and again when I try do something simple like save a file or scale something using the Transform tool, in fact anything at all it comes up with "Could

    Not sure if anyone can help but I have a copy of Photoshop CS5.1. Ever since it was installed, every now and again when I try do something simple like save a file or scale something using the Transform tool, in fact anything at all it comes up with "Could not complete your request because of a program error". Have thought about re-installing  it but I have lost my serial number.  I'm living in Ireland and trying to get to talk to someone in tech support is a complete joke. Any ideas what to do ? Thanks

    Ianp69549740 have you tried reinstalling Photoshop CS5.1?  If so do you receive any specific errors?  What operating system are you using?

  • How to use registrati​on-free COM with TestStand

    We create several different test programs run by TestStand. The sequence typically calls a function in a .NET dll that in turn calls functions in COM objects. We would like to use registration free COM to isolate the programs from each other but I'm having difficulty making it work. I know that in principle the manifest file and COM objects could be put in the same directory as SeqEdit.exe but this is unacceptable. I was thinking that using the activation context might be a way to do it. For example in C#: ActivationContext.CreatePartialActivationContext(ApplicationIdentit​y, string[]). ApplicationIdentity is the application identity of SeqEdit and the string [] parameter contains paths and names of manifest files that describe the needed COM objects. The idea would be to load an activation context with the .NET dll called by the sequence so SeqEdit could find the COM dlls in the same directory as the sequence. I haven't gotten it to work yet. Any ideas?

    Russell1,
    I'm going to try to give as thorough description as I can, since many other users may not understand what you're asking about.
    Normally, a COM server (ActiveX servers are COM servers) is registered with Windows via the registry.  Unfortunately, you can only have one version of the server registered at a time.  This is one of the reasons why TestStand (which is a COM server) needs a version switcher to change between engine versions.
    There is a technology called "Registration-free COM" that allows an application to use a COM server without having it registered in the windows registry.  It involves creating manifest files for the COM server and for the application that is calling the com server.  These manifest files are used by the operating system when the application tries to call the COM server to find the server.  Usually the OS would go to the registry, but it will check the manifest files first.
    The best reference on registration-free COM is an article on MSDN: Registration-Free Activation of COM Components: A Walkthrough.
    A year or so ago, there was a TestStand customer who was interested in forcing some of their applications to use a certain version of a COM server; I was able to get this working for them. 
    I tested the .NET and MFC TestStand user interfaces, and found that I could get registration-free COM working with both.  I found that two .manifest files needed to be created.
    The first is a .manifest file for the COM server.  This was a straightforward process following exactly the instructions in the above walkthrough (Step 7).
    The second is a .manifest file for the UI.  Since the TestStand UIs have their manifest files embedded in the application, I had to modify the .manifest file before building the UI, or use the .NET SDK tool mt.exe.
    After creating both manifest files, I found that adding them was enough to make .NET calls to the COM server work correctly if the application and server were in the same directory. 
    Unfortunately, I did not do any testing with having the COM server in a different directory.
    Now, on to your question:
    I just did some poking around on MSDN, and I have found the following information.
    Note that after you have configured a .manifest file for your COM server, it is then referred to as an "assembly".  I am making an assumption here (but I think it's a reasonable assumption) that after this, the COM server can be used just like any other assembly.  Specifically, it will be searched for in the same way an assembly is searched for.
    MSDN documents How the Runtime Locates Assemblies.  Note near the bottom of that page, if the assembly has not been bound to before, and it is not in the Global Assembly Cache (GAC), it will probe for the assembly.  From this I think the following are possible solutions.  Please note that I haven't tested any of them.
    MSDN documents the Probing behavior.  Note that it will only probe in sub-folders of the current application root directory ([application base]).  Note that there is also some information at the bottom of the page about COM interop scenarios.  I think what it is saying is that if you already are in an assembly, and call a COM server, it will look in the same folder as that assembly for the COM server.  This might be a possible solution for you.
    There is also an AssemblyResolve event that is fired if the CLR is unable to locate the assembly.  I don't know if this event is fired in the case that the COM server cannot be found, but if it is, you could then define your own way to search for the server.  I found this information in a blog post by Microsoft developer: https://blogs.msdn.com/junfeng/archive/2006/03/27/​561775.aspx
    One last possibility is to use an Application Configuration file; which is similar to a manifest file.  According to that page, there is an element called 'probing' that you can use with Windows 7 or Windows Server 2008 R2 when defining assembly binding to specify relative paths to probe for the assembly.
    I honestly don't know if any of these possibilities will work.  Please let me know if you get it working or if you need some more help, and I'll do my best to assist you.
    Message Edited by Josh W. on 02-04-2010 03:23 PM
    Josh W.
    Certified TestStand Architect
    Formerly blue

  • Use of classes in com.sun.tools.doclets

    Hello -- What is the best practice recommendation wrt using the classes in com.sun.tools.doclets -- particularly with the planned refactoring?
    I'm writing a doclet that doesn't subclass, say, the standard doclet. There are obviously several very useful classes in this package (ClassTree, Util, MethodFinder, etc.) that I'd like to use. I can simply call their methods, but I'm curious to know if their active days are numbered.
    Would it be better to simply incorporate the source? What are the restrictions on using the source in my own doclet?
    If this is all covered somewhere (I've been hunting around a bit), please feel free to simply point me to the info.
    Thanks!
    Steve

    The Java 2 SDK license (which covers javadoc) allows you to only
    redistribute the code unmodified.
    In 1.5.0, the refactoring has renamed all of the packages and
    moved a lot of code around. We hope and plan to release
    the refactored code on java.net around the time 1.5.0 is
    released, and get an early access of it out. We'll notify
    people who are on the javadoc-announce email address which
    people can sign up as described at:
    http://java.sun.com/j2se/javadoc/#forum
    If you want more specific information now about how these will change,
    please let me know and we can answer those questions.
    -Doug Kramer
    Javadoc team

  • Need expert advice to import and convert video using Windows COM SDK

    Hi,
    Does anybody know can I import a video file and convert the footage to iPod compatible format using vbscript?
    I found a COM function 'convertfile', but it seems only work with audio and doesn't work with mpg files. Does the current version of COM SDK 6.0.2.23 support conversion of mpg?
    Set iTunesApp = WScript.CreateObject("iTunes.Application")
    Status = iTunesApp.ConvertFile("m:\test.mpg")
    Thanks in advance.
    Intel   Windows XP Pro  

    Thanks, but I know iTunes 6 (windows version) has a built-in function to convert a video to a format for iPod G5. That's why I wonder if the iTunes Windows COM SDK has the function call so that I can automatically import my scheduled recording to iPod. I think that's the advantage of iTunes / iPod. Actually I love my iPod G3 and iPod mini, but I don't see a reason for me to upgrade to G5 if it only accept H264 and mp4 because all my recordings (directly from my TV card) are only mpeg format and there is currently no command line tools to convert them for iPod. I know a bit of programming and it is much more conveninent to use scripts to do the mpg -> ipod conversion automatically than doing it manually using GUI programs..
    Thanks

  • How do I send a 2-10 MHz pulse train to my DAQ 6052E why simultaneously reading in data? I'm using the NIDAQ Tools with Igor Pro.

    I need to send a continuous 2-10MHz TTL timing signal to a low pass filter (to set the cutoff frequency) while I collect data from one of the analog inputs. I'm hoping that I can send the TTL signal and collect the data through the same DAQ 6052E board.
    I've been told that I can send a pulse train using one of the two counters on the board. But does anyone have more specific advice how to implement this using the NIDAQ Tools extensions to IGOR Pro? In particular I'm concerned about how I can send a continuous TTL signal and simultaneously read data. Or can you just turn on the timing signal and it stays on until it's
    turned off again?
    Thanks for your help

    You can program one of the counters to generate a continuous pulse train. Once programmed to do so the counter needs no further interaction. It will continue to generate the signal until stopped through SW. So you can start the counter using the functions provided to you, then forget about it and program the AI operations.
    Christian Loew, CLA
    Principal Systems Engineer, National Instruments
    Please tip your answer providers with kudos.
    Any attached Code is provided As Is. It has not been tested or validated as a product, for use in a deployed application or system,
    or for use in hazardous environments. You assume all risks for use of the Code and use of the Code is subject
    to the Sample Code License Terms which can be found at: http://ni.com/samplecodelicense

  • Set multi user column with PowerShell used to work in 2010 but no longer works in 2013

    In SharePoint 2010 I used PowerShell to set the value of multi user people columns and it worked really well.  I attempt to use the same PowerShell to set the same column type in SharePoint 2013 and it fails.
    here is the PowerShell that I use in 2010:
    $web = Get-SPWeb "http://intranet"
    $list = $web.lists["TestList"]
    $item = $list.items.add()
    $item["Title"] = "Test multi user column"
    $users = @("Domain\user1", "Domain\user2")
    $userList = new-object Microsoft.SharePoint.SPFieldUserValueCollection
    foreach($user in $users)
    $spUser = $web.EnsureUser($user)
    $userValue = new-object Microsoft.SharePoint.SPFieldUserValue($web, $spUser.ID, $spUser.Name)
    $userList.Add($userValue)
    $item["MultiUserColumn"] = $userList
    $item.update()
    I have used this on three SharePoint 2013 farms with differing results.  On two of them I receive an error when running $item.update(): Exception calling "Update" with "0" argument(s): "Invalid look-up value.  A look-up
    field contains invalid data. Please check the value and try again."
    If I take one of the users out of the $users list then it works fine, but it will not allow multiple users to be set with PowerShell.  I can use the GUI to add more than one user but not PowerShell.
    Does anyone know if these methods have changed in 2013? I haven't been able to find anyone else with this issue.
    mmm... coffee...

    Not sure but maybe something to do with casting. Below is the code snippet from one of the blogs. Try modifying your script like below and see if still you get the error
    [Microsoft.SharePoint.SPFieldUserValueCollection]$lotsofpeople = New-Object Microsoft.SharePoint.SPFieldUserValueCollection
    $user1 = $w.EnsureUser("domain\user1");
    $user1Value = New-Object Microsoft.SharePoint.SPFieldUserValue($w, $user1.Id, $user1.LoginName)
    $user2 = $w.EnsureUser("domain\user2");
    $user2Value = New-Object Microsoft.SharePoint.SPFieldUserValue($w, $user2.Id, $user2.LoginName);
    $lotsofpeople.Add($user1Value);
    $lotsofpeople.Add($user2Value);
    $i["lotsofpeoplefield"] = $lotsofpeople;
    $i.Update();
    #-or-
    $l.Fields["lotsofpeoplefield"].ParseAndSetValue($i,$lotsofpeople);
    $i.Update();
    Reference to the link
    http://social.technet.microsoft.com/wiki/contents/articles/20831.sharepoint-a-complete-guide-to-getting-and-setting-fields-using-powershell.aspx
    Geetanjali Arora | My blogs |

Maybe you are looking for

  • Looking for an app to create I'd

    I am looking for an app that will assist me in keeping record of all my staff in my company and in other companies. I would like it to have photo, name, ID, contact info, address Etc. could someone assist

  • How do I remove a phone number from iMessage on my Mac?

    I get a new iPhone tomorrow on a completely new number and I wanted to know how I can remove my current number from being used for iMessage on my mac so that when I get my new phone I can set it up

  • How should I do to see the pictures in my albums after publishing?

    I've had my webpage for over a year and recently I made some major updates. I changed the theme and added more albums but after I published the updates I've noticed that I can't see the pictures in my albums. I can see the thumbnails and I can click

  • Cannot see pick list on releasing production order for WH managed material.

    Hi guys I created workcenters, routing, bom, control cycle record and prod. verison for the material before creating the Prod. order. Now, I am neither able to see the Pick List nor Material Staging (Simulation) after releasing my Prod. Order. The ex

  • OBIEE 10g - Ragged & Skip Level Hierarchy

    Hi Frnds, I'm aware of the fact that OBIEE 11g supports Ragged & Skip Level Hierarchy. But I'm looking for some heads up while implementing the same on OBIEE 10g using Oracle DB as source. I have done this before for Essbase Data Source but now waiti