In win98 se..i get run time error 6 over flow..when i try to open crystal report through a vb application on the client machine...i try to isolate the problem..what i found is that while displaying images..there is no problem..integers no problem but when data in string format (for example product name) is put onto the report..it prompts this error...the applicaiton works fine on xp..i dont know how to fix this problem..could any one please help meCheck if there are any viruses on that system
What does that string look like?
Does it have special characters?
Showing posts with label client. Show all posts
Showing posts with label client. Show all posts
Monday, March 19, 2012
Sunday, March 11, 2012
Crystal Report on Remoting Problem.
Hi All,
Following is the scenario i am working on.
1. There are some .RPT files which reside on server.
2. Client will request to see the report, in that case RPT file will
be dynamically loaded on server , dataset is passed as datasource to
report and then that report is streamed to client using
ExportToStream method.
3. Client will receive this stream and reconstruct Report Document
and will display in viewer.
4. Client Server communication is mentained using .Net remoting.
Everything works fine in stand alone mode. Problem is in remoting
mode.
Problem occurs at the time of loading report file dynamically,
following is the exception i get.
The type
CrystalDecisions.CrystalReports.Engine.LoadSaveReportException in
Assembly CrystalDecisions.Shared, Version=9.1.5000.0,
Culture=neutral, PublicKeyToken=692fbea5521e1304 is not marked as
serializable.
Server stack trace:
at
System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitSe
rialize(Object obj, ISurrogateSelector surrogateSelector,
StreamingContext context, SerObjectInfoInit serObjectInfoInit,
IFormatterConverter converter)
at
System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.Serial
ize(Object obj, ISurrogateSelector surrogateSelector,
StreamingContext context, SerObjectInfoInit serObjectInfoInit,
IFormatterConverter converter)
at
System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Serialize
(Object graph, Header[] inHeaders, __BinaryWriter serWriter, Boolean
fCheck)
at
System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serial
ize(Stream serializationStream, Object graph, Header[] headers,
Boolean fCheck)
at
System.Runtime.Remoting.Channels.BinaryServerFormatterSink.SerializeR
esponse(IServerResponseChannelSinkStack sinkStack, IMessage msg,
ITransportHeaders& headers, Stream& stream)
at
System.Runtime.Remoting.Channels.BinaryServerFormatterSink.ProcessMes
sage(IServerChannelSinkStack sinkStack, IMessage requestMsg,
ITransportHeaders requestHeaders, Stream requestStream, IMessage&
responseMsg, ITransportHeaders& responseHeaders, Stream&
responseStream)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage
(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke
(MessageData& msgData, Int32 type)
at Hebron.Common.Interfaces.IFeesReportController.GetInvoice
(ArrayList oArrylst)
at Hebron.ReportClient.ReportTool.PrintReport(ReportName name,
ArrayList oArry)
at Hebron.FeesClient.ReviewInvoices.btnPrint_Click(Object sender,
EventArgs e)Normally if an object is serializable then you can just add an attribute [serialziable] to your class and it works.
Crystal Report Document Object is not Serializable as per the Business Object documentation(atleast till version 10). During remoting the object needs to be serialized and that is why you get the error. Try to find out from Business Objects support team if you can, at all serialize the object ? Will face the same issue if using ASP.NET "StateServer" session and try to save the Report Document object in session.
Frank
Following is the scenario i am working on.
1. There are some .RPT files which reside on server.
2. Client will request to see the report, in that case RPT file will
be dynamically loaded on server , dataset is passed as datasource to
report and then that report is streamed to client using
ExportToStream method.
3. Client will receive this stream and reconstruct Report Document
and will display in viewer.
4. Client Server communication is mentained using .Net remoting.
Everything works fine in stand alone mode. Problem is in remoting
mode.
Problem occurs at the time of loading report file dynamically,
following is the exception i get.
The type
CrystalDecisions.CrystalReports.Engine.LoadSaveReportException in
Assembly CrystalDecisions.Shared, Version=9.1.5000.0,
Culture=neutral, PublicKeyToken=692fbea5521e1304 is not marked as
serializable.
Server stack trace:
at
System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitSe
rialize(Object obj, ISurrogateSelector surrogateSelector,
StreamingContext context, SerObjectInfoInit serObjectInfoInit,
IFormatterConverter converter)
at
System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.Serial
ize(Object obj, ISurrogateSelector surrogateSelector,
StreamingContext context, SerObjectInfoInit serObjectInfoInit,
IFormatterConverter converter)
at
System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Serialize
(Object graph, Header[] inHeaders, __BinaryWriter serWriter, Boolean
fCheck)
at
System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serial
ize(Stream serializationStream, Object graph, Header[] headers,
Boolean fCheck)
at
System.Runtime.Remoting.Channels.BinaryServerFormatterSink.SerializeR
esponse(IServerResponseChannelSinkStack sinkStack, IMessage msg,
ITransportHeaders& headers, Stream& stream)
at
System.Runtime.Remoting.Channels.BinaryServerFormatterSink.ProcessMes
sage(IServerChannelSinkStack sinkStack, IMessage requestMsg,
ITransportHeaders requestHeaders, Stream requestStream, IMessage&
responseMsg, ITransportHeaders& responseHeaders, Stream&
responseStream)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage
(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke
(MessageData& msgData, Int32 type)
at Hebron.Common.Interfaces.IFeesReportController.GetInvoice
(ArrayList oArrylst)
at Hebron.ReportClient.ReportTool.PrintReport(ReportName name,
ArrayList oArry)
at Hebron.FeesClient.ReviewInvoices.btnPrint_Click(Object sender,
EventArgs e)Normally if an object is serializable then you can just add an attribute [serialziable] to your class and it works.
Crystal Report Document Object is not Serializable as per the Business Object documentation(atleast till version 10). During remoting the object needs to be serialized and that is why you get the error. Try to find out from Business Objects support team if you can, at all serialize the object ? Will face the same issue if using ASP.NET "StateServer" session and try to save the Report Document object in session.
Frank
Crystal Report Migration 8 to 11
Dear Friends
Is crystal report 8.5 to 11 can migrate?
and Crystal report 11 can support both web and client based report
Thanks in advance
Ravi chandraInstall 11 and try to open the 8.5 reports
Refer wwww.businessobjects.com for more details
Is crystal report 8.5 to 11 can migrate?
and Crystal report 11 can support both web and client based report
Thanks in advance
Ravi chandraInstall 11 and try to open the 8.5 reports
Refer wwww.businessobjects.com for more details
Crystal report Impossible to convert to RS?
I am trying to re-create a report in RS which we currently have in Crystal.
The report does a grouping of data based on client. There should be an
"address" page in-between each of the client's data pages which displays the
client name and address (for an envelope). This page should not have a page
footer. Also, the client's data pages should have a footer with page numbers
but the numbering for the pages should be re-set for each client. For example:
First printed page: CLIENT A Address page (no footer)
Second printed page: CLIENT A Data page (displays "page 1 of 1" in footer)
Third printed page: CLIENT B Address page (no footer)
Fourth printed page: CLIENT B Data page (displays "page 1 of 2" in footer)
Fifth printed page: CLIENT B Data page (displays "page 2 of 2" in footer)
Sixth printed page: CLIENT C Address page (no footer)
Seventh printed page: CLIENT C Data page (displays "page 1 of 1" in footer)
I can do the "address" page by creating a group header at the top of my
table which is the same size as a regular page. The problem for me is:
How do I have a footer displaying the page number only on the data pages?
How do I reset the page numberign for each client (or grouping)?You won't be able to get the "of X" part of the page report, but you can
reset the page number using a little custom code. Basically you define a
static variable for the report and reset it every time the grouping item
changes.
See https://blogs.msdn.com/bwelcker/archive/2005/05/19/420046.aspx
"DBA72" <DBA72@.discussions.microsoft.com> wrote in message
news:973069DA-28B4-40A3-A075-EBC1C3E216D5@.microsoft.com...
>I am trying to re-create a report in RS which we currently have in Crystal.
> The report does a grouping of data based on client. There should be an
> "address" page in-between each of the client's data pages which displays
> the
> client name and address (for an envelope). This page should not have a
> page
> footer. Also, the client's data pages should have a footer with page
> numbers
> but the numbering for the pages should be re-set for each client. For
> example:
> First printed page: CLIENT A Address page (no footer)
> Second printed page: CLIENT A Data page (displays "page 1 of 1" in footer)
> Third printed page: CLIENT B Address page (no footer)
> Fourth printed page: CLIENT B Data page (displays "page 1 of 2" in footer)
> Fifth printed page: CLIENT B Data page (displays "page 2 of 2" in footer)
> Sixth printed page: CLIENT C Address page (no footer)
> Seventh printed page: CLIENT C Data page (displays "page 1 of 1" in
> footer)
> I can do the "address" page by creating a group header at the top of my
> table which is the same size as a regular page. The problem for me is:
> How do I have a footer displaying the page number only on the data pages?
> How do I reset the page numberign for each client (or grouping)?
The report does a grouping of data based on client. There should be an
"address" page in-between each of the client's data pages which displays the
client name and address (for an envelope). This page should not have a page
footer. Also, the client's data pages should have a footer with page numbers
but the numbering for the pages should be re-set for each client. For example:
First printed page: CLIENT A Address page (no footer)
Second printed page: CLIENT A Data page (displays "page 1 of 1" in footer)
Third printed page: CLIENT B Address page (no footer)
Fourth printed page: CLIENT B Data page (displays "page 1 of 2" in footer)
Fifth printed page: CLIENT B Data page (displays "page 2 of 2" in footer)
Sixth printed page: CLIENT C Address page (no footer)
Seventh printed page: CLIENT C Data page (displays "page 1 of 1" in footer)
I can do the "address" page by creating a group header at the top of my
table which is the same size as a regular page. The problem for me is:
How do I have a footer displaying the page number only on the data pages?
How do I reset the page numberign for each client (or grouping)?You won't be able to get the "of X" part of the page report, but you can
reset the page number using a little custom code. Basically you define a
static variable for the report and reset it every time the grouping item
changes.
See https://blogs.msdn.com/bwelcker/archive/2005/05/19/420046.aspx
"DBA72" <DBA72@.discussions.microsoft.com> wrote in message
news:973069DA-28B4-40A3-A075-EBC1C3E216D5@.microsoft.com...
>I am trying to re-create a report in RS which we currently have in Crystal.
> The report does a grouping of data based on client. There should be an
> "address" page in-between each of the client's data pages which displays
> the
> client name and address (for an envelope). This page should not have a
> page
> footer. Also, the client's data pages should have a footer with page
> numbers
> but the numbering for the pages should be re-set for each client. For
> example:
> First printed page: CLIENT A Address page (no footer)
> Second printed page: CLIENT A Data page (displays "page 1 of 1" in footer)
> Third printed page: CLIENT B Address page (no footer)
> Fourth printed page: CLIENT B Data page (displays "page 1 of 2" in footer)
> Fifth printed page: CLIENT B Data page (displays "page 2 of 2" in footer)
> Sixth printed page: CLIENT C Address page (no footer)
> Seventh printed page: CLIENT C Data page (displays "page 1 of 1" in
> footer)
> I can do the "address" page by creating a group header at the top of my
> table which is the same size as a regular page. The problem for me is:
> How do I have a footer displaying the page number only on the data pages?
> How do I reset the page numberign for each client (or grouping)?
Wednesday, March 7, 2012
Crystal 9.0 and Citrix ICA Client server
I developed an app to display all my old crystal 7.0 reports in a .NET platform and migrate the reports to 9.0, some of my clients work through Citrix ICA Client.
The aplication just open the report, the report viewer by itself present the parameters window, then execute the report and show it. It works good in my local clients and my dev PC. but the same app instaled in my Citrix server execute the report without ask for parameters.
I can't find any information about it, I hope somebody can help me ...
ThanxDid you use latest service pack of CR?
See if you find solution here
http://www.businessobjects.com/support/default.asp
The aplication just open the report, the report viewer by itself present the parameters window, then execute the report and show it. It works good in my local clients and my dev PC. but the same app instaled in my Citrix server execute the report without ask for parameters.
I can't find any information about it, I hope somebody can help me ...
ThanxDid you use latest service pack of CR?
See if you find solution here
http://www.businessobjects.com/support/default.asp
Subscribe to:
Posts (Atom)