Comfort  Automation/ Security System Forums Home
Home Search search Menu menu Not logged in - Login | Register

Error importing file
 Moderated by: admin
 New Topic   Reply   Printer Friendly 
 Rate Topic 
AuthorPost
 Posted: Friday Mar 6th, 2009 04:42 pm
   PM  Quote  Reply 
1st Post
TheMax74
Member


Joined: Monday Jul 16th, 2007
Location: Italy
Posts: 247
Status: 
Offline

  back to top

Importing my ccl file from version 2 to version 3, i get this error.
The red line states: Invalid char in XML, row 4899 position 130.

Error importing from file C:Program FilesCytechComfigurator 3Saccani.ccl:
System.Exception: Error deserializing C:UserssaccaniAppDataLocalTempof3b8tla.cclx: System.InvalidOperationException: Errore nel documento XML (4899, 130). ---> System.Xml.XmlException: Carattere non valido nella codifica specificata. Riga 4899, posizione 130.
   in System.Xml.XmlTextReaderImpl.Throw(Exception e)
   in System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
   in System.Xml.XmlTextReaderImpl.InvalidCharRecovery(Int32& bytesCount, Int32& charsCount)
   in System.Xml.XmlTextReaderImpl.GetChars(Int32 maxCharsCount)
   in System.Xml.XmlTextReaderImpl.ReadData()
   in System.Xml.XmlTextReaderImpl.ParseAttributeValueSlow(Int32 curPos, Char quoteChar, NodeData attr)
   in System.Xml.XmlTextReaderImpl.ParseAttributes()
   in System.Xml.XmlTextReaderImpl.ParseElement()
   in System.Xml.XmlTextReaderImpl.ParseElementContent()
   in System.Xml.XmlTextReaderImpl.Read()
   in System.Xml.XmlTextReader.Read()
   in System.Xml.XmlReader.MoveToContent()
   in Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReader1.Read273_Configuration(Boolean isNullable, Boolean checkType)
   in Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReader1.Read542_Configuration()
   --- Fine dell'analisi dello stack dell'eccezione interna ---
   in System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
   in System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle)
   in System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader)
   in Comfort.Util.XmlDeserialize[T](String pathName)
   in Comfort.Util.XmlDeserialize[T](String pathName)
   in Comfort.Form1.ConvertFromCcl(String cclFilename)
   in Comfort.Form1.importItemsToolStripMenuItem_Click(Object sender, EventArgs e)

Last edited on Saturday Mar 7th, 2009 08:30 am by TheMax74



 Posted: Saturday Mar 7th, 2009 07:30 am
   PM  Quote  Reply 
2nd Post
admin
Administrator


Joined: Saturday Mar 3rd, 2007
Location: Singapore
Posts: 1200
Status: 
Offline

  back to top

This was probably caused by non-ASCII characters e.g. accented characters, in response descriptions. This would normally be handled OK in Comfigurator 3 but the conversion from the CCL format could be causing the problem. This will be fixed in the next version
In the meantime perhaps you can remove the accented characters from Response descriptions and try reconverting



 Posted: Saturday Mar 7th, 2009 08:31 am
   PM  Quote  Reply 
3rd Post
TheMax74
Member


Joined: Monday Jul 16th, 2007
Location: Italy
Posts: 247
Status: 
Offline

  back to top

Roger, thank you.



 Posted: Sunday Mar 8th, 2009 08:44 am
   PM  Quote  Reply 
4th Post
Julian.Driver
Member
 

Joined: Tuesday Aug 26th, 2008
Location:  
Posts: 72
Status: 
Offline

  back to top

I have just installed v3 and when trying to pick up my ccl file had this;
Error processing file C:\Program Files\Cytech\Comfigurator\Downloaded.ccl:
System.EntryPointNotFoundException: Unable to find an entry point named 'ConvertToCclx' in DLL 'CclLib.dll'.
   at Comfort.Form1.ConvertToCclx(String cclFile, String cclxFile)
   at Comfort.Form1.ConvertFromCcl(String cclFilename)
   at Comfort.Form1.OpenFile(String filename)

I installed the v3 file in to the same directory as the version 2, in the hope that it would overwrite, however that doesn't seem to be the case. Could this be the cause of the problem?




 Posted: Monday Mar 9th, 2009 04:41 am
   PM  Quote  Reply 
5th Post
admin
Administrator


Joined: Saturday Mar 3rd, 2007
Location: Singapore
Posts: 1200
Status: 
Offline

  back to top

The V3 software should not be installed in the same folder. They are meant to coexist with each other.
Can you send the ccl file to support@cytech.biz so we can try the conversion



 Posted: Tuesday Mar 10th, 2009 02:27 am
   PM  Quote  Reply 
6th Post
admin
Administrator


Joined: Saturday Mar 3rd, 2007
Location: Singapore
Posts: 1200
Status: 
Offline

  back to top

We had no error when reading the ccl file and saving as cclx
You should try uninstalling and installing v3 again in its own folder



 Current time is 03:10 pm
Top




UltraBB 1.172 Copyright © 2007-2014 Data 1 Systems