Christopher Kane

Ramblings of a Software Architect

Recent posts

Tags

Categories

Navigation

Pages

Archive

Blogroll

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

Windows 7 And OneCare

One care doesn’t install on Windows 7 with an invalid Operating System message.

I would think Microsoft’s OWN products would work with Windows 7.

Posted: Jul 25 2009, 04:16 by ckane | Comments (0) RSS comment feed |
  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Filed under: Systems

Windows 7 Pricing

So here’s the low-down on pricing for Windows 7. The estimated retail prices for upgrade packaged retail product of Windows 7 in the U.S. are:

  • Windows 7 Home Premium (Upgrade): $119.99
  • Windows 7 Professional (Upgrade): $199.99
  • Windows 7 Ultimate (Upgrade): $219.99

And the estimated retail prices for full packaged retail product of Windows 7 in the U.S. are:

  • Windows 7 Home Premium (Full): $199.99
  • Windows 7 Professional (Full): $299.99
  • Windows 7 Ultimate (Full): $319.99
Posted: Jul 24 2009, 19:22 by ckane | Comments (1) RSS comment feed |
  • Currently 3/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Filed under: Systems

MsiGetProductInfo failed to retrieve ProductVersion for package with Product Code = '{A43BF6A5-D5F0-4AAA-BF41-65995063EC44}'. Error code: 1608

Thanks to Yao-cheng Teng @ http://groups.google.com/group/microsoft.public.sqlserver.setup/browse_thread/thread/3295c74da299d0e0?pli=1

The message I got is:
MsiGetProductInfo failed to retrieve ProductVersion for package with Product
Code = '{A43BF6A5-D5F0-4AAA-BF41-65995063EC44}'. Error code: 1608.

My Work-around steps are:
1. Reverse the GUID and search registry for 5A6FB34A. Then I got the
following result:

[HKEY_CLASSES_ROOT\Installer\Features\5A6FB34A0F5DAAA4FB1456990536CE44]
"MSXMLSYS"=""

[HKEY_CLASSES_ROOT\Installer\Products\5A6FB34A0F5DAAA4FB1456990536CE44]
"AdvertiseFlags"=dword:00000184
"Assignment"=dword:00000001
"AuthorizedLUAApp"=dword:00000000
"Clients"=hex:3a,00,00,00,00,00
"InstanceType"=dword:00000000
"Language"=dword:00000409
"PackageCode"="DE7407CFE6F395A47B7DFAD7A9682916"
"ProductName"="MSXML 6.0 Parser"
"Version"=dword:060a0469

[HKEY_CLASSES_ROOT\Installer\UpgradeCodes\7AB711B11CB5E91428E0D7F4F314C2B7]
"5A6FB34A0F5DAAA4FB1456990536CE44"=""

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Features\5A6FB34A0F5DAAA4FB1 456990536CE44]
"MSXMLSYS"=""

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\UpgradeCodes\7AB711B11CB5E91 428E0D7F4F314C2B7]
"5A6FB34A0F5DAAA4FB1456990536CE44"=""

2. Delete two keys which have "UpgradeCodes" in them and leave others
untouched.
[HKEY_CLASSES_ROOT\Installer\UpgradeCodes\7AB711B11CB5E91428E0D7F4F314C2B7]
"5A6FB34A0F5DAAA4FB1456990536CE44"=""
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\UpgradeCodes\7AB711B11CB5E91 428E0D7F4F314C2B7]
"5A6FB34A0F5DAAA4FB1456990536CE44"=""

3. Install SQL Server 2008 again, which is developer version for me, and it
went through without any hassle.

Posted: Jul 16 2009, 22:08 by ckane | Comments (0) RSS comment feed |
  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Filed under: Databases

Disabling a row in a Grid based off of a value in the source

So I needed to disable a row in a Grid based on a value in one of the columns. I found an example on Microsoft’s website and wanted to document it here:

Overwriting the ‘active’ method on the datasource:

public int active()
{
    int ret;

    ret = super();
    if (MDSI_ConfigurationLine.MDSI_ConfigurationLineStatusId == 'CLOSED')
    {
        MDSI_ConfigurationLine_ds.allowEdit(false);
    }
    else
    {
        MDSI_ConfigurationLine_ds.allowEdit(true);
    }

    return ret;
}

You need to make sure you have the else to allowEdit otherwise all of rows will be disabled.
Posted: Jul 14 2009, 19:47 by ckane | Comments (0) RSS comment feed |
  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Filed under:

Comcast network update results

So, Comcast just updated their network and I ran a speed test. Of course, I pay a little more for business service here at home but...

Posted: Jul 11 2009, 07:11 by ckane | Comments (0) RSS comment feed |
  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Filed under: General

AOS Server Service Fault

Discovered a problem with the Axapta AOS Server service stopping and faulting:

Faulting application Ax32Serv.exe, version 5.0.1000.52, time stamp 0x490c68d8, faulting module Ax32Serv.exe, version 5.0.1000.52, time stamp 0x490c68d8, exception code 0xc0000005, fault offset 0x00000000004be844, process id 0x3a0, application start time 0x01c992a34fef6bbc.

The error was discovered when attempting to run the Label Editor. We deleted all the .ali .alc .ald files and restarted the service.

Posted: Jul 11 2009, 02:14 by ckane | Comments (0) RSS comment feed |
  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

SQL 2008 & Express Install Product Errors

While attempting an installation of SQL Server 2008 I encountered a "Product" error very early during the installation. The product error searches on google claim that is has to do with a previous installation of SQL Server 2000 but that real issues is MSXML4.0. This version of MSXML4.0 is associated to SQL 2000 and must be uninstalled and MSXML6.0 SP1 install before an installation of SQL Server 2008 can be attempted on a machine. Even if you are attempting a new installation of SQL Server 2008 you get the same problem.

To uninstall MSXML 4.0 you can use this link.

Posted: Jul 11 2009, 02:13 by ckane | Comments (0) RSS comment feed |
  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Filed under: Databases

Dealing with lists in .Net Business Connector and how to get around it

So I had the pleasure of having to deal with Lists and Containers in the .Net Business Connector and it was NOT a pleasurable experience. Axapta uses lists and containers and trying to use them in C# was a complete nightmare because using either type always generated a ‘Bad Container’ error.

The Axapta SDK states that a List is equivalent  to a generic list in C#….this is incorrect Axapta doesn’t support generics. The real c# array to use is the ArrayList because it is not of generic type. When you go to pass the ArrayList into the method you must use the following code to do so: list.ToArray(typeof(string)). Otherwise you will get an invalid parameter exception but this still generated a ‘Bad Container’ exception.

The Axapta SDK states that you can use a AxaptaContainer to pass into a method where the container object is being used but unfortunately COM interop doesn’t translate it correctly and once again throws a ‘Bad Container’ exception.

The solution? I ended up using a comma separated  string to pass into a new method and used the Axapta ‘strSplit’ Global method to split the string into an Axapta List.

Below is the x++ method that I created

server static void finishMultiMDSi(str _pickListIds)
{
    List list = new List(Types::String);
    ;
    if (_pickListIds)
    {
        // We pass in a comma sep string, we split the string into a list
        list = strSplit(_pickListIds, ',');
        // Pass the list into the finishMulti method to post the pick list
        WMSPickingRoute::finishMulti(list.pack());
    }
}

Posted: Jul 11 2009, 02:10 by ckane | Comments (0) RSS comment feed |
  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5