protected function buttonImprimer_clickHandler(event:MouseEvent):void
{
var ListeClients:String = "reports/ListeClients.mrt";
var request:URLRequest = new URLRequest(ListeClients);
var loader:URLLoader = new URLLoader();
loader.addEventListener(Event.COMPLETE, buttonImprimer1);
loader.load(request);
}
private function buttonImprimer1(event:Event): void{
var loader:URLLoader = event.target as URLLoader;
var reportString:String = loader.data as String;
var report:StiReport = new StiReport();
report.loadReportFromString(reportString);
var language:StiLanguage = StiLanguage.fromUrl("localization/fr.xml");
StiLocalization.setLanguage(language);
StiOptions.viewer.toolbar.showOpenButton = false;
report.dictionary.dataSources.clear();
var source:StiMySqlSource = new StiMySqlSource("clients","clients");
source.nameInSource = "clients";
source.sqlCommand = "select id,nom,prenom,societe from clients limit 1";
report.dictionary.dataSources.add(source);
report.show()
}
Hello,
these codes really work good on my local server, but if I put it on my web server I get this error: Error #2044: ioError non pris en charge : text=Error #2032: Erreur de flux. URL: http://myserver/guibi/reports/ListeClients.mrt
Could you please tell me why?
Many thanks in advance.
Best regards,
Error #2044: ioError non pris en charge : text=Error #2032: Erreur de flux. URL: http://myserver/gui
Error #2044: ioError non pris en charge : text=Error #2032: Erreur de flux. URL: http://myserver/gui
Hello,
This error occurs due to the absence of permissions to this file on the server from the Flash-application. Please check if this file is available in the browser by the specified address. Also, your Flash-application must be in the same domain, or the cross-domain .xml file must be properly formed.
Thank you.
This error occurs due to the absence of permissions to this file on the server from the Flash-application. Please check if this file is available in the browser by the specified address. Also, your Flash-application must be in the same domain, or the cross-domain .xml file must be properly formed.
Thank you.
-
- Posts: 20
- Joined: Sun Aug 29, 2010 2:56 am
- Location: Buffalo, NY
Error #2044: ioError non pris en charge : text=Error #2032: Erreur de flux. URL: http://myserver/gui
I too get this same error. I verified the file exists, and it is in the same domain so i am currently not using a cross-domain file. When i try to type it in the browser, i get a pgae cannot be found error. I made sure the internet guest account has read and wite permissions on the directory and file.
As a test using the URLLoader i loaded an xml and xsd file no problems. Right now it only appears to be unhappy with a .mrt file.
Any help would be great.
As a test using the URLLoader i loaded an xml and xsd file no problems. Right now it only appears to be unhappy with a .mrt file.
Any help would be great.
Error #2044: ioError non pris en charge : text=Error #2032: Erreur de flux. URL: http://myserver/gui
Hello,
Please try the method described in the link below:
http://ammonlauritzen.com/blog/2008/04/ ... ce-daemon/
Thank you.
Please try the method described in the link below:
http://ammonlauritzen.com/blog/2008/04/ ... ce-daemon/
Thank you.
- Attachments
-
- 653.FlashPolicyService-09c.zip
- (4.53 KiB) Downloaded 443 times
-
- Posts: 20
- Joined: Sun Aug 29, 2010 2:56 am
- Location: Buffalo, NY
Error #2044: ioError non pris en charge : text=Error #2032: Erreur de flux. URL: http://myserver/gui
PHP is not available on web server i am hainvg issues with.
I was able to figure out my problem though. I needed to add the MIME type .mrt with text/plain to my IIS server. It wasn't unitl i switched from IIS 6 to IIS7 that the exact error was revelaed. IIS 6 didn't specify exactly the MIME issue like IIS7 does.
All seems well now and this is a great product. Thanks for your help.
I was able to figure out my problem though. I needed to add the MIME type .mrt with text/plain to my IIS server. It wasn't unitl i switched from IIS 6 to IIS7 that the exact error was revelaed. IIS 6 didn't specify exactly the MIME issue like IIS7 does.
All seems well now and this is a great product. Thanks for your help.
Error #2044: ioError non pris en charge : text=Error #2032: Erreur de flux. URL: http://myserver/gui
Hello,
Thanks for the reply, we probably misunderstood your question a bit.
Let us know if you have any additional questions.
Thank you.
Thanks for the reply, we probably misunderstood your question a bit.
Let us know if you have any additional questions.
Thank you.