I recently ran into a problem where changes being made in various SalesLogix Web resource files were not being reflected in the interface when the web site was re-deployed. SalesLogix uses ASP.Net resource files to store the values of label captions, grid column headers, and other static text so that if localization is used, these items dynamically can change based upon the regional settings. If you hard code a ASP.Net control with a caption, such as:
<asp:Label ID=”Label1″ AssociatedControlID=”txtStatus” runat=”server” Text=”Status” ></asp:Label>
The control will always have the same caption, regardless of what the web sessions, regional settings are.
To fix the issue with the resource changes not being reflected I did two things before re-deploying the web site:
- Delete the contents of the slxclient directory under Inetpub, or wherever the web is deployed to. Note, “slxclient” was the name of the SalesLogix web client directory. This is the default name.
- Deleted the contents of the ASP.Net temporary compiled cache for the same web site. This is located in the following directory C:WindowsMicrosoft.NetFrameworkv2.0.50727/Temporary ASP.Net Filesslxclient. Where the sub-folder under the Framework directory corresponds to the .Net level the web site uses and the sub-folder under Temporary ASP.Net Files corresponds to the web site folder as discussed in step 1.
I am not sure if both of these steps are required, I suspect it was more so step 2 that fixed my issue, but it is never a bad thing to delete the slxclient contents either since they should all get replaced during a re-deployment.