For Programmers: Free Programming Magazines  


Home > Archive > Visual Basic Crystal Reports > April 2005 > VERY STRANGE BEHAVIOUR !!









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author VERY STRANGE BEHAVIOUR !!
Oliviero Dall'Asta

2005-04-28, 4:05 pm


In my web app I'm generating PDF ( in some pages) and DOC files ( in others
pages) with CR .NET.
I've discovered that problem about "Trovato token sconosciuto: '0,05' ( in
English,"Unknown token 0,05 found") compare only AFTER than I've generated
my first DOC file!!!
After that, every trial to generate PDF files causes error: "Unknown token
0,05 found"
I've to reset/restart my webserver to have my app working fine again!!

Oliviero


"Oliviero Dall'Asta" <olivierodallasta@tin.it> ha scritto nel messaggio
news:Jk2ce.1301839$35.48340746@news4.tin.it...
> I'm using this code to generate a DOC file with CR .NET and it's working
> fine:
>
> .........
> Dim MyStream As System.IO.Stream
>
> 'MyStream = reportObject.ExportToStream(ExportFormatType.WordForWindows) '
> for word type
>
> MyStream = reportObject.ExportToStream(ExportFormatType.PortableDocFormat)
> ' for PDF
>
> Response.ClearHeaders()
>
> Response.ClearContent()
>
> 'Response.ContentType = "application/msword" ' for word type
>
> Response.ContentType = "application/pdf" ' for PDF type
>
> Dim MyBuffer(CType(MyStream.Length, Integer)) As Byte
>
> MyStream.Read(MyBuffer, 0, CType(MyStream.Length, Integer))
>
> Response.BinaryWrite(MyBuffer)
>
> Response.End()
>
>
>
> If I'm trying to generate a PDF files ( using commented lines) I've this
> message error when Acrobat is starting on my client browser:
>
> "Trovato token sconosciuto: '0,05'" ( in English,something like:
> Unknow token found....)
>
> What does it mean?
>
> No problems generating DOC files !!
>
> Thanks. Oliviero
>
>
>
>
>
>



Oliviero Dall'Asta

2005-04-28, 9:02 pm

Thanks to Daniele Crotti, from www.ugidotnet.org
It's a bug for Italian version of CR .NET in crxt_pdf.dll .
Now is available a patch:
Crystal Reports .Net 1.1 Patch
Hot Fix Name: crnet11win_it.zip
You can download it here:
ftp://ftp1.businessobjects.com/outg...net11win_it.zip
Now all is working and I can generate DOC and then PDF in my app!
Thanks to Daniele.
Bye.
Oliviero


"Oliviero Dall'Asta" <olivierodallasta@tin.it> ha scritto nel messaggio
news:BZ6ce.1304024$35.48382522@news4.tin.it...
>
> In my web app I'm generating PDF ( in some pages) and DOC files ( in
> others pages) with CR .NET.
> I've discovered that problem about "Trovato token sconosciuto: '0,05' ( in
> English,"Unknown token 0,05 found") compare only AFTER than I've generated
> my first DOC file!!!
> After that, every trial to generate PDF files causes error: "Unknown token
> 0,05 found"
> I've to reset/restart my webserver to have my app working fine again!!
>
> Oliviero
>
>
> "Oliviero Dall'Asta" <olivierodallasta@tin.it> ha scritto nel messaggio
> news:Jk2ce.1301839$35.48340746@news4.tin.it...
>
>



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com