Tuesday 5 March 2013

Customizations fail on 64-bit server

Issue:

Export the customization's on my development machine (32 bit). After import that customization's in  server (64bit). The customization's are in place and work as expected.

When the user closes the screen, then later opens the same screen errors begin to occur:


When this screen is closed "normal", non-customized version of the screen is loaded.

When the users closes Dynamics SL completely, then reopens SL, a different error is displayed when they try to open the same screen as before:



After clicks OK the screen will invoked and also working fine.

That problem does not occur on my development machine that is running windows 7 32 bit. It only appears to occur on the 64bit platform.

Solution:
  • Log off from Microsoft Dynamics SL.
  • Browse to the Microsoft Dynamics SL program files directory.                                                                               Path   C:\Program Files\Microsoft Dynamics\SL\Applications\
  • Locate the Solomon.ini file, and then open the file by using Notepad.
  •      In the Customization section of the Solomon.ini file, make the following change:
                     1.  There was not a [Customization] section in solomon.ini file, so added the following lines:
                                    [Customization]                                
                                          VBASourceCompile = Yes

  • Click Save, and then close Notepad.
After this change was made I restarted Dynamics SL on my 64-bit server system and all customization's appear to be working normally.


No comments: