We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Error convert resx file with new version 1.6

Thread ID:

Created:

Updated:

Platform:

Replies:

6718 Aug 25,2003 02:19 AM Aug 26,2003 01:23 AM General Discussion 1
loading
Tags: General Discussion
david martin
Asked On August 25, 2003 02:19 AM

Hi, I've been upgraded to Essential Suite 1.6, and after open and rebuilding my solution, i get this error : C:\MINREM_SI\SI_PVI\SI_PVI_IHM\C_SI_PVI_IHM_DataFormPvi.resx Échec de la transformation des ressources du fichier 'C_SI_PVI_IHM_DataFormPvi.resx'. Entrée ResX non valide. Then i open the resx file and i see tow entries with version = 1.5.1.1 : Syncfusion.Windows.Forms.Grid.GridData, Syncfusion.Grid, Version=1.5.1.1, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89 Syncfusion.Windows.Forms.Grid.GridData, Syncfusion.Grid, Version=1.5.1.1, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89 After getting help on the forum i tried to use the regenresx tool by copied and ran my resx file And it fails with : Microsoft Windows XP [version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. C:\Program Files\Syncfusion\Essential Suite\Migration\ResX>regenresx C_SI_PVI_IH M_DataFormPvi.resx.old C_SI_PVI_IHM_DataFormPvi.resx ERROR : C_SI_PVI_IHM_DataFormPvi.resx.old System.ArgumentException: Entrée ResX non valide. ---> System.IO.FileNotFoundExc eption: Le fichier ou l'assembly nommé Syncfusion.Grid, ou l'une de ses dépendan ces, est introuvable. Nom du fichier : "Syncfusion.Grid" at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, B oolean isStringized, Evidence assemblySecurity, Boolean throwOnFileNotFound, Ass embly locationHint, StackCrawlMark& stackMark) at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Boolean stringized, Evidence assemblySecurity, StackCrawlMark& stackMark) at System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence as semblySecurity, StackCrawlMark& stackMark) at System.Reflection.Assembly.Load(String assemblyString) at System.Runtime.Serialization.Formatters.Binary.BinaryAssemblyInfo.GetAssem bly() at System.Runtime.Serialization.Formatters.Binary.ObjectReader.GetType(Binary AssemblyInfo assemblyInfo, String name) at System.Runtime.Serialization.Formatters.Binary.ObjectMap..ctor(String obje ctName, String[] memberNames, BinaryTypeEnum[] binaryTypeEnumA, Object[] typeInf ormationA, Int32[] memberAssemIds, ObjectReader objectReader, Int32 objectId, Bi naryAssemblyInfo assemblyInfo, SizedArray assemIdToAssemblyTable) at System.Runtime.Serialization.Formatters.Binary.ObjectMap.Create(String nam e, String[] memberNames, BinaryTypeEnum[] binaryTypeEnumA, Object[] typeInformat ionA, Int32[] memberAssemIds, ObjectReader objectReader, Int32 objectId, BinaryA ssemblyInfo assemblyInfo, SizedArray assemIdToAssemblyTable) at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.ReadObjectWi thMapTyped(BinaryObjectWithMapTyped record) at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.ReadObjectWi thMapTyped(BinaryHeaderEnum binaryHeaderEnum) at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.Run() at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(He aderHandler handler, __BinaryParser serParser, Boolean fCheck, IMethodCallMessag e methodCallMessage) at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize (Stream serializationStream, HeaderHandler handler, Boolean fCheck, IMethodCallM essage methodCallMessage) at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize (Stream serializationStream) at System.Resources.ResXResourceReader.ParseDataNode(XmlReader reader) at System.Resources.ResXResourceReader.ParseXml(XmlReader reader) Fusion log follows: === Pre-bind state information === LOG: DisplayName = Syncfusion.Grid, Version=1.5.1.1, Culture=neutral, PublicKeyT oken=3d67ed1f87d44c89 (Fully-specified) LOG: Appbase = C:\Program Files\Syncfusion\Essential Suite\Migration\ResX\ LOG: Initial PrivatePath = NULL Calling assembly : (Unknown). === LOG: Redirect found in application configuration file 1.5.1.1 -> 1.6.0.2. LOG: Publisher policy file is found at C:\Windows\assembly\GAC\policy.1.6.Syncfu sion.Grid\1.6.1.0__3d67ed1f87d44c89\grid.config. WRN: Error parsing XML file C:\Windows\assembly\GAC\policy.1.6.Syncfusion.Grid\1 .6.1.0__3d67ed1f87d44c89\grid.config. Ignoring. LOG: Host configuration file not found. LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v1 .0.3705\config\machine.config. LOG: Post-policy reference: Syncfusion.Grid, Version=1.6.0.2, Culture=neutral, P ublicKeyToken=3d67ed1f87d44c89 LOG: Attempting download of new URL file:///C:/Program Files/Syncfusion/Essentia l Suite/Migration/ResX/Syncfusion.Grid.DLL. LOG: Attempting download of new URL file:///C:/Program Files/Syncfusion/Essentia l Suite/Migration/ResX/Syncfusion.Grid/Syncfusion.Grid.DLL. LOG: Attempting download of new URL file:///C:/Program Files/Syncfusion/Essentia l Suite/Migration/ResX/Syncfusion.Grid.EXE. LOG: Attempting download of new URL file:///C:/Program Files/Syncfusion/Essentia l Suite/Migration/ResX/Syncfusion.Grid/Syncfusion.Grid.EXE. --- Fin de la trace de la pile d'exception interne --- at System.Resources.ResXResourceReader.ParseXml(XmlReader reader) at System.Resources.ResXResourceReader.EnsureResData() at System.Resources.ResXResourceReader.GetEnumerator() at Foo.Main(String[] args) C:\Program Files\Syncfusion\Essential Suite\Migration\ResX>cd C:\Program Files\S yncfusion\Essential Suite\Migration\ResX > gen.txt C:\Program Files\Syncfusion\Essential Suite\Migration\ResX>regenresx C_SI_PVI_IH M_DataFormPvi.resx.old C_SI_PVI_IHM_DataFormPvi.resx > gen.txt ERROR : C_SI_PVI_IHM_DataFormPvi.resx.old System.ArgumentException: Entrée ResX non valide. ---> System.IO.FileNotFoundExc eption: Le fichier ou l'assembly nommé Syncfusion.Grid, ou l'une de ses dépendan ces, est introuvable. Nom du fichier : "Syncfusion.Grid" at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, B oolean isStringized, Evidence assemblySecurity, Boolean throwOnFileNotFound, Ass embly locationHint, StackCrawlMark& stackMark) at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Boolean stringized, Evidence assemblySecurity, StackCrawlMark& stackMark) at System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence as semblySecurity, StackCrawlMark& stackMark) at System.Reflection.Assembly.Load(String assemblyString) at System.Runtime.Serialization.Formatters.Binary.BinaryAssemblyInfo.GetAssem bly() at System.Runtime.Serialization.Formatters.Binary.ObjectReader.GetType(Binary AssemblyInfo assemblyInfo, String name) at System.Runtime.Serialization.Formatters.Binary.ObjectMap..ctor(String obje ctName, String[] memberNames, BinaryTypeEnum[] binaryTypeEnumA, Object[] typeInf ormationA, Int32[] memberAssemIds, ObjectReader objectReader, Int32 objectId, Bi naryAssemblyInfo assemblyInfo, SizedArray assemIdToAssemblyTable) at System.Runtime.Serialization.Formatters.Binary.ObjectMap.Create(String nam e, String[] memberNames, BinaryTypeEnum[] binaryTypeEnumA, Object[] typeInformat ionA, Int32[] memberAssemIds, ObjectReader objectReader, Int32 objectId, BinaryA ssemblyInfo assemblyInfo, SizedArray assemIdToAssemblyTable) at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.ReadObjectWi thMapTyped(BinaryObjectWithMapTyped record) at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.ReadObjectWi thMapTyped(BinaryHeaderEnum binaryHeaderEnum) at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.Run() at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(He aderHandler handler, __BinaryParser serParser, Boolean fCheck, IMethodCallMessag e methodCallMessage) at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize (Stream serializationStream, HeaderHandler handler, Boolean fCheck, IMethodCallM essage methodCallMessage) at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize (Stream serializationStream) at System.Resources.ResXResourceReader.ParseDataNode(XmlReader reader) at System.Resources.ResXResourceReader.ParseXml(XmlReader reader) Fusion log follows: === Pre-bind state information === LOG: DisplayName = Syncfusion.Grid, Version=1.5.1.1, Culture=neutral, PublicKeyT oken=3d67ed1f87d44c89 (Fully-specified) LOG: Appbase = C:\Program Files\Syncfusion\Essential Suite\Migration\ResX\ LOG: Initial PrivatePath = NULL Calling assembly : (Unknown). === LOG: Redirect found in application configuration file 1.5.1.1 -> 1.6.0.2. LOG: Publisher policy file is found at C:\Windows\assembly\GAC\policy.1.6.Syncfu sion.Grid\1.6.1.0__3d67ed1f87d44c89\grid.config. WRN: Error parsing XML file C:\Windows\assembly\GAC\policy.1.6.Syncfusion.Grid\1 .6.1.0__3d67ed1f87d44c89\grid.config. Ignoring. LOG: Host configuration file not found. LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v1 .0.3705\config\machine.config. LOG: Post-policy reference: Syncfusion.Grid, Version=1.6.0.2, Culture=neutral, P ublicKeyToken=3d67ed1f87d44c89 LOG: Attempting download of new URL file:///C:/Program Files/Syncfusion/Essentia l Suite/Migration/ResX/Syncfusion.Grid.DLL. LOG: Attempting download of new URL file:///C:/Program Files/Syncfusion/Essentia l Suite/Migration/ResX/Syncfusion.Grid/Syncfusion.Grid.DLL. LOG: Attempting download of new URL file:///C:/Program Files/Syncfusion/Essentia l Suite/Migration/ResX/Syncfusion.Grid.EXE. LOG: Attempting download of new URL file:///C:/Program Files/Syncfusion/Essentia l Suite/Migration/ResX/Syncfusion.Grid/Syncfusion.Grid.EXE. --- Fin de la trace de la pile d'exception interne --- at System.Resources.ResXResourceReader.ParseXml(XmlReader reader) at System.Resources.ResXResourceReader.EnsureResData() at System.Resources.ResXResourceReader.GetEnumerator() at Foo.Main(String[] args) C:\Program Files\Syncfusion\Essential Suite\Migration\ResX> What is the solution ? i d'ont want to lost my time to re-add my grid because it's too long.

david martin
Replied On August 26, 2003 01:23 AM

Ok, i found a solution : Removing all the properties like hiding col, hiding row, coveredrange in the xml .resx file for the grid. > > Hi, I've been upgraded to Essential Suite 1.6, and after open and rebuilding my solution, i get this error : > > C:\MINREM_SI\SI_PVI\SI_PVI_IHM\C_SI_PVI_IHM_DataFormPvi.resx Échec de la transformation des ressources du fichier 'C_SI_PVI_IHM_DataFormPvi.resx'. Entrée ResX non valide. > > Then i open the resx file and i see tow entries with version = 1.5.1.1 : > Syncfusion.Windows.Forms.Grid.GridData, Syncfusion.Grid, Version=1.5.1.1, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89 > Syncfusion.Windows.Forms.Grid.GridData, Syncfusion.Grid, Version=1.5.1.1, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89 > > After getting help on the forum i tried to use the regenresx tool by copied and ran my resx file > And it fails with : > > Microsoft Windows XP [version 5.1.2600] > (C) Copyright 1985-2001 Microsoft Corp. > > C:\Program Files\Syncfusion\Essential Suite\Migration\ResX>regenresx C_SI_PVI_IH > M_DataFormPvi.resx.old C_SI_PVI_IHM_DataFormPvi.resx > ERROR : C_SI_PVI_IHM_DataFormPvi.resx.old > System.ArgumentException: Entrée ResX non valide. ---> System.IO.FileNotFoundExc > eption: Le fichier ou l'assembly nommé Syncfusion.Grid, ou l'une de ses dépendan > ces, est introuvable. > Nom du fichier : "Syncfusion.Grid" > at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, B > oolean isStringized, Evidence assemblySecurity, Boolean throwOnFileNotFound, Ass > embly locationHint, StackCrawlMark& stackMark) > at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Boolean > stringized, Evidence assemblySecurity, StackCrawlMark& stackMark) > at System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence as > semblySecurity, StackCrawlMark& stackMark) > at System.Reflection.Assembly.Load(String assemblyString) > at System.Runtime.Serialization.Formatters.Binary.BinaryAssemblyInfo.GetAssem > bly() > at System.Runtime.Serialization.Formatters.Binary.ObjectReader.GetType(Binary > AssemblyInfo assemblyInfo, String name) > at System.Runtime.Serialization.Formatters.Binary.ObjectMap..ctor(String obje > ctName, String[] memberNames, BinaryTypeEnum[] binaryTypeEnumA, Object[] typeInf > ormationA, Int32[] memberAssemIds, ObjectReader objectReader, Int32 objectId, Bi > naryAssemblyInfo assemblyInfo, SizedArray assemIdToAssemblyTable) > at System.Runtime.Serialization.Formatters.Binary.ObjectMap.Create(String nam > e, String[] memberNames, BinaryTypeEnum[] binaryTypeEnumA, Object[] typeInformat > ionA, Int32[] memberAssemIds, ObjectReader objectReader, Int32 objectId, BinaryA > ssemblyInfo assemblyInfo, SizedArray assemIdToAssemblyTable) > at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.ReadObjectWi > thMapTyped(BinaryObjectWithMapTyped record) > at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.ReadObjectWi > thMapTyped(BinaryHeaderEnum binaryHeaderEnum) > at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.Run() > at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(He > aderHandler handler, __BinaryParser serParser, Boolean fCheck, IMethodCallMessag > e methodCallMessage) > at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize > (Stream serializationStream, HeaderHandler handler, Boolean fCheck, IMethodCallM > essage methodCallMessage) > at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize > (Stream serializationStream) > at System.Resources.ResXResourceReader.ParseDataNode(XmlReader reader) > at System.Resources.ResXResourceReader.ParseXml(XmlReader reader) > > Fusion log follows: > === Pre-bind state information === > LOG: DisplayName = Syncfusion.Grid, Version=1.5.1.1, Culture=neutral, PublicKeyT > oken=3d67ed1f87d44c89 > (Fully-specified) > LOG: Appbase = C:\Program Files\Syncfusion\Essential Suite\Migration\ResX\ > LOG: Initial PrivatePath = NULL > Calling assembly : (Unknown). > === > > LOG: Redirect found in application configuration file 1.5.1.1 -> 1.6.0.2. > LOG: Publisher policy file is found at C:\Windows\assembly\GAC\policy.1.6.Syncfu > sion.Grid\1.6.1.0__3d67ed1f87d44c89\grid.config. > WRN: Error parsing XML file C:\Windows\assembly\GAC\policy.1.6.Syncfusion.Grid\1 > .6.1.0__3d67ed1f87d44c89\grid.config. Ignoring. > LOG: Host configuration file not found. > LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v1 > .0.3705\config\machine.config. > LOG: Post-policy reference: Syncfusion.Grid, Version=1.6.0.2, Culture=neutral, P > ublicKeyToken=3d67ed1f87d44c89 > LOG: Attempting download of new URL file:///C:/Program Files/Syncfusion/Essentia > l Suite/Migration/ResX/Syncfusion.Grid.DLL. > LOG: Attempting download of new URL file:///C:/Program Files/Syncfusion/Essentia > l Suite/Migration/ResX/Syncfusion.Grid/Syncfusion.Grid.DLL. > LOG: Attempting download of new URL file:///C:/Program Files/Syncfusion/Essentia > l Suite/Migration/ResX/Syncfusion.Grid.EXE. > LOG: Attempting download of new URL file:///C:/Program Files/Syncfusion/Essentia > l Suite/Migration/ResX/Syncfusion.Grid/Syncfusion.Grid.EXE. > > --- Fin de la trace de la pile d'exception interne --- > at System.Resources.ResXResourceReader.ParseXml(XmlReader reader) > at System.Resources.ResXResourceReader.EnsureResData() > at System.Resources.ResXResourceReader.GetEnumerator() > at Foo.Main(String[] args) > > C:\Program Files\Syncfusion\Essential Suite\Migration\ResX>cd C:\Program Files\S > yncfusion\Essential Suite\Migration\ResX > gen.txt > > C:\Program Files\Syncfusion\Essential Suite\Migration\ResX>regenresx C_SI_PVI_IH > M_DataFormPvi.resx.old C_SI_PVI_IHM_DataFormPvi.resx > gen.txt > ERROR : C_SI_PVI_IHM_DataFormPvi.resx.old > System.ArgumentException: Entrée ResX non valide. ---> System.IO.FileNotFoundExc > eption: Le fichier ou l'assembly nommé Syncfusion.Grid, ou l'une de ses dépendan > ces, est introuvable. > Nom du fichier : "Syncfusion.Grid" > at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, B > oolean isStringized, Evidence assemblySecurity, Boolean throwOnFileNotFound, Ass > embly locationHint, StackCrawlMark& stackMark) > at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Boolean > stringized, Evidence assemblySecurity, StackCrawlMark& stackMark) > at System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence as > semblySecurity, StackCrawlMark& stackMark) > at System.Reflection.Assembly.Load(String assemblyString) > at System.Runtime.Serialization.Formatters.Binary.BinaryAssemblyInfo.GetAssem > bly() > at System.Runtime.Serialization.Formatters.Binary.ObjectReader.GetType(Binary > AssemblyInfo assemblyInfo, String name) > at System.Runtime.Serialization.Formatters.Binary.ObjectMap..ctor(String obje > ctName, String[] memberNames, BinaryTypeEnum[] binaryTypeEnumA, Object[] typeInf > ormationA, Int32[] memberAssemIds, ObjectReader objectReader, Int32 objectId, Bi > naryAssemblyInfo assemblyInfo, SizedArray assemIdToAssemblyTable) > at System.Runtime.Serialization.Formatters.Binary.ObjectMap.Create(String nam > e, String[] memberNames, BinaryTypeEnum[] binaryTypeEnumA, Object[] typeInformat > ionA, Int32[] memberAssemIds, ObjectReader objectReader, Int32 objectId, BinaryA > ssemblyInfo assemblyInfo, SizedArray assemIdToAssemblyTable) > at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.ReadObjectWi > thMapTyped(BinaryObjectWithMapTyped record) > at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.ReadObjectWi > thMapTyped(BinaryHeaderEnum binaryHeaderEnum) > at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.Run() > at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(He > aderHandler handler, __BinaryParser serParser, Boolean fCheck, IMethodCallMessag > e methodCallMessage) > at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize > (Stream serializationStream, HeaderHandler handler, Boolean fCheck, IMethodCallM > essage methodCallMessage) > at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize > (Stream serializationStream) > at System.Resources.ResXResourceReader.ParseDataNode(XmlReader reader) > at System.Resources.ResXResourceReader.ParseXml(XmlReader reader) > > Fusion log follows: > === Pre-bind state information === > LOG: DisplayName = Syncfusion.Grid, Version=1.5.1.1, Culture=neutral, PublicKeyT > oken=3d67ed1f87d44c89 > (Fully-specified) > LOG: Appbase = C:\Program Files\Syncfusion\Essential Suite\Migration\ResX\ > LOG: Initial PrivatePath = NULL > Calling assembly : (Unknown). > === > > LOG: Redirect found in application configuration file 1.5.1.1 -> 1.6.0.2. > LOG: Publisher policy file is found at C:\Windows\assembly\GAC\policy.1.6.Syncfu > sion.Grid\1.6.1.0__3d67ed1f87d44c89\grid.config. > WRN: Error parsing XML file C:\Windows\assembly\GAC\policy.1.6.Syncfusion.Grid\1 > .6.1.0__3d67ed1f87d44c89\grid.config. Ignoring. > LOG: Host configuration file not found. > LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v1 > .0.3705\config\machine.config. > LOG: Post-policy reference: Syncfusion.Grid, Version=1.6.0.2, Culture=neutral, P > ublicKeyToken=3d67ed1f87d44c89 > LOG: Attempting download of new URL file:///C:/Program Files/Syncfusion/Essentia > l Suite/Migration/ResX/Syncfusion.Grid.DLL. > LOG: Attempting download of new URL file:///C:/Program Files/Syncfusion/Essentia > l Suite/Migration/ResX/Syncfusion.Grid/Syncfusion.Grid.DLL. > LOG: Attempting download of new URL file:///C:/Program Files/Syncfusion/Essentia > l Suite/Migration/ResX/Syncfusion.Grid.EXE. > LOG: Attempting download of new URL file:///C:/Program Files/Syncfusion/Essentia > l Suite/Migration/ResX/Syncfusion.Grid/Syncfusion.Grid.EXE. > > --- Fin de la trace de la pile d'exception interne --- > at System.Resources.ResXResourceReader.ParseXml(XmlReader reader) > at System.Resources.ResXResourceReader.EnsureResData() > at System.Resources.ResXResourceReader.GetEnumerator() > at Foo.Main(String[] args) > > C:\Program Files\Syncfusion\Essential Suite\Migration\ResX> > > What is the solution ? i d'ont want to lost my time to re-add my grid because it's too long.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;