none
中文语言包问题 RRS feed

  • 问题

  • os: windows 2003 sp3 enterprise
    crm 4.0 update rollup 3
    安装中文包后,更新用户界面成功,但是无法打开“我的工作区”--“文章“ 同样不能访问"服务"--知识库。查看windows application logs 发现event id 1039错误,具体如下:
    应该是不支持zh语言包导致的错误,但是不知道怎么解决它呢??

    Event code: 3005
    Event message: An unhandled exception has occurred.
    Event time: 5/5/2009 9:23:53 PM
    Event time (UTC): 5/5/2009 1:23:53 PM
    Event ID: f7a5d553927f44b1963caab6e28a4db5
    Event sequence: 590
    Event occurrence: 10
    Event detail code: 0
     
    Application information:
        Application domain: /LM/W3SVC/1/ROOT-1-128859934337343750
        Trust level: Full
        Application Virtual Path: /
        Application Path: c:\inetpub\wwwroot\ 
     
    Process information:
        Process ID: 2568
        Process name: w3wp.exe
        Account name: NT AUTHORITY\NETWORK SERVICE
     
    Exception information:
        Exception type: XslTransformException
        Exception message: 'zh' is not a supported language identifier.
     
    Request information:
        Request URL: http://localhost/test/workplace/home_answers.aspx
        Request path: /test/workplace/home_answers.aspx
        User host address: 127.0.0.1 
        Is authenticated: True
        Authentication Type: Negotiate
        Thread account name: NT AUTHORITY\NETWORK SERVICE
     
    Thread information:
        Thread ID: 7
        Thread account name: NT AUTHORITY\NETWORK SERVICE
        Is impersonating: False
        Stack trace:    at System.Xml.Xsl.Runtime.XsltLibrary.LangToLcidInternal(String lang, Boolean forwardCompatibility, IErrorHelper errorHelper)
       at System.Xml.Xsl.Runtime.XsltLibrary.LangToLcid(String lang, Boolean forwardCompatibility)
       at <xsl:template match="/*">(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime, XPathNavigator {urn:schemas-microsoft-com:xslt-debug}current)
       at <xsl:apply-templates>(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime, XPathNavigator )
       at Root(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime)
       at Execute(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime)
       at System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlSequenceWriter results)
       at System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter writer, Boolean closeWriter)
       at System.Xml.Xsl.XmlILCommand.Execute(XmlReader contextDocument, XmlResolver dataSources, XsltArgumentList argumentList, TextWriter results)
       at System.Xml.Xsl.XslCompiledTransform.Transform(XmlReader input, XsltArgumentList arguments, TextWriter results)
       at Microsoft.Crm.Controls.Tree.Render(HtmlTextWriter output)
       at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
       at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)
       at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
       at Microsoft.Crm.Application.Components.UI.CrmUIControlBase.RenderControl(HtmlTextWriter writer)
       at Microsoft.Crm.Application.Controls.AppArticleFind.Render(HtmlTextWriter output)
       at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
       at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)
       at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
       at Microsoft.Crm.Application.Components.UI.CrmUIControlBase.RenderControl(HtmlTextWriter writer)
       at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
       at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)
       at System.Web.UI.Page.Render(HtmlTextWriter writer)
       at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
       at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)
       at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

    2009年5月5日 13:21

答案

  • 你把rollup 2中的treeSubject.xsl文件覆盖rollup 3的treeSubject.xsl文件;
    文件的路径如下:"c:\program files\Microsoft Dynamics CRM\Server\ApplicationFIles\treeSubject.xsl"
    ==您的问题描述得更详细,我们的答复将更及时。==
    2009年5月5日 14:52
  • 谢谢 Myron Jiang,

    我下载了rollup2 解压缩到了目录,没有发现这个文件,于是从安装光盘中搜索到了这个文件。把原来的treeSubject.xsl 改成 treeSubject.xsl .old,然后copy光盘中的treeSubject.xsl 到了目标文件夹。修改语言到中文,然后重新点击“文章”好用了。呵呵。

    Nick
    • 已标记为答案 Nickzzz 2009年5月9日 1:15
    2009年5月6日 12:56
  • 记得标记答案,谢谢


    Batistuta Cai-刀客 | 蔡敏生 | MS CRM MVP | Blog:http://caims.cnblogs.com
    • 已标记为答案 Nickzzz 2009年5月9日 1:15
    2009年5月6日 13:27
    版主

全部回复

  • 你把rollup 2中的treeSubject.xsl文件覆盖rollup 3的treeSubject.xsl文件;
    文件的路径如下:"c:\program files\Microsoft Dynamics CRM\Server\ApplicationFIles\treeSubject.xsl"
    ==您的问题描述得更详细,我们的答复将更及时。==
    2009年5月5日 14:52
  • 谢谢 Myron Jiang,

    我下载了rollup2 解压缩到了目录,没有发现这个文件,于是从安装光盘中搜索到了这个文件。把原来的treeSubject.xsl 改成 treeSubject.xsl .old,然后copy光盘中的treeSubject.xsl 到了目标文件夹。修改语言到中文,然后重新点击“文章”好用了。呵呵。

    Nick
    • 已标记为答案 Nickzzz 2009年5月9日 1:15
    2009年5月6日 12:56
  • 记得标记答案,谢谢


    Batistuta Cai-刀客 | 蔡敏生 | MS CRM MVP | Blog:http://caims.cnblogs.com
    • 已标记为答案 Nickzzz 2009年5月9日 1:15
    2009年5月6日 13:27
    版主