DAC Load fact populates with WIDs as 0's

Hi All
I have configured BI Apps 7.9.5.1 and now I am trying to run the pre-seeded mappings through DAC with Few customizations which I have cloned so that it refers the modified object.The load runs however the WIDs in the fact are populating as 0's .Is there anything wrong about the order of execution.........As far as I know the order of execution is taken care by DAC(looking at the source and target tables) but please correct me If I am wrong...Can anyone please suggest me on this.........
With Regards
Ven
Edited by: user11254581 on Jul 7, 2009 12:51 AM

Ven,
Take a look at the right mapping. You have a lookup task responsible for creating each of the WIDs. In those lookups (or rather in the mapping itself) you will have the names of the tables to look WIDs up (your _D tables). All those tables are specified in the form of mapping variables (or parameters).
My guess is that you don't have those variables specified correctly.
Please let me know if it helps,
Michal

Similar Messages

  • Load fact table with null dimension keys

    Dear All,
    We have OWB 10g R2 and ROLAP star schema. In our source system some rows don’t have all attributes populated with values (null value), and this empty attributes are dimension (business) keys in star schema. Is it possible to load fact table with such rows (some dimension keys are null) in the OWB mappings? We use cube operator in mappings.
    Thanks And Regards
    Miran

    The dimension should have a row indicating UNKNOWN, this will have a business key outside of the normal range e.g. -999999.
    In the mapping the missing business keys can then be NVL'd to -999999.
    Cheers
    Si

  • Loading data into Fact/Cube with surrogate keys from SCD2

    We have created 2 dimensions, CUSTOMER & PRODUCT with surrogate keys to reflect SCD Type 2.
    We now have the transactional data that we need to load.
    The data has a customer id that relates to the natural key of the customer dimension and a product id that relates to the natural key of the product dimension.
    Can anyone point us in the direction of some documentation that explains the steps necessary to populate our fact table with the appropriate surrgoate key?
    We assume that we need to have an lookup table between the current version of the customer and the incoming transaction data - but not sure how to go about this.
    Thanks in advance for your help.
    Laura

    Hi Laura
    There is another way to handling SCD and changing Facts. This is to use a different table for the history. Let me explain.
    The standard approach has these three steps:
    1. Determine if a change has occurred
    2. End Date the existing record
    3. Insert a new record into the same table with a new Start Date and dummy End Date, using a new surrogate key
    The modified approach also has three steps:
    1. Determine if a change has occurred
    2. Copy the existing record to a history table, setting the appropriate End Date en route
    3. Update the existing record with the changed information giving the record a new Start Date, but retaining the original surrogate key
    What else do you need to do?
    The current table can use the surrogate key as the primary key with the natural key being being a unique key. The history table has the surrogate key and the end date in the primary key, with a unique key on the natural key and the end date. For end user queries which in more than 90% of the time go against current data this method is much faster because only current records are in the main table and no filters are needed on dates. If a user wants to query history and current combined then a view which uses a union of the main and historical data can be used. One more thing to note is that if you adopt this approach for your dimension tables then they always keep the same surrogate key for the index. This means that if you follow a strict Kimball approach to make the primary key of the fact table be a composite key made up of the foreign keys from each dimension, you NEVER have to rework this primary key. It always points to the correct dimension, thereby eliminating the need for a surrogate key on the fact table!
    I am using this technique to great effect in my current contract and performance is excellent. The splitter at the end of the map splits the data into three sets. Set one is for an insert into the main table when there is no match on the natural key. Set two is when there is a match on the natural key and the delta comparison has determined that a change occurred. In this case the current row needs to be copied into history, setting the End Date to the system date en route. Set three is also when there is a match on the natural key and the delta comparison has determined that a change occurred. In this case the main record is simply updated with the Start Date being reset to the system date.
    By the way, I intend to put a white paper together on this approach if anyone is interested.
    Hope this helps
    Regards
    Michael

  • Problem with loading fact table in OWB3i

    Hi,
    I have a problem while trying to load a fact table using OWB 3i. Let me explain the situation :
    I have 2 dimensions: Customer, Product say.
    I have loaded the dimension tables separately, successfully using different mappings from source tables.
    Now I want to load the fact table with the corresponding warehouse keys from these dimension tables through lookup transformation.
    When I try to bring to lookup transformations for the 2 dim. tables, it gives an error--"Source and target are bound to different data providers". Using 1 dim table and 1 corresponding lookup transformation , the fact table is successfully loaded.
    How to load a fact table when there are more than 1 dim. tables using lookup ?Is there any other way of solving the same problem?
    Any suggestion will be highly appreciated.
    regards
    Dipanjan

    Simply, try joining source tables with the join operator. In wich way you can create a single source object into the mapping suitable to be connected with yours fact tables.
    Greetings

  • Error in the Informatica when running the DAC load( Prebuilt Analytics)

    Hi All,
    Please help me with the below issue with the informatica i am getting when running the DAC load:
    Below are the details:
    SELECT F0006.MCMCU,F0006.MCSTYL,F0006.MCCO,F0006.MCAN8,F0006.MCDL01,F0006.MCRP06,F0006.MCUPMJ,F0006.MCUPMT,F0006.MCUSER,F0101.ABAN8,F0101.ABLNGP, F0101.ABEFTB,F0101.ABUPMJ,F0101.ABUPMT,F0116.ALAN8,F0116.ALEFTB,F0116.ALADD1,F0116.ALADD2,F0116.ALADD3,F0116.ALADD4,
    F0116.ALADDZ,F0116.ALCTY1,F0116.ALCOUN,F0116.ALADDS,F0116.ALCTR,F0116.ALUPMJ,F0116.ALUPMT,
    CAST(F0006.MCRP08 AS CHAR(10)) AS FLEX_ATTRIB_1_CHAR ,
    CAST(F0006.MCRP10 AS CHAR(10)) AS FLEX_ATTRIB_2_CHAR,
    CAST(F0006.MCRP19 AS CHAR(10)) AS FLEX_ATTRIB_3_CHAR,
    CAST(F0006.MCRP08 AS CHAR(10)) AS FLEX_ATTRIB_4_CHAR,
    CAST(F0006.MCRP13 AS CHAR(10)) AS FLEX_ATTRIB_5_CHAR,
    CAST(F0006.MCRP14 AS CHAR(10)) AS FLEX_ATTRIB_6_CHAR,
    CAST(NULL AS CHAR(10)) AS FLEX_ATTRIB_7_CHAR,
    CAST(F0006.MCRP01 AS CHAR(10)) AS FLEX_ATTRIB_8_CHAR,
    CAST(F0006.MCRP15 AS CHAR(10)) AS FLEX_ATTRIB_9_CHAR,
    CAST(F06.MCRP16 AS CHAR(10)) AS FLEX_ATTRIB_10_CHAR,---------------------------Table name should be F0006
    CAST(F0006.MCRP12 AS CHAR(10)) AS FLEX_ATTRIB_11_CHAR,
    CAST(F0006.MCRP27 AS CHAR(10)) AS FLEX_ATTRIB_12_CHAR,
    CAST(F0006.MCRP21 AS CHAR(10)) AS FLEX_ATTRIB_13_CHAR,
    CAST(F0006.MCRP03 AS CHAR(10)) AS FLEX_ATTRIB_14_CHAR,
    CAST(F0006.MCRP13 AS CHAR(10)) AS FLEX_ATTRIB_15_CHAR,
    CAST(F0006.MCRP23 AS CHAR(10)) AS FLEX_ATTRIB_16_CHAR,
    CAST(F0006.MCRP21 AS CHAR(10)) AS FLEX_ATTRIB_17_CHAR,
    CAST(F0006.MCRP24 AS CHAR(10)) AS FLEX_ATTRIB_18_CHAR,
    CAST(F0006.MCRP19 AS CHAR(10)) AS FLEX_ATTRIB_19_CHAR,
    CAST(NULL AS CHAR(10)) AS FLEX_ATTRIB_20_CHAR,
    CAST(F0006.MCRP12 AS CHAR(10)) AS STATE_REGION,
    CAST(F0006.MCRP04 AS CHAR(10)) AS COUNTRY_REGION,
    '0' AS X_CUSTOM
    FROM F0006
    LEFT OUTER JOIN F0101 ON
    F0101.ABAN8 = F0006.MCAN8
    LEFT OUTER JOIN F0116 ON
    F0116.ALAN8 = F0006.MCAN8 AND
    F0116.ALEFTB=F0101.ABEFTB
    As mentioned in the SQL the table name should be F0006 instead F06, I have checked the Source Qualifier transformation and below is the SQL issued
    SELECT F0006.MCMCU,F0006.MCSTYL,F0006.MCCO,F0006.MCAN8,F0006.MCDL01,F0006.MCRP06,F0006.MCUPMJ,F0006.MCUPMT,F0006.MCUSER,F0101.ABAN8,F0101.ABLNGP, F0101.ABEFTB,F0101.ABUPMJ,F0101.ABUPMT,F0116.ALAN8,F0116.ALEFTB,F0116.ALADD1,F0116.ALADD2,F0116.ALADD3,F0116.ALADD4,
    F0116.ALADDZ,F0116.ALCTY1,F0116.ALCOUN,F0116.ALADDS,F0116.ALCTR,F0116.ALUPMJ,F0116.ALUPMT,
    CAST($$FLEX_ATTRIB_1_CHAR AS CHAR(10)) AS FLEX_ATTRIB_1_CHAR ,
    CAST($$FLEX_ATTRIB_2_CHAR AS CHAR(10)) AS FLEX_ATTRIB_2_CHAR,
    CAST($$FLEX_ATTRIB_3_CHAR AS CHAR(10)) AS FLEX_ATTRIB_3_CHAR,
    CAST($$FLEX_ATTRIB_4_CHAR AS CHAR(10)) AS FLEX_ATTRIB_4_CHAR,
    CAST($$FLEX_ATTRIB_5_CHAR AS CHAR(10)) AS FLEX_ATTRIB_5_CHAR,
    CAST($$FLEX_ATTRIB_6_CHAR AS CHAR(10)) AS FLEX_ATTRIB_6_CHAR,
    CAST($$FLEX_ATTRIB_7_CHAR AS CHAR(10)) AS FLEX_ATTRIB_7_CHAR,
    CAST($$FLEX_ATTRIB_8_CHAR AS CHAR(10)) AS FLEX_ATTRIB_8_CHAR,
    CAST($$FLEX_ATTRIB_9_CHAR AS CHAR(10)) AS FLEX_ATTRIB_9_CHAR,
    CAST($$FLEX_ATTRIB_10_CHAR AS CHAR(10)) AS FLEX_ATTRIB_10_CHAR,
    CAST($$FLEX_ATTRIB_11_CHAR AS CHAR(10)) AS FLEX_ATTRIB_11_CHAR,
    CAST($$FLEX_ATTRIB_12_CHAR AS CHAR(10)) AS FLEX_ATTRIB_12_CHAR,
    CAST($$FLEX_ATTRIB_13_CHAR AS CHAR(10)) AS FLEX_ATTRIB_13_CHAR,
    CAST($$FLEX_ATTRIB_14_CHAR AS CHAR(10)) AS FLEX_ATTRIB_14_CHAR,
    CAST($$FLEX_ATTRIB_15_CHAR AS CHAR(10)) AS FLEX_ATTRIB_15_CHAR,
    CAST($$FLEX_ATTRIB_16_CHAR AS CHAR(10)) AS FLEX_ATTRIB_16_CHAR,
    CAST($$FLEX_ATTRIB_17_CHAR AS CHAR(10)) AS FLEX_ATTRIB_17_CHAR,
    CAST($$FLEX_ATTRIB_18_CHAR AS CHAR(10)) AS FLEX_ATTRIB_18_CHAR,
    CAST($$FLEX_ATTRIB_19_CHAR AS CHAR(10)) AS FLEX_ATTRIB_19_CHAR,
    CAST($$FLEX_ATTRIB_20_CHAR AS CHAR(10)) AS FLEX_ATTRIB_20_CHAR,
    CAST($$STATE_REGION AS CHAR(10)) AS STATE_REGION,
    CAST($$COUNTRY_REGION AS CHAR(10)) AS COUNTRY_REGION,
    '0' AS X_CUSTOM
    FROM F0006
    LEFT OUTER JOIN F0101 ON
    F0101.ABAN8 = F0006.MCAN8
    LEFT OUTER JOIN F0116 ON
    F0116.ALAN8 = F0006.MCAN8 AND
    F0116.ALEFTB=F0101.ABEFTB
    The error code and error message in the workflow monitor says:
    Message Code: VAR_27028
    Message: Use override value [F06.MCRP16] for mapping parameter:[mplt_BC_SDE_JDE_InternalOrganization_BusinessUnits.$$FLEX_ATTRIB_10_CHAR].
    Some how it is overridng all the values so please let me know what i can do.
    Thanks in Advance

    Oracle Support

  • Bug:Downloading pdf file from the web,file name in dialog box populates with incorrect file name

    Hi Gurus
    When downloading any pdf file from the web using adobe Reader X the file name dialog box populates with incorrect file name
    compared to the saved file name of the document downloaded.
    Clarity
    1. Download any pdf file from the web
    2. Click File, Save as note the populated File Name
    3. Compare the populated file name with the saved file name of the documant yuo are downloading.
    4. The file Name is incorrect...
    Is there any work around on this issue?Can someone please help?..
    OS:Windows7
    Reader: Adobe Reader X
    I've tried a couple of other versions and still get the same results...

    Are you downloading the file (right-click, save link as), or just opening it by clicking it?
    If the latter, then what happens is the file is loaded to the temporary internet files folder by IE and assigned a temporary name, which is then used when you're trying to save it.
    You can test this out by going to File - Document Properties before trying to save and looking at the file's location.

  • ETL for loading Fact tables

    Hi all
    I have a fundamental question regarding loading records into the Fact tables. As you know we always load Dimensions before loading Facts. In our data model, for most of the Fact tables we have a special Dimension that has got the basic attributes in it, along with the source key of the records which are valid in terms of our data warehouse. The source of the Fact table includes the source tables which are involved in loading the Dimension as well.
    For example for Student Fact table we have a Student Dimension which is loaded before Student Fact, hence has got the most recent changes (source key of the records which are to be loaded into DW). Now my question is that which options below are more appropriate in loading Student Fact table.
    Option 1 -  Load Student Fact table using the same source tables that are used in loading records into Student Dimension, ignoring the similar logic has been applied already in Dimension to get valid records from Source and do it again in Fact job.
    Option 2 -  Inner Join the Student Dimension in the Student Fact ETL job, so it limits the number of source records (coming from Source System) to the validated records which we are interested to load into DW. This option makes loading the Fact table faster, as by contributing the Dimension in loading its corresponding Fact, we don't have to get all records from the source and validate them against the rules again (as it has been done in the Dimension job and now we can use the validated record IDs in Fact job).
    As we are new building jobs for a dimensional model, I thought it would be good to ask your opinions and your experience
    Thanks in advance,
    Tootia

    I don't see any problem with re-using your "which students do we care about?" logic and rules by borrowing the list of students from the dimension table. You can join to it, or do a lookup() into it and then filter-out nulls (assuming you return a null on a no-match), or use a Validation transform with the "Exists in table" option -- which to use is question of style & performance -- any would work.  Indeed, when migrating data into SAP using iDocs, I use a similar idea, always joining the iDoc base segment "map" table to the load of any child segment table to "automatically" filter-out any child segment records not present in the base, re-using the selection logic as you suggest, which then only needs to be built in the base segment. Keeps things tidy.
    Best wishes,
    Jeff Prenevost
    Data Services Practice Manager
    itelligence

  • It doesn't seem to be as sharp as it is in the "Develop" mode.  This seems to occur more with wide angle than macro.  Any suggestions would be extremely welcome...Norm

    Here's my problem: (Lightroom 4)  I will edit a photo in "Develop" to the point where it looks great and I'm satisfied with the results.  Then I click back to "Library" and the photo seems to go a little out of focus.  When I export the photo, it doesn't seem to be as sharp as it is in "Develop" mode.  This seems to occur more with wide angle than macro.  Any suggestions would be greatly appreciated!  Norm

    Okay guys, some good news!
    First of all, thanks again to Sean for his suggestion to look inside the transaction log!
    Indeed that specific table that I noticed was filling the transaction log, is the largest table in my database. Its size stands at about ~65GB. Like I said earlier, it has no LOB or Overflow columns. But one interesting fact about it is - it had absolutely
    no indexes! It was a heap, but it was also partitioned. I didn't know a case like this could cause such problems with shrink? It's weird but it also kinda makes sense in a way.
    Anyways, I ran a script to create a partitioned clustered index on that table. That took pretty much all day long due to the table size (almost 7 hours). But once that was finished, shrinking the data file was a breeze!
    At least... Until the shrink started "hanging" again because now it started dealing with my
    second largest table (~55GB). Like the first one, this one is also a partitioned
    heap without any indexes. So I expected this to happen. I guess the solution this time will be the same: Create a clustered index.
    Does this make sense to you? A partitioned heap table causing such heavy workload to SHRINK, but when it's moved to a clustered index, suddenly it flies?
    Eitan Blumin; SQL Server Consultant - Madeira SQL Server Services

  • Load cell simulation with PXI system

    Just curious if any of you have tried to do this...
    I'm using LabView and my PXI chassis to test a board that interfaces with a load cell. The load cell is 2mV/V with a 3volt excitation voltage so full scale would be 6mV. I was hoping to do a sweep in increments of 1mV. So two signals S1 and S2, e.g. S1=2.000 S2=2.001, S1=2.000 S2=2.002, then S2=2.003 etc...
    The only analog outputs I have are the two 12 bit outputs form the 6040E MIO card...not enough resolution.
    I was thinking maybe I could buy some sort of accurate multiplying DAC and control it with the Digital lines from my PXI system. Anyway I was just curious if any of you guys and gals had done something similar...or maybe there is a low cost pxi card that I could use...but
    I doubt it...my budget is limited right now.
    Thanks and regards

    Mashman,
    Have you considered using an external reference to increase the resolution of the analog output channels on your 6040E? You could definitely get your code width below the 1 mV level that your application requires. Below are links to a couple of documents that discuss the use of external references:
    Resolution of Analog Outputs
    Outputting a Voltage Using an External Voltage Reference
    Good luck with your application.
    Spencer S.

  • How do I use edge commons composition loader to load multiple compositions with a next and back button?

    I am working on an interactive book and have set up each page as a separate composition in edge.
    I am using  the edge commons JS library to load multiple compositions into a main composition.
    You can see how this works here: Edge Commons - Extension Library for Edge Animate and Edge Reflow | EdgeDocks.com
    The way the edge commons tutorial is set up requires a button for each composition i want to load. I am interested in loading multiple compositions with a "next" and "back" button, and a "swipe left, "swipe right" gesture on the content symbol that each composition is loaded into. I also need the swipe features on the content symbol not to interfere with the interactive elements on the loaded composition.
    Please suggest a solution that will work without adding additional scripts beyond edge commons and jquery.

    Sort of. I'm using this code inside an action for a button symbol. But it doesn't work perfectly. Trying to debug it.
    Let me know if you have any luck.
    //Check to see if pageCounter already exists
    if (typeof EC.pageCounter === 'undefined') {
      // it doesn't exist so initialize it to first page
        EC.pageCounter = 2;
    //check if the page is only 1 digit -- patch for single digit
    if (EC.pageCounter < 9) {
       // it is, so we need to pad a 0 on the front.
      EC.pageCounterString = "0" + EC.pageCounter;
      //e.g.  01 ...09,11,12,13....115,222352,,....
    else {
      EC.pageCounterString = EC.pageCounter;
    EC.loadComposition(EC.pageCounterString + "/publish/web/" + EC.pageCounterString + ".html", sym.$("container"));
    EC.pageCounter = EC.pageCounter + 1;
    //TODO for back  -1

  • Firefox becomes really slow then eventually unresponsive when loading a page with many hires images. Unsual high memory usage up to 2gigs just for firefox. Was never a problem with v3.6.

    When loading a page with many hires images, Firefox becomes really slow and scrolling becomes jumpy then eventually becomes completely unresponsive. Unusual high memory usage of up to 2gigs just for firefox when loading these pages. This was never a problem with v3.6.

    I encountered the same type of problem. Firefox running terribly slowly and slowing down my entire machine (Core i5 with 256GB SSD). Searching the forums, I found a couple of things about troubleshooting performance issues, one of which was to use '''hardware acceleration''', that is on by default. It was turned on on my PC, '''so I tried deactivating it, and it worked!'''
    So doing the exact opposite as Mozilla support said solved the problem. It is really a pain now to work with Firefox. I'm using it because I have no choice, but I'd recommend IE and Chrome over Firefox... Whatever, the market will decide once Firefox has become to crappy...

  • Spry Tabbed panels + Progressive Enhancement and Dynamic Loading of Content With Spry

    Is there any way to combine tabbed panels together with "Progressive Enhancement and Dynamic Loading of Content With Spry"?
    Visit: http://labs.adobe.com/technologies/spry/articles/best_practices/progressive_enhancement.ht ml#updatecontent
    And click on the "Using Spry.Utils.updateContent()"
    The 3rd example shows how to use a fade transition whenever the content changes.
    I already have tabbed panels. My menu contains buttons (on tabs) and my Content div contains the panels.
    Tabs code;
    <ul class="TabbedPanelsTabGroup">
              <li class="TabbedPanelsTab">
                   <table class="Button"  >
                        <tr>
                        <td style="padding-right:0px" title ="Home">
                        <a href="javascript:TabbedPanels1.showPanel(1);" title="Home" style="background-image:url(/Buttons/Home.png);width:172px;height:75px;display:block;"><br/></a>
                        </td>
                        </tr>
                   </table>
              </li>
    etc
    etc
    etc
    and the panel code:
    <div class="TabbedPanelsContent" id="Home">
         CONTENT
    </div>
    I hoped i can use the example code from the link into my tabbed panels.
    I thought this code:
    onclick="FadeAndUpdateContent('event', 'data/AquoThonFrag.html'); return false;"
    could be added to the tab code like this:
    <a href="javascript:TabbedPanels1.showPanel(1);" onclick="FadeAndUpdateContent('event', 'data/AquoThonFrag.html'); return false;" title="Home" style="background-image:url(/Buttons/Home.png);width:172px;height:75px;display:block;"><br/></a>
    But the content doesnt fade...
    I know i need to change the header etc.
    The following is from the link:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xmlns:spry="http://ns.adobe.com/spry">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Aquo Events</title>
    <script src="../../../includes/SpryEffects.js" type="text/javascript"></script>
    <script src="../../../includes/SpryData.js" type="text/javascript"></script>
    <script type="text/javascript">
    <!--
    function FadeAndUpdateContent(ele, url)
    try {
         Spry.Effect.DoFade(ele,{ duration: 500, from: 100, to: 0, finish: function() {
              Spry.Utils.updateContent(ele, url, function() {
                        Spry.Effect.DoFade(ele,{ duration: 500, from: 0, to: 100 });
    }catch(e){ alert(e); }
    -->
    </script>
    <style type="text/css">
    /* IE HACK to prevent bad rendering when fading. */
    #event { background-color: white; }
    </style>
    </head>
    So i changed my header etc, put the SpryEffects.js and SpryData.js into position and nothing changed...
    Is there a way to keep my tabbed panel (or change as less as possible) and let
    A. The fade work
    B. The loading work.
    The problem now is that it loads all pages instead of only the home. Therefore i wanted this Progressive Enhancement.
    And the fading part is just because its nice...

    It doesnt show in the post but off course i changed this link;
    "data/AquoThonFrag.html"
    into;
    "javascript:TabbedPanels1.showPanel(1);"
    I must say i dont know if this even works...

  • Loading huge file with Sql-Loader from Java

    Hi,
    I have a csv file with aprox. 3 and a half million records.
    I load this data with sqlldr from within java like this:
               String command = "sqlldr userid=" + user + "/" + pass
                        + "@" + service + " control='" + ctlFile + "'";
                System.out.println(command);
                if (System.getProperty("os.name").contains("Windows")) {
                    p = Runtime.getRuntime().exec("cmd /C " + command);
                } else {
                    p = Runtime.getRuntime().exec("sh -c " + command);
                }it does what I want to, load the data to a certain table, BUT it takes too much time, Is there a faster way to load data to an oracle db from within java?
    Thanks, any advice is very welcome

    Have your DBA work on this issue - they can monitor and check performance of SQL*Loader
    SQL*Loader performance tips          [Document 28631.1]
    SQL*LOADER SLOW PERFORMANCE          [Document 1026145.6]
    Master Note for SQL*Loader          [Document 1264730.1]
    HTH
    Srini

  • Help with Could not load file or assembly 'msshrtmi' or one of its dependencies. An attempt was made to load a program with an incorrect format.

    This was all working yesterday, but this morning, I cannot run in the dev fabric, or even setting the website project as a startup project directly, I get the following error:
    Could not load file or assembly 'msshrtmi' or one of its dependencies. An attempt was made to load a program with an incorrect format.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    Exception Details: System.BadImageFormatException: Could not load file or assembly 'msshrtmi' or one of its dependencies. An attempt was made to load a program with an incorrect format.
    Source Error:
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
    Assembly Load Trace: The following information can be helpful to determine why the assembly 'msshrtmi' could not be loaded.
    === Pre-bind state information ===
    LOG: User = Andrew-VAIO\Andrew
    LOG: DisplayName = msshrtmi
    (Partial)
    WRN: Partial binding information was supplied for an assembly:
    WRN: Assembly Name: msshrtmi | Domain ID: 3
    WRN: A partial bind occurs when only part of the assembly display name is provided.
    WRN: This might result in the binder loading an incorrect assembly.
    WRN: It is recommended to provide a fully specified textual identity for the assembly,
    WRN: that consists of the simple name, version, culture, and public key token.
    WRN: See whitepaper http://go.microsoft.com/fwlink/?LinkId=109270 for more information and common solutions to this issue.
    LOG: Appbase = file:///C:/Users/Andrew/Desktop/Beko2011Azure/Website/
    LOG: Initial PrivatePath = C:\Users\Andrew\Desktop\Beko2011Azure\Website\bin
    Calling assembly : (Unknown).
    ===
    LOG: This bind starts in default load context.
    LOG: Using application configuration file: C:\Users\Andrew\Desktop\Beko2011Azure\Website\web.config
    LOG: Using host configuration file:
    LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
    LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
    LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/Temporary ASP.NET Files/root/cb955b02/eef106e2/msshrtmi.DLL.
    LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/Temporary ASP.NET Files/root/cb955b02/eef106e2/msshrtmi/msshrtmi.DLL.
    LOG: Attempting download of new URL file:///C:/Users/Andrew/Desktop/Beko2011Azure/Website/bin/msshrtmi.DLL.
    ERR: Failed to complete setup of assembly (hr = 0x8007000b). Probing terminated.
    Stack Trace:
    [BadImageFormatException: Could not load file or assembly 'msshrtmi' or one of its dependencies. An attempt was made to load a program with an incorrect format.]
    System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) +0
    System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) +39
    System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection, Boolean suppressSecurityChecks) +132
    System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +144
    System.Reflection.Assembly.Load(String assemblyString) +28
    System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +46
    [ConfigurationErrorsException: Could not load file or assembly 'msshrtmi' or one of its dependencies. An attempt was made to load a program with an incorrect format.]
    System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +618
    System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory() +209
    System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai) +130
    System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig) +178
    System.Web.Compilation.BuildManager.GetPreStartInitMethodsFromReferencedAssemblies() +94
    System.Web.Compilation.BuildManager.CallPreStartInitMethods() +332
    System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException) +677
    [HttpException (0x80004005): Could not load file or assembly 'msshrtmi' or one of its dependencies. An attempt was made to load a program with an incorrect format.]
    System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +9079228
    System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +97
    System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +258
    Note that the dev machine is x64 Win7.
    I have not tried deploying this to staging since the issue started as I'm a bit nervous of touching the staging/live environment until this is solved.
    Removing the PlatformTarget element from the project file has no effect
    Removing the msshrtmi.dll file from the bin directory of the website project ends up with 
    'Could not load file or assembly 'Microsoft.WindowsFabric.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified'
    I have used Git to revert to the last working build to no effect (But I don't have the obj/bin folders in GIT), but it has atleast reset the project files etc.
    If I return msshrtmi.dll to the bin folder and switch the model and website projects to x64 there is no change
    If I switch both to x86 then I get an error Could not load file or assembly 'BekoModel2011' or one of its dependencies. An attempt was made to load a program with an incorrect format.
    which is the model project - presumably because to run on my x64 machine I need the 64bit version?
    I really need to be able to debug and then publish some changes ASAP.
    Andrew

    Hi,
    Is it true that you're using IIS to host the application? Could you check whether the process is x64 or x86 one via task manager or config in IIS manager?
    http://blogs.msdn.com/b/rakkimk/archive/2007/11/03/iis7-running-32-bit-and-64-bit-asp-net-versions-at-the-same-time-on-different-worker-processes.aspx
    Allen Chen [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • Using Firefox 4 & Windows 7. Everytime I start Firefox from a shortcut to a website it comes up with the following error 'there was a problem sending the command to the program'. The requested website does load after this. with no problems.

    Using Firefox 4 & Windows 7. Everytime I start Firefox from a shortcut to a website it comes up with the following error 'there was a problem sending the command to the program'. The requested website does load after this. with no problems.
    If a shortcut is used while Firefox is already open the error does not occur.

    As reported in earlier replies, the annoyance disappeared after I upgraded to Roboform 7.5.6, from 7.5.4.
    Regards, Steve

Maybe you are looking for

  • Bank key during creation of house bank

    Hi, When we create a new house bank via FI12, we need to specify the bank key.  The problem here is that the bank key is system generated.  Usually for creation of house bank, we will create in development and transport to PROD.  However, we have pro

  • Problem with java packages

    i have defined a package that contains numerous files. the package is com.assignment. now there are two files inside the package namely member and friends. when i try to call the member class in the friends class suppose member newmember; it gives me

  • Mobile Me IMAP server rejected password

    I am new to mac and not very tech oriented. I have not recieved any mail today and a box with this message continues to pop up: The MobileMe IMAP server "mail.mac.com" rejected the password for user "phonechick" I do not use Comcast. I read on one bo

  • SolMan_Setup - Check Prerequistes fails

    When running "Managed System Configuration ->Check Prerequisites" job SMSSETUP:AGS_MS_CHECK_PREQ fails with error message "Incorrect call of RSTG". Job Log: Date       Time     Message text                                                             

  • Some users can't open PDFs

    Hello We have an issue with some users not being able to open or save PDFs. This is only happing with a few users. It happens through the browser AND through SharePoint views in our CRM (Dynamics), so not a browser issue. They can open the document b