Page 1 of 1

Illegal write to read-only property count

Posted: Mon Jul 08, 2013 11:18 am
by gallopaway7
I've created a report in the designer which works 100%, but when I try rendering it from Flex I get this error?

ReferenceError: Error #1074: Illegal write to read-only property count on stimulsoft.flex.base.StiHashtable.
at stimulsoft.report.dictionary.dataSources::StiDataSource/checkColumnsIndexs()[D:\.Builder\temp\Stimulsoft_Report\stimulsoft\report\dictionary\dataSources\StiDataSource.as:1119]
at stimulsoft.report.dictionary.dataSources::StiDataSource/set dataTable()[D:\.Builder\temp\Stimulsoft_Report\stimulsoft\report\dictionary\dataSources\StiDataSource.as:1143]
at stimulsoft.report.dictionary.adapters::StiDataTableAdapterService/connectDataSourceToData()[D:\.Builder\temp\Stimulsoft_Report\stimulsoft\report\dictionary\adapters\StiDataTableAdapterService.as:190]
at stimulsoft.report.dictionary.dataSources::StiDataSource/connect()[D:\.Builder\temp\Stimulsoft_Report\stimulsoft\report\dictionary\dataSources\StiDataSource.as:750]
at stimulsoft.report.dictionary.dataSources::StiDataSourcesCollection/connect()[D:\.Builder\temp\Stimulsoft_Report\stimulsoft\report\dictionary\dataSources\StiDataSourcesCollection.as:167]
at stimulsoft.report.dictionary::StiDictionary/connectComplete()[D:\.Builder\temp\Stimulsoft_Report\stimulsoft\report\dictionary\StiDictionary.as:656]
at stimulsoft.report.dictionary::StiDictionary/connectNextDatabase()[D:\.Builder\temp\Stimulsoft_Report\stimulsoft\report\dictionary\StiDictionary.as:627]
at stimulsoft.report.dictionary::StiDictionary/onConnectNextDatabase()[D:\.Builder\temp\Stimulsoft_Report\stimulsoft\report\dictionary\StiDictionary.as:645]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at stimulsoft.report.dictionary.databases::StiDatabase/dispatchEvent()[D:\.Builder\temp\Stimulsoft_Report\stimulsoft\report\dictionary\databases\StiDatabase.as:136]
at stimulsoft.report.dictionary.databases::StiXmlDatabase/onDataAdapterResult()[D:\.Builder\temp\Stimulsoft_Report\stimulsoft\report\dictionary\databases\StiXmlDatabase.as:317]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at stimulsoft.flex.dataAdapters::StiXmlDataAdapter/fillDataSet()[D:\.Builder\temp\Stimulsoft_Database\stimulsoft\flex\dataAdapters\StiXmlDataAdapter.as:150]
at stimulsoft.flex.dataAdapters::StiXmlDataAdapter/onLoaderDataResult()[D:\.Builder\temp\Stimulsoft_Database\stimulsoft\flex\dataAdapters\StiXmlDataAdapter.as:68]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/onComplete()

Re: Illegal write to read-only property count

Posted: Mon Jul 08, 2013 1:59 pm
by gallopaway7
For my designer I am using version stimulsoft Reports.Web 2013.2.1611.0

and for Flex stimulsoft reports.FX for flex 2013.07.01

i have also attached report that gives this error

Re: Illegal write to read-only property count

Posted: Mon Jul 08, 2013 2:11 pm
by gallopaway7
I am running my project in Flex SDK 4.6

Re: Illegal write to read-only property count

Posted: Wed Jul 10, 2013 1:06 pm
by Vladimir
Hello,

We have fixed this error, the update will be available in the next prerelease build.

Thank you.

Re: Illegal write to read-only property count

Posted: Mon Jul 15, 2013 9:17 am
by gallopaway7
Thank you that fixed the issue

Re: Illegal write to read-only property count

Posted: Mon Jul 15, 2013 9:46 am
by Alex K.
Hello,

We are always glad to help you!
Let us know if you need any additional help.