Problem with SharePoint French Edition

Jan 7, 2009 at 6:48 PM
I have SharePoint 2007 French Edition and when I click on the node to display all items, I get this error :

Fichier introuvable.   à System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   à System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
   à System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)
   à System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials)
   à System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn)
   à System.Xml.XmlTextReaderImpl.OpenUrlDelegate(Object xmlResolver)
   à System.Threading.CompressedStack.runTryCode(Object userData)
   à System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
   à System.Threading.CompressedStack.Run(CompressedStack compressedStack, ContextCallback callback, Object state)
   à System.Xml.XmlTextReaderImpl.OpenUrl()
   à System.Xml.XmlTextReaderImpl.Read()
   à System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
   à System.Xml.XmlDocument.Load(XmlReader reader)
   à System.Xml.XmlDocument.Load(String filename)
   à SPCAMLEditor.Web.CamlFileTransfer.GetViewXml()
   à SPCAMLEditor.Web.CamlRenderControl.CreateChildControls()
   à System.Web.UI.Control.EnsureChildControls()
   à SPCAMLEditor.Web.CamlRenderControl.OnLoad(EventArgs e)
   à System.Web.UI.Control.LoadRecursive()
   à System.Web.UI.Control.LoadRecursive()
   à System.Web.UI.Control.LoadRecursive()
   à System.Web.UI.Control.LoadRecursive()
   à System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)


I suspect that you hardcode the path :
C:\Program Files\Common Files\Microsoft Shared\web server extensions\12

but SharePoint French Edition path is :
C:\Program Files\Fichiers communs\Microsoft Shared\web server extensions\12

I propose to change the path to :
"%CommonProgramFiles%\Microsoft Shared\web server extensions\12" to support all languages
or
"$(CommonProgramFiles)\Microsoft Shared\web server extensions\12"
Coordinator
Jun 5, 2009 at 2:50 AM

hi , friend:

I have modify the code, please try it again.