Inconsistent results with Windows App Certification Kit

Hi, I asked about this issue before on a different forum but didn't get a response. Support pointed me towards this forum so I'm asking here as maybe the other forum wasn't the appropriate one. My company is attempting to renew our ms partnership, and we are
trying to certify our desktop
app for windows 8. I have attached a screen shot below showing the registry entries that our app makes. When we try to test for certification (windows 8) we get the different (but similar) results on different systems using the exact same installation package.
Here is an example of the results we get:
Results:
An optional value 'VersionMajor' is missing or invalid      for program Chiro8000.
An optional value 'VersionMinor' is missing or invalid      for program Chiro8000.
An optional value 'MajorVersion' is missing or invalid      for program Chiro8000.
An optional value 'MinorVersion' is missing or invalid      for program Chiro8000.
A non-optional value 'DisplayName' is missing or      invalid for program Chiro8000.
A non-optional value 'Publisher' is missing or invalid      for program Chiro8000.
A non-optional value 'ProductVersion' is missing or      invalid for program Chiro8000.
An optional value 'InstallLocation' is missing or      invalid for program Chiro8000.
Can anyone point us in the right direction?

How did you publish this package? Here are some similar questions, maybe caused by installer:
http://stackoverflow.com/questions/21182856/windows-app-certification-kit-test-result-app-didnt-create-the-require-regist
http://www.advancedinstaller.com/forums/viewtopic.php?f=2&t=21368
http://www.advancedinstaller.com/forums/viewtopic.php?f=2&t=29782
https://social.msdn.microsoft.com/Forums/vstudio/en-US/e61c393d-e5af-4fee-ad8b-29c36e889043/windows-app-certification-kit-tests-fail-for-desktop-app-installed-from-msi?forum=windowscompatibility
Best Regards,
Please remember to mark the replies as answers if they help

Similar Messages

  • Windows App Certification Kit - Test Fails for Validate Desktop App at "Write appropriate Add/Remove Program values"

    Hi,
    I am trying to validate a .Net Framework 4 WinForms application for use in the Microsoft Partner Network portal.
    I am using Windows App Certification Kit 3.4 for Windows 8.1 , and the Validate Desktop App option.
    To build the package I am using InstallShield 2012 SPR Limited Edition (for Visual Studio), and the validation fails
    only with the following error (please also see the attached image):
    Clean reversible install test: Failed to Write appropriate Add/Remove Program values
    Error Found: The registry population test detected the following error: app didn't create the required registry entries.
    A non-optional value 'DisplayName' is missing or invalid (same for 'Publisher', 'ProductVersion')
    Please note that I have filled in all the publisher/product details in the InstallShield project, on the General Information page.
    Also I have tried to use the Microsoft Visual Studio Installer Project for VS2013, and the validation failed with the exact same error.
    (https://visualstudiogallery.msdn.microsoft.com/9abe329c-9bba-44a1-be59-0fbf6151054d)
    Any help would be very appreciated.
    Thank you.

    You may need to add the necessary info to the app’s Windows Installer package so it can configure Add/Remove Programs in Control Panel correctly. Setting these properties automatically writes the corresponding values into the registry. From the picture,
    you are missing some necessary information about your desktop app.
    Also You need the correct admin permissions to write to the registry.
    Please refer to this thread:
    http://stackoverflow.com/questions/21182856/windows-app-certification-kit-test-result-app-didnt-create-the-require-regist
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Windows App Certification Kit 3.4 error occurred while generating the report (the application will exit)

    Hi all,
    I've encounter a pretty big issue while trying to check if everything with my windows phone 8.1 app is all right. After creating package (*.appx) I launched Windows App Certification Kit 3.4 to run it against all the test. Each time I try I get an error saying
    "an error occurred while generating the report. the application will exit" and Certification tool just crushes
    I looked online for some solutions but couldn't find any. Somebody knows what is going on and how to fix it ?
    Can't insert images into post because of not verified account so imgur:
    http://imgur.com/ptT0cU3

    Try sending it to store anyway… I have the similar issue, the kit hangs when saving result and never complete it.
    Another member has same question.
    https://social.technet.microsoft.com/Forums/en-US/11910167-75e1-47d8-a0fb-fb8046c57f89/windows-app-certification-kit-31-reports-failure-due-to-crash-or-hang?forum=projectsiena.
    If you want to test your app, you can also send to beta store and you can get response from the testers.

  • [WPSL]Windows App Certification Kit Test Fails, binary is built in debug mode

    Hi,
    Windows phone 8.1 App fails Windows App Certification Kit test (WACK Test).
    It is producing below error in Debug configuration test,
    The debug configuration test detected the following errors:
     1)The binary Phone.Controls.dll is built in debug mode.
    Impact if not fixed:  Windows Phone Store doesn’t allow a debug version of an app. 
    How to fix:  Please make sure the app isn't linking to any debug versions of a framework and it is built with the release configuration
    And i got a solution like,
    Universal Apps (And Silverlight 8.1 Apps) have a different certification requirement. You cannot publish assemblies built in debug mode.
    You'll need to contact the NuGet authors of ICSharpCode and ImageTools and have them provide you with a version built in release mode.
    How to proceed with this solution. I'm very help full if any solution provided.
    Thanks and Regards,
    Ranjit.

    Hi Franklin,
    Thanks for your replay. I created my package in 'Release' mode only.
    Actually my project in windows phone 7.1 and i upgraded it to windows phone 8.1. In "Release" mode i created my build, but i'm having this error in WACK(Windows
    App Certification Kit) test.
    I'm able to run my App in windows phone 8.1, but if i submit it to store then will be rejected definitely.
    The debug configuration test detected the following errors:
     1)The binary Phone.Controls.dll is built in debug mode.
    The WACK test fails in debug configuration test, for "Phone.Controls.dll "
    it is built in debug mode.
    There should be a solution like, how to convert .dll to release mode.
    Please help me in this.
    Thanks 
    Ranjit.
    Hi ranjit,
    >>Actually my project in windows phone 7.1 and i upgraded it to windows phone 8.1
    Okay, this may be due to the upgrading process, could you tell us what the detailed version of your Visual Studio is(for example: Visual Studio 2013 Update 4)?
    You may need to create a new Windows Phone 8.1 Silverlight project and try to upload it to Store, if this problem can be resolved, I think this should be related to the upgrading process, you may need to start from scratch by recreating a WP8.1 SL project.
    To exclude environment facts, I would also suggest you retesting it on a new machine with the latest IDE.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Windows App Certification Kit Test Fails, binary is built in debug mode

    Hi,
    Windows phone 8.1 App fails Windows App Certification Kit test (WACK Test).
    It is producing below error in Debug configuration test,
    The debug configuration test detected the following errors:
     1)The binary Phone.Controls.dll is built in debug mode.
    Impact if not fixed:  Windows Phone Store doesn’t allow a debug version of an app. 
    How to fix:  Please make sure the app isn't linking to any debug versions of a framework and it is built with the release configuration
    And i got a solution like,
    Universal Apps (And Silverlight 8.1 Apps) have a different certification requirement. You cannot publish assemblies built in debug mode.
    You'll need to contact the NuGet authors of ICSharpCode and ImageTools and have them provide you with a version built in release mode.
    How to proceed with this solution. I'm very help full if any solution provided.
    Thanks and Regards,
    Ranjit.

    Hi Franklin,
    Thanks for your replay. I created my package in 'Release' mode only.
    Actually my project in windows phone 7.1 and i upgraded it to windows phone 8.1. In "Release" mode i created my build, but i'm having this error in WACK(Windows
    App Certification Kit) test.
    I'm able to run my App in windows phone 8.1, but if i submit it to store then will be rejected definitely.
    The debug configuration test detected the following errors:
     1)The binary Phone.Controls.dll is built in debug mode.
    The WACK test fails in debug configuration test, for "Phone.Controls.dll "
    it is built in debug mode.
    There should be a solution like, how to convert .dll to release mode.
    Please help me in this.
    Thanks 
    Ranjit.

  • Errors when running Windows App Certification Kit for desktop application

    Hi,
    I ran the tool over our application and there was only one area in which it failed. However, all the files it mentions in the log are files that were created by the tool itself!
    The errors are included below.
    Can you please advise how I should proceed?
    Attack surface analyzer
    Error Found: The attack surface analyzer test detected the following errors:
                Weak ACL on C:\Temp\Default\MacroView.DMF.LocalService.exe\MacroView.DMF.LocalService.XmlSerializers, Version=7.8.2005.0, Culture=neutral, PublicKeyToken=6f7d66a3bb7de652.HTM allows tampering
    by multiple non-administrator accounts.          
    File: C:\Temp\Default\MacroView.DMF.LocalService.exe\MacroView.DMF.LocalService.XmlSerializers, Version=7.8.2005.0, Culture=neutral, PublicKeyToken=6f7d66a3bb7de652.HTM Writable by:  Authenticated Users Rights: FILE_WRITE_ATTRIBUTES, FILE_WRITE_EA,
    FILE_APPEND_DATA, FILE_WRITE_DATA
                The folder C:\Temp\Default\te.processhost.exe contains files and/or folders with ACLs that allow tampering by multiple non-administrator accounts.          
    Folder: C:\Temp\Default\te.processhost.exe     Contents with bad ACLs:  1. C:\Temp\Default\te.processhost.exe\WhereRefBind!Host=(LocalMachine)!FileName=(appxman.dll).HTM 2. C:\Temp\Default\te.processhost.exe\WhereRefBind!Host=(LocalMachine)!FileName=(binaryinfo.dll).HTM
    3. C:\Temp\Default\te.processhost.exe\WhereRefBind!Host=(LocalMachine)!FileName=(certcom.dll).HTM 4. C:\Temp\Default\te.processhost.exe\WhereRefBind!Host=(LocalMachine)!FileName=(compresslib.dll).HTM 5. C:\Temp\Default\te.processhost.exe\WhereRefBind!Host=(LocalMachine)!FileName=(CoreLibrary.dll).HTM
    6. C:\Temp\Default\te.processhost.exe\WhereRefBind!Host=(LocalMachine)!FileName=(filetrace.dll).HTM 7. C:\Temp\Default\te.processhost.exe\WhereRefBind!Host=(LocalMachine)!FileName=(microsoft.windows.softwarelogo.appxmanifestresourcesvalidation.tests.dll).HTM
    8. C:\Temp\Default\te.processhost.exe\WhereRefBind!Host=(LocalMachine)!FileName=(microsoft.windows.softwarelogo.direct3d.tests.dll).HTM 9. C:\Temp\Default\te.processhost.exe\WhereRefBind!Host=(LocalMachine)!FileName=(microsoft.windows.softwarelogo.metadatavalidation.tests.dll).HTM
    10. C:\Temp\Default\te.processhost.exe\WhereRefBind!Host=(LocalMachine)!FileName=(msdia100.dll).HTM 11. C:\Temp\Default\te.processhost.exe\WhereRefBind!Host=(LocalMachine)!FileName=(msvcp110.dll).HTM 12. C:\Temp\Default\te.processhost.exe\WhereRefBind!Host=(LocalMachine)!FileName=(msvcr110.dll).HTM
    13. C:\Temp\Default\te.processhost.exe\WhereRefBind!Host=(LocalMachine)!FileName=(perf_exporter.dll).HTM 14. C:\Temp\Default\te.processhost.exe\WhereRefBind!Host=(LocalMachine)!FileName=(prchauto.dll).HTM 15. C:\Temp\Default\te.processhost.exe\WhereRefBind!Host=(LocalMachine)!FileName=(symsrv.dll).HTM
    16. C:\Temp\Default\te.processhost.exe\WhereRefBind!Host=(LocalMachine)!FileName=(wamv.dll).HTM 17. C:\Temp\Default\te.processhost.exe\WhereRefBind!Host=(LocalMachine)!FileName=(WindowsTasks.dll).HTM Writable by:  Authenticated Users Rights: FILE_WRITE_ATTRIBUTES,
    FILE_WRITE_EA, FILE_APPEND_DATA, FILE_WRITE_DATA
                The folder C:\Temp\NativeImage\te.processhost.exe contains files and/or folders with ACLs that allow tampering by multiple non-administrator accounts.          
    Folder: C:\Temp\NativeImage\te.processhost.exe     Contents with bad ACLs:  1. C:\Temp\NativeImage\te.processhost.exe\System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089.HTM 2. C:\Temp\NativeImage\te.processhost.exe\System.Drawing,
    Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a.HTM 3. C:\Temp\NativeImage\te.processhost.exe\System.ServiceProcess, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a.HTM 4. C:\Temp\NativeImage\te.processhost.exe\System.Web.Services,
    Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a.HTM 5. C:\Temp\NativeImage\te.processhost.exe\System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089.HTM Writable by:  Authenticated Users Rights: FILE_WRITE_ATTRIBUTES,
    FILE_WRITE_EA, FILE_APPEND_DATA, FILE_WRITE_DATA
    http://www.sharepointblogs.com/aaronrh

    Please try setting the Platform(s) to "ARM" or "Neutral". Currently it's set to "Mixed Platform", and the inner Platforms are set to "Any CPU".
    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.
    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined
    objects and unknown namespaces.

  • Error 0x80070005 with Windows Ap Certification Kit

    I am getting the following error:
    I went to
    http://go.microsoft.com/fwlink/?linkId=235160 as suggested, but could not find anything of 0x80070005.  I am wondering if anyone could shed some light on this.
    Hong

    Hi Hong - 0x80070005 literally means "Access Denied" on a resource.  You can run Process Monitor while running WACK and see which resource is throwing that code.
    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.
    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined
    objects and unknown namespaces.

  • Inconsistent results with localtimestamp and current_timestamp

    Running XE on Windows XP with the system timezone to GMT rebooted, restarted XE)
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Product
    PL/SQL Release 10.2.0.1.0 - Production
    CORE     10.2.0.1.0     Production
    TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    I'm getting incorrect and inconsistent results with current_timestamp and localtimestamp:
    With SQL, localtimestamp computes the wrong offset (appears to use 1987-2006 DST rules):
    select
    dbtimezone
    , sessiontimezone
    , current_timestamp
    , current_timestamp + numtodsinterval(18,'day') as current_timestamp18
    , localtimestamp
    from dual;
    +00:00     
    US/Eastern     
    17-MAR-10 10.27.17.376000000 AM US/EASTERN     
    04-APR-10 10.27.17.376000000 AM US/EASTERN     
    17-MAR-10 09.27.17.376000000 AM
    however, in PL/SQL, both current_timestamp and localtimestamp return the wrong hour value, and adding 18 to current_timestamp shows it is using 1987-2006 DST rules (1st sunday of april)/ note that this happens in straight PL/SQL and in embedded SQL (same results selecting from tables other than DUAL):
    begin
    for r1 in (
    select
    dbtimezone
    , sessiontimezone
    , current_timestamp
    , current_timestamp + numtodsinterval(18,'day') as current_timestamp18
    , localtimestamp
    from dual
    loop
    dbms_output.put_line('SQL dbtimezone = ' || r1.dbtimezone);
    dbms_output.put_line('SQL sessiontimezone = ' || r1.sessiontimezone);
    dbms_output.put_line('SQL current_timestamp = ' || r1.current_timestamp);
    dbms_output.put_line('SQL current_timestamp +18 = ' || r1.current_timestamp18);
    dbms_output.put_line('SQL localtimestamp = ' || r1.localtimestamp);
    end loop;
    dbms_output.put_line('dbtimezone = ' || dbtimezone);
    dbms_output.put_line('sessiontimezone = ' || sessiontimezone);
    dbms_output.put_line('systimestamp = ' || systimestamp);
    dbms_output.put_line('current_timestamp = ' || current_timestamp);
    dbms_output.put_line('current_timestamp +18 = ' || (current_timestamp + numtodsinterval(18,'day')));
    dbms_output.put_line('localtimestamp = ' || localtimestamp);
    end;
    SQL dbtimezone = +00:00
    SQL sessiontimezone = US/Eastern
    SQL current_timestamp = 17-MAR-10 09.29.32.784000 AM US/EASTERN
    SQL current_timestamp +18 = 04-APR-10 10.29.32.784000000 AM US/EASTERN
    SQL localtimestamp = 17-MAR-10 09.29.32.784000 AM
    dbtimezone = +00:00
    sessiontimezone = US/Eastern
    systimestamp = 17-MAR-10 02.29.32.784000000 PM +00:00
    current_timestamp = 17-MAR-10 09.29.32.784000000 AM US/EASTERN
    current_timestamp +18 = 04-APR-10 10.29.32.784000000 AM US/EASTERN
    localtimestamp = 17-MAR-10 09.29.32.784000000 AM
    dbtimezone = +00:00
    sessiontimezone = US/Eastern
    systimestamp = 17-MAR-10 02.16.21.366000000 PM +00:00
    current_timestamp = 17-MAR-10 09.16.21.366000000 AM US/EASTERN
    current_timestamp +18 = 04-APR-10 10.16.21.366000000 AM US/EASTERN
    localtimestamp = 17-MAR-10 09.16.21.366000000 AM
    is this a known bug?
    is there a patch or a work-around for XE?
    are other datasbase versions affected?

    Can't patch XE, unfortunately it comes with pre-2007 DST rules.
    There is a metalink note describing how to fix the DST changes, and while it's not really a "supported" method, neither is XE- if you can get updated timezone files from a later patch set for the same release, 10gR2, on the right operating system, shutdown/startup the database the updated DST rules will be in place. The timezone files are in $ORACLE_HOME/oracore/zoneinfo.
    Another unfortunately, any values already stored in the database using timestamp with local timezone datatypes for the affected period of the DST changes won't be correct, i.e. there is no 2010-03-14 02:01 (?) but with older timezone rules in place that would be a valid timestamp. The data has to be saved before updating the timezone file, and re-translated to timestamp w/local tz datatypes after the update.
    IMHO storing literal timezone info isn't an ideal practice, let the client settings do the time interpretation, time is always changing. Its the interpretation of the time that gets changed. From time to time. :(

  • Windows App Certification Toolkit fails on Certification requirements for Windows desktop apps Point 5.5

    Using the latest Version 3.4 of Windows App Certification Toolkit to check Windows 8.1 compatibility our Installer was not approved on:
    Certification requirements for Windows desktop apps
    5.5 Your app installer must create the correct registry entries to allow successful detection and uninstalls
    But all necessary settings are done and after the installation of our application we will find all settings in the registry.
    We use an MSI Installer embedded in a bootstrapper exe. The MSI Installer is made with the WiX Toolset V3.6.
    The same Application Installer got approved on November, 2014.
    We checked this issue against the latest version of MSThreatModelingToolkit installer which also was made with WiX toolset and it fails, too.
    So is there a higher restriction or do we miss anything?

    Hi Wibudev,
    I would suggest you to double check if you have miss something in registry, per documentation mentioned, the installation module must create the following registry entries during installation:
    DisplayName
    InstallLocation
    Publisher
    UninstallString
    VersionMajor or MajorVersion
    VersionMinor or MinorVersion
    WACK 3.4 is the latest version, I don't think there would be any higher restriction but I will recommend you to test with another computer to see if the validate fails again. Sometimes the issue could be on the PC environment.
    --James
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Inconsistent results with MDX formula

    Hi. I'm converting a BSO cube to ASO, and it has dynamically calculated formulas that I'm converting to MDX. I have a formula that is supposed to accumulate an account (Order Intake) through the months and years until it gets to the current month of the current year (set by substitution variables) and then just carries that balance forward until the end.
    This is the formula I wrote in MDX.
    IIF( Count( Intersect( {MemberRange([Years].[FY95], [&Auto_CurYr].Lag(1))}, {Years.CurrentMember} ) ) = 1,
    IIF(CurrentMember ([Period]) = [Jan],
    [Order Intake] + ([Contract Value],[Adj],[Years].CurrentMember.PrevMember),     
    [Order Intake] + ([Contract Value],[Period].CurrentMember.PrevMember)
    IIF( CurrentMember ([Years]) = [&Auto_CurYr],
    IIF( CurrentMember ([Period]) = [Jan],
    [Order Intake] + ([Contract Value],[Adj],[Years].CurrentMember.PrevMember),
    IIF( Count( Intersect( {MemberRange([Period].[Feb], [&Auto_CurMoNext_01].Lag(1))}, {Period.CurrentMember} ) ) = 1,
    [Order Intake] + ([Contract Value],[Period].CurrentMember.PrevMember),
    ([Contract Value],[Period].CurrentMember.PrevMember)
    ([Contract Value],[Adj],[Years].CurrentMember.PrevMember) /*This is the statement that evaluates for months and years after the current month and year*/
    The inconsistent results are as follows:
    I have a spreadsheet that has the years and months across the top in columns. The substitution variables are set to FY09 for the year and Oct for the month. The formula works fine until it gets to Jan of FY10, at which point it produces a number out of thin air, and carries that incorrect number through to the end.
    When I put the years and months into my rows, however, and then drill down on the months, I get different results. Not only different, but different results at different times, too. When I first drilled, all results were correct. Now when I drill, it produces a random number in October of FY09 (not entirely random, but actually double what it's supposed to be), then #missing in Nov of FY09, then the correct number thereafter. Same exact data intersection on both spreadsheets, different results. I've retrieved over and over again, and the only time it might change is if I re-drill. I've used both Essbase Add-in and Smart View with consistently inconsistent results.
    Has anyone ever encountered this sort of behavior with an MDX formula?

    Well, I finally got a formula that works. I did end up using a combination of CASE and IIF, but I never did figure out how to deal with summing up ranges of data correctly, accounting for changing substitution variables, so I had to do a lot of hard coding by month. For instance, I couldn't ask it to sum([Order Intake],[Jan],[&Auto_CurYr]:([Order Intake],[&Auto_CurMo],[&Auto_CurYr]). Although it validated fine, when I tried to retrieve it said members were not of the same generation, presumably because my substitution variable could potentially be a non - level 0 month (it worked if I hard coded the end month). Also, I really don't like the MDX version of @LSIBLINGS and @RSIBLINGS.
    But this works.
    CASE
    When Count( Intersect( {MemberRange([Years].[FY95], [&Auto_CurYr].Lag(1))}, {Years.CurrentMember} ) ) = 1
    THEN IIF(CurrentMember ([Period]) = [Jan],
    [Order Intake] + sum(([Order Intake],[YearTotal],[FY95]):([Order Intake],[YearTotal],[Years].CurrentMember.PrevMember)),
    IIF(CurrentMember ([Period]) = [Feb],
    Sum(CrossJoin({[Order Intake]}, {[Jan]:[Feb]})) + sum(([Order Intake],[YearTotal],[FY95]):([Order Intake],[YearTotal],[Years].CurrentMember.PrevMember)),
    IIF(CurrentMember ([Period]) = [Mar],
    Sum(CrossJoin({[Order Intake]}, {[Jan]:[Mar]})) + sum(([Order Intake],[YearTotal],[FY95]):([Order Intake],[YearTotal],[Years].CurrentMember.PrevMember)),
    IIF(CurrentMember ([Period]) = [Apr],
    Sum(CrossJoin({[Order Intake]}, {[Jan]:[Apr]})) + sum(([Order Intake],[YearTotal],[FY95]):([Order Intake],[YearTotal],[Years].CurrentMember.PrevMember)),
    IIF(CurrentMember ([Period]) = [May],
    Sum(CrossJoin({[Order Intake]}, {[Jan]:[May]})) + sum(([Order Intake],[YearTotal],[FY95]):([Order Intake],[YearTotal],[Years].CurrentMember.PrevMember)),
    IIF(CurrentMember ([Period]) = [Jun],
    Sum(CrossJoin({[Order Intake]}, {[Jan]:[Jun]})) + sum(([Order Intake],[YearTotal],[FY95]):([Order Intake],[YearTotal],[Years].CurrentMember.PrevMember)),
    IIF(CurrentMember ([Period]) = [Jul],
    Sum(CrossJoin({[Order Intake]}, {[Jan]:[Jul]})) + sum(([Order Intake],[YearTotal],[FY95]):([Order Intake],[YearTotal],[Years].CurrentMember.PrevMember)),
    IIF(CurrentMember ([Period]) = [Aug],
    Sum(CrossJoin({[Order Intake]}, {[Jan]:[Aug]})) + sum(([Order Intake],[YearTotal],[FY95]):([Order Intake],[YearTotal],[Years].CurrentMember.PrevMember)),
    IIF(CurrentMember ([Period]) = [Sep],
    Sum(CrossJoin({[Order Intake]}, {[Jan]:[Sep]})) + sum(([Order Intake],[YearTotal],[FY95]):([Order Intake],[YearTotal],[Years].CurrentMember.PrevMember)),
    IIF(CurrentMember ([Period]) = [Oct],
    Sum(CrossJoin({[Order Intake]}, {[Jan]:[Oct]})) + sum(([Order Intake],[YearTotal],[FY95]):([Order Intake],[YearTotal],[Years].CurrentMember.PrevMember)),
    IIF(CurrentMember ([Period]) = [Nov],
    Sum(CrossJoin({[Order Intake]}, {[Jan]:[Nov]})) + sum(([Order Intake],[YearTotal],[FY95]):([Order Intake],[YearTotal],[Years].CurrentMember.PrevMember)),
    Sum(CrossJoin({[Order Intake]}, {[Jan]:[Dec]})) + sum(([Order Intake],[YearTotal],[FY95]):([Order Intake],[YearTotal],[Years].CurrentMember.PrevMember))
    When CurrentMember ([Years]) IS [&Auto_CurYr]
    THEN IIF(CurrentMember ([Period]) = [Jan],
    [Order Intake] + sum(([Order Intake],[YearTotal],[FY95]):([Order Intake],[YearTotal],[Years].CurrentMember.PrevMember)),
    IIF(CurrentMember ([Period]) = [Feb] AND CONTAINS([Feb], {MEMBERRANGE([&Auto_CurMoNext_01].FirstSibling, [&Auto_CurMoNext_01].Lag(1))}),
    Sum(CrossJoin({[Order Intake]}, {[Jan]:[Feb]})) + sum(([Order Intake],[YearTotal],[FY95]):([Order Intake],[YearTotal],[Years].CurrentMember.PrevMember)),
    IIF(CurrentMember ([Period]) = [Mar] AND CONTAINS([Mar], {MEMBERRANGE([&Auto_CurMoNext_01].FirstSibling, [&Auto_CurMoNext_01].Lag(1))}),
    Sum(CrossJoin({[Order Intake]}, {[Jan]:[Mar]})) + sum(([Order Intake],[YearTotal],[FY95]):([Order Intake],[YearTotal],[Years].CurrentMember.PrevMember)),
    IIF(CurrentMember ([Period]) = [Apr] AND CONTAINS([Apr], {MEMBERRANGE([&Auto_CurMoNext_01].FirstSibling, [&Auto_CurMoNext_01].Lag(1))}),
    Sum(CrossJoin({[Order Intake]}, {[Jan]:[Apr]})) + sum(([Order Intake],[YearTotal],[FY95]):([Order Intake],[YearTotal],[Years].CurrentMember.PrevMember)),
    IIF(CurrentMember ([Period]) = [May] AND CONTAINS([May], {MEMBERRANGE([&Auto_CurMoNext_01].FirstSibling, [&Auto_CurMoNext_01].Lag(1))}),
    Sum(CrossJoin({[Order Intake]}, {[Jan]:[May]})) + sum(([Order Intake],[YearTotal],[FY95]):([Order Intake],[YearTotal],[Years].CurrentMember.PrevMember)),
    IIF(CurrentMember ([Period]) = [Jun] AND CONTAINS([Jun], {MEMBERRANGE([&Auto_CurMoNext_01].FirstSibling, [&Auto_CurMoNext_01].Lag(1))}),
    Sum(CrossJoin({[Order Intake]}, {[Jan]:[Jun]})) + sum(([Order Intake],[YearTotal],[FY95]):([Order Intake],[YearTotal],[Years].CurrentMember.PrevMember)),
    IIF(CurrentMember ([Period]) = [Jul] AND CONTAINS([Jul], {MEMBERRANGE([&Auto_CurMoNext_01].FirstSibling, [&Auto_CurMoNext_01].Lag(1))}),
    Sum(CrossJoin({[Order Intake]}, {[Jan]:[Jul]})) + sum(([Order Intake],[YearTotal],[FY95]):([Order Intake],[YearTotal],[Years].CurrentMember.PrevMember)),
    IIF(CurrentMember ([Period]) = [Aug] AND CONTAINS([Aug], {MEMBERRANGE([&Auto_CurMoNext_01].FirstSibling, [&Auto_CurMoNext_01].Lag(1))}),
    Sum(CrossJoin({[Order Intake]}, {[Jan]:[Aug]})) + sum(([Order Intake],[YearTotal],[FY95]):([Order Intake],[YearTotal],[Years].CurrentMember.PrevMember)),
    IIF(CurrentMember ([Period]) = [Sep] AND CONTAINS([Sep], {MEMBERRANGE([&Auto_CurMoNext_01].FirstSibling, [&Auto_CurMoNext_01].Lag(1))}),
    Sum(CrossJoin({[Order Intake]}, {[Jan]:[Sep]})) + sum(([Order Intake],[YearTotal],[FY95]):([Order Intake],[YearTotal],[Years].CurrentMember.PrevMember)),
    IIF(CurrentMember ([Period]) = [Oct] AND CONTAINS([Oct], {MEMBERRANGE([&Auto_CurMoNext_01].FirstSibling, [&Auto_CurMoNext_01].Lag(1))}),
    Sum(CrossJoin({[Order Intake]}, {[Jan]:[Oct]})) + sum(([Order Intake],[YearTotal],[FY95]):([Order Intake],[YearTotal],[Years].CurrentMember.PrevMember)),
    IIF(CurrentMember ([Period]) = [Nov] AND CONTAINS([Nov], {MEMBERRANGE([&Auto_CurMoNext_01].FirstSibling, [&Auto_CurMoNext_01].Lag(1))}),
    Sum(CrossJoin({[Order Intake]}, {[Jan]:[Nov]})) + sum(([Order Intake],[YearTotal],[FY95]):([Order Intake],[YearTotal],[Years].CurrentMember.PrevMember)),
    Sum(CrossJoin({[Order Intake]}, {[Jan]:[&Auto_CurMo]})) + sum(([Order Intake],[YearTotal],[FY95]):([Order Intake],[YearTotal],[Years].CurrentMember.PrevMember))
    WHEN CONTAINS([Years].CurrentMember, {MemberRange([&Auto_CurYr].Lead(1), [Years].[FY15])})
    THEN ([Contract Value],[Adj],[Years].&Auto_CurYr)
    END
    Thanks for looking at it, Gary, I appreciate it.
    Sabrina
    Edited by: SabrinaD on Nov 18, 2009 2:29 PM
    Edited by: SabrinaD on Nov 18, 2009 2:31 PM
    Edited by: SabrinaD on Nov 18, 2009 2:34 PM
    Edited by: SabrinaD on Nov 18, 2009 2:35 PM

  • Inconsistent results with ANSI LEFT JOIN on 9iR2

    Is this a known issue? Is it solved in 10g?
    With the following data setup, I get inconsistent results. It seems to be linked to the combination of using LEFT JOIN with the NULL comparison within the JOIN.
    create table titles (title_id int, title varchar(50));
    insert into titles values (1, 'Red Book');
    insert into titles values (2, 'Yellow Book');
    insert into titles values (3, 'Blue Book');
    insert into titles values (4, 'Orange Book');
    create table sales (stor_id int, title_id int, qty int, email varchar(60));
    insert into sales values (1, 1, 1, '[email protected]'));
    insert into sales values (1, 2, 1, '[email protected]');
    insert into sales values (3, 3, 4, null);
    insert into sales values (3, 4, 5, '[email protected]');
    SQL> SELECT titles.title_id, title, qty
    2 FROM titles LEFT OUTER JOIN sales
    3 ON titles.title_id = sales.title_id
    4 AND stor_id = 3
    5 AND sales.email is not null
    6 ;
    TITLE_ID TITLE QTY
    4 Orange Book 5
    3 Blue Book
    1 Red Book
    2 Yellow Book
    SQL>
    SQL> SELECT titles.title_id, title, qty
    2 FROM titles LEFT OUTER JOIN sales
    3 ON titles.title_id = sales.title_id
    4 AND 3 = stor_id
    5 AND sales.email is not null;
    TITLE_ID TITLE QTY
    2 Yellow Book 1
    4 Orange Book 5
    3 Blue Book
    1 Red Book
    It seems to matter what order I specify the operands stor_id = 3, or 3 = stor_id.
    In the older (+) environment, I would understand this, but here? I'm pretty sure most other databases don't care about the order.
    thanks for your insight
    Kevin

    Don't have a 9i around right now to test ... but in 10 ...
    SQL> create table titles (title_id int, title varchar(50));
     
    Table created.
     
    SQL> insert into titles values (1, 'Red Book');
     
    1 row created.
     
    SQL> insert into titles values (2, 'Yellow Book');
     
    1 row created.
     
    SQL> insert into titles values (3, 'Blue Book');
     
    1 row created.
     
    SQL> insert into titles values (4, 'Orange Book');
     
    1 row created.
     
    SQL> create table sales (stor_id int, title_id int, qty int, email varchar(60));
     
    Table created.
     
    SQL> insert into sales values (1, 1, 1, '[email protected]');
     
    1 row created.
     
    SQL> insert into sales values (1, 2, 1, '[email protected]');
     
    1 row created.
     
    SQL> insert into sales values (3, 3, 4, null);
     
    1 row created.
     
    SQL> insert into sales values (3, 4, 5, '[email protected]');
     
    1 row created.
     
    SQL> SELECT titles.title_id, title, qty
      2   FROM titles LEFT OUTER JOIN sales
      3   ON titles.title_id = sales.title_id
      4   AND stor_id = 3
      5   AND sales.email is not null
      6   ;
     
      TITLE_ID TITLE                                                     QTY
             4 Orange Book                                                 5
             3 Blue Book
             1 Red Book
             2 Yellow Book
     
    SQL>
    SQL> SELECT titles.title_id, title, qty
      2   FROM titles LEFT OUTER JOIN sales
      3   ON titles.title_id = sales.title_id
      4   AND 3 = stor_id
      5   AND sales.email is not null;
     
      TITLE_ID TITLE                                                     QTY
             4 Orange Book                                                 5
             3 Blue Book
             1 Red Book
             2 Yellow Book
    SQL> exit
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options

  • Programming for College with Windows Apps on bootcamp HELP?

    Hello everyone I come to you for help after a long search for the perfect laptop.
    Right now I am using a macbook late 2009 with multitouch. I love the features but after signing up for some programming classes for college I had to revise what laptop I should own.
    My question is if I'll be able to program on bootcamp with Windows 7 with windows applications like Dev C++, Microsoft Visual Studio, Eclipse, an assembler and the like with 100% compatibility?
    I am on a very low income but I think that Apple really gets it when it comes to mobile laptops. I haven't found anything comparable to a Macbook anywhere. I've seen some imitations like the HP Envy but when you look closely they do not come close.
    Laptop PC makers just don't get it with their 2 hour battery life, "Desktop replacements" and heavy laptops. What is the point of all that if it's not mobile.
    I can only own one laptop and I will upgrade to a 15 inch because I need the screen real state. I'm hoping that the answer will be YES to compatibility with programming applications on Windows 7.
    One last thing, I've heard of Xcode but college teaches on Windows Applications, there is no way around it. I need to use what everyone else is using right now.
    Thank you all.

    Hi and welcome to Discussions,
    running Windows with BootCamp on a Mac is like running Windows on any other given computer.
    Those programs you mentioned shouldn't give you any kind of problems.
    Only very low-level BIOS and/or hardware programming (in assembler) can arise problems due to some differences between Macs and 'other' PCs (like the lack of a full BIOS support).
    Other than that you're good to go.
    Have Fun
    Stefan

  • Need Help with Windows 7 Certifications Manager - Can't log on easily

    I have to do a complete restore of my 7 Windows Home Premium OS. I downloaded all of the drivers, got everything up and running, but now whenever I use Firefox, the only browser I utilize, I always get the pop-up caution box that states "Do you want to allow the following program to make changes to this computer?" I looked at where the default was set for that message, and it is set according to Windows' recommendations. Even though I have good virus protection (the complete Avast version), I am not comfortable with the thought of disabling the feature completely.
    I have no experience with certificates, but with the use of Windows Help, I was able to get to the program, but I found NO program with mozilla in the string.
    I think the problem is with a certification, but I have never had this problem before and would very much appreciate any assistance!
    Thank you,
    Belle

    Hello Whatsername,
    BugCheckCode 10 is the decimal version of this error 0x0000000A.
    Please start by trying to apply the hotfix that is listed on this Microsoft kb article
    Error message on a blue screen on a computer that is running Windows 7 or Windows Server 2008 R2: "S...
    If I have helped you in any way click the Kudos button to say Thanks.
    The community works together, click Accept as Solution on the post that solves your issue for other members of the community to benefit from the solution.
    - Friendship is magical.

  • Need AV or IS Software for Mac with Windows apps?

    I would like to know if it is advisable to install anti-virus or Internet security software on a Mac if you run both Mac and Windows applications. I ask this question because I understand that those programs may not as necessary for Mac applications only but I wonder if the Windows applications that I installed under Parallels Desktop 7 will cause the computer to be  vulnerable. I also wonder whether in installation of the AV or IS software will protect both the Mac and Windows virtual machines. Thanks

    Antivirus software for OS X is not necessary. However if you run MS Windows in any fashion meaning via Boot Camp or virtualization software such as Parallels or Fusion then you should treat the MS Windows installation as you would ANY MS Windows installation, in other words install antivirus software for MS Windows! The good news is even if your MS Windows becomes totally diseased this will in no way affect the OS X installation.
    In your case because you have installed Windows in Parallels then get yourself some antivirus software for MS Windows and install away. You can resist the urge for antivirus software for OS X though for many reasons, first an foremost is there are zero (none, nada, zip) viruses for OS X. While there are some trojans out there for OS X they are few and far between. The primary difference between a Trojan and virus is that Trojans must be downloaded and installed by the user. The lesson to learn here is  only download from trusted sites and any site that tells you to download something should be approached with a great deal of caution. In other words if you aren't sure don't do it and come to a these forums and ask. The next reason OS X doesn't need antivirus software is most take up a lot resources on your computer and slow it down, and finally many tend to create more problems than they solve. If you still aren't convinced then download ClamXav, it's free, unobtrusive and kept up-to-date.

  • Inconsistent results with SDO_RELATE and boundary conditions

    Hello,
    I am using SDO_RELATE to find all points in one table with any interaction with a polygon selected from a second table. Pretty basic stuff. I noticed one point which exactly matches a vertex on the query polygon was not getting selected as expected. Experimenting a bit I found if I embedded the polygon geometry in the query (rather than selecting it from its table) the query selected the point in question! Experimenting further I found if I changed the query relation from ANYINTERACT to TOUCH the point in question was not selected. So my 2 questions are:
    1) What would cause this to fail when the query polygon is being selected from the table?
    2) How can ANYINTERACT be true but TOUCH be false?
    Here is the first query that fails:
    SELECT a.point_id
    FROM point_table a, poly_table b
    WHERE a.point_id = <point which matches poly vertex>
    AND b.poly_id = <poly_id>
    AND SDO_RELATE (a.geom, b.geom, 'mask=ANYINTERACT querytype=WINDOW') = 'TRUE';
    Here is the query that works:
    SELECT a.point_id
    FROM point_table a, poly_table b
    WHERE a.point_id = <point which matches poly vertex>
    AND SDO_RELATE (a.geom,
    MDSYS.SDO_GEOMETRY(2003, 8265, NULL,
    MDSYS.SDO_ELEM_INFO_ARRAY(1, 1003, 1),
    MDSYS.SDO_ORDINATE_ARRAY(-82.414884, 28.0094323,
    -82.387158, 28.0116258, -82.378891, 28.0131216,
    -82.377988, 28.0133894, -82.37555, 28.0143994,
    -82.329352, 28.0661089, -82.313207, 28.1006725,
    -82.362246, 28.1261981, -82.445319, 28.1139363,
    -82.428389, 28.0245891, -82.422103, 28.0117697,
    -82.421382, 28.0109085, -82.419096, 28.0099741,
    -82.414884, 28.0094323)),
    'mask=ANYINTERACT querytype=WINDOW') = 'TRUE';
    Here is the second query that fails (ANYINTERACT -> TOUCH):
    SELECT a.point_id
    FROM point_table a, poly_table b
    WHERE a.point_id = <point which matches poly vertex>
    AND SDO_RELATE (a.geom,
    MDSYS.SDO_GEOMETRY(1003, 8265, NULL,
    MDSYS.SDO_ELEM_INFO_ARRAY(1, 2003, 1),
    MDSYS.SDO_ORDINATE_ARRAY(-82.414884, 28.0094323,
    -82.387158, 28.0116258, -82.378891, 28.0131216,
    -82.377988, 28.0133894, -82.37555, 28.0143994,
    -82.329352, 28.0661089, -82.313207, 28.1006725,
    -82.362246, 28.1261981, -82.445319, 28.1139363,
    -82.428389, 28.0245891, -82.422103, 28.0117697,
    -82.421382, 28.0109085, -82.419096, 28.0099741,
    -82.414884, 28.0094323)),
    'mask=TOUCH querytype=WINDOW') = 'TRUE';
    The point geometry being selected from the point_table looks like this:
    MDSYS.SDO_GEOMETRY(2001, 8265, NULL,
    MDSYS.SDO_ELEM_INFO_ARRAY(1, 1, 1),
    MDSYS.SDO_ORDINATE_ARRAY(-82.445319, 28.1139363))
    The metadata for these 2 tables looks like this:
    POINT_TABLE
    GEOM
    SDO_DIM_ARRAY(SDO_DIM_ELEMENT('X', -180, 180, .05),
    SDO_DIM_ELEMENT('Y', -90, 90, .05))
    8265
    POLY_TABLE
    GEOM
    SDO_DIM_ARRAY(SDO_DIM_ELEMENT('X', -180, 180, .05),
    SDO_DIM_ELEMENT('Y', -90, 90, .05))
    8265
    Both tables have R-tree indexes built.
    System is Oracle9i Enterprise Edition Release 9.2.0.5.0 with sdo_version = 9.2.0.5.0
    Is it a problem that my points are stored as SDO_ORDINATES? Is the tolerance a factor? Is geodetic data a factor?
    Let me know if any other information would be useful and thank you for your help!
    James

    I am continuing to struggle with this one. I gave up on the SDO_RELATE function under the assumption the tolerance does not come into play for this function (is this true?).
    Now I am trying to use the SDO_GEOM.RELATE function with a tolerance to make this work and it is not working as I would expect.
    The following 2 queries show the distance between this point and this polygon is 0 yet they are disjoint. How can this be??
    Thanks, James
    SQL> SELECT SDO_GEOM.SDO_DISTANCE(
    2 MDSYS.SDO_GEOMETRY(2001, 8265, NULL,
    3 MDSYS.SDO_ELEM_INFO_ARRAY(1, 1, 1),
    4 MDSYS.SDO_ORDINATE_ARRAY(-82.445319, 28.1139363)),
    5 MDSYS.SDO_GEOMETRY(2003, 8265, NULL,
    6 MDSYS.SDO_ELEM_INFO_ARRAY(1, 1003, 1),
    7 MDSYS.SDO_ORDINATE_ARRAY(-82.414884, 28.0094323, -82.387158, 28.0116258,
    8 -82.378891, 28.0131216, -82.377988, 28.0133894, -82.37555, 28.0143994,
    9 -82.329352, 28.0661089, -82.313207, 28.1006725, -82.362246, 28.1261981,
    10 -82.4453185022412,28.1139363297581, -82.428389, 28.0245891, -82.422103, 28.0117697,
    11 -82.421382, 28.0109085, -82.419096, 28.0099741, -82.414884, 28.0094323)),
    12 10)
    13 FROM DUAL;
    SDO_GEOM.SDO_DISTANCE(MDSYS.SDO_GEOMETRY(2001,8265,NULL,MDSYS.SDO_ELEM_INFO_ARRA
    .00000000000000000000
    SQL>
    SQL> SELECT SDO_GEOM.RELATE(
    2 MDSYS.SDO_GEOMETRY(2001, 8265, NULL,
    3 MDSYS.SDO_ELEM_INFO_ARRAY(1, 1, 1),
    4 MDSYS.SDO_ORDINATE_ARRAY(-82.445319, 28.1139363)),
    5 'determine',
    6 MDSYS.SDO_GEOMETRY(2003, 8265, NULL,
    7 MDSYS.SDO_ELEM_INFO_ARRAY(1, 1003, 1),
    8 MDSYS.SDO_ORDINATE_ARRAY(-82.414884, 28.0094323, -82.387158, 28.0116258,
    9 -82.378891, 28.0131216,-82.377988, 28.0133894, -82.37555, 28.0143994,
    10 -82.329352, 28.0661089, -82.313207, 28.1006725,
    11 -82.362246, 28.1261981, -82.4453185022412, 28.1139363297581,
    12 -82.428389, 28.0245891, -82.422103, 28.0117697,
    13 -82.421382, 28.0109085, -82.419096, 28.0099741, -82.414884, 28.0094323)),
    14 10)
    15 FROM DUAL;
    SDO_GEOM.RELATE(MDSYS.SDO_GEOMETRY(2001,8265,NULL,MDSYS.SDO_ELEM_INFO_ARRAY(1,1,
    DISJOINT

Maybe you are looking for