Telerik Forums
Reporting Forum
3 answers
589 views
We're getting an exception thrown, when trying to load the report viewer.  The contents:

Server Error in '/' Application.

No parameterless constructor defined for this object.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.MissingMethodException: No parameterless constructor defined for this object.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[MissingMethodException: No parameterless constructor defined for this object.]
   System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck) +0
   System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache) +86
   System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache) +230
   System.Activator.CreateInstance(Type type, Boolean nonPublic) +67
   System.Activator.CreateInstance(Type type) +6
   Telerik.ReportViewer.WebForms.ServerReport..ctor(SerializationInfo info, StreamingContext context) +560

[TargetInvocationException: Exception has been thrown by the target of an invocation.]
   System.RuntimeMethodHandle._SerializationInvoke(Object target, SignatureStruct& declaringTypeSig, SerializationInfo info, StreamingContext context) +0
   System.Reflection.RuntimeConstructorInfo.SerializationInvoke(Object target, SerializationInfo info, StreamingContext context) +108
   System.Runtime.Serialization.ObjectManager.CompleteISerializableObject(Object obj, SerializationInfo info, StreamingContext context) +273
   System.Runtime.Serialization.ObjectManager.FixupSpecialObject(ObjectHolder holder) +49
   System.Runtime.Serialization.ObjectManager.DoFixups() +223
   System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage) +188
   System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage) +203
   System.Web.Util.AltSerialization.ReadValueFromStream(BinaryReader reader) +788
   System.Web.SessionState.SessionStateItemCollection.ReadValueFromStreamWithAssert() +55
   System.Web.SessionState.SessionStateItemCollection.DeserializeItem(String name, Boolean check) +281
   System.Web.SessionState.SessionStateItemCollection.get_Item(String name) +19
   System.Web.SessionState.HttpSessionStateContainer.get_Item(String name) +13
   System.Web.SessionState.HttpSessionState.get_Item(String name) +13
   Telerik.ReportViewer.WebForms.ReportDataOperation.ReportFromQuery(NameValueCollection urlQuery) +163
   Telerik.ReportViewer.WebForms.ReportPageOperation.PerformOperation(NameValueCollection urlQuery, HttpContext context) +73
   Telerik.ReportViewer.WebForms.HttpHandler.System.Web.IHttpHandler.ProcessRequest(HttpContext context) +229
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +181
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75


Version Information: Microsoft .NET Framework Version:2.0.50727.3053; ASP.NET Version:2.0.50727.3053


We're testing with sessionState mode="StateServer", for the specific purpose of ensuring that we get an error like this whenever we try to put something in the Session that isn't serializable.  Up 'til now, the errors that have resulted have always told us which class it was that wasn't serializable.  Unfortunately, If this error is telling me which class is causing the problem, I can't see it.

"No parameterless constructor defined for this object" - which object?  Of what type?

Anyone know how to find out?

David Silveria
Top achievements
Rank 1
 answered on 27 Jan 2009
1 answer
119 views
Hi,
I need to email the report from report viewer, but the report has to be in email body instead of attachment.

I saw the code from this forum http://www.telerik.com/community/forums/reporting/telerik-reporting/send-a-report-by-email.aspx,
but i need to display the report in email body.

Is it posible.
Help me ASP.

Thanks.
Eva
Steve
Telerik team
 answered on 27 Jan 2009
0 answers
171 views

Hi all,

 

 I have designed a report to show data but it takes long time to load

 

 

 as it shows a lot of records and generate report page for each record,

 

 

 so are there any method to make report show page on demand?

 

 

 means show page that user clicks on paging arrows?

Regards

 

Raul
Top achievements
Rank 1
 asked on 26 Jan 2009
3 answers
228 views
Hi everyone,
I have just started to play with the reporting tool provided and must say I really like it.
I am building a website that processes credit card payments using a 3rd party, I need to be able to email my users an receipt once a payment has been made. Thats were I see telerik reporting fitting in.

I have built a report that I wish to use as my template that I will contact to my datasource however I really dont know how to wire everything up.

I have an aspx page which I dont wish to show the report so I havent added a viewer but what I wish to do is create the report as a pdf and then email it. I know how to email the report but I am unsure of how I need to bind the report to my datasource,creating the pdf then sending it.

Does anyone have any tips to get me started?

Steve
Telerik team
 answered on 26 Jan 2009
3 answers
162 views

Hi,

when you try to change the Report while having the visibility property set to false it will give you the following message:

 “Property value is not valid.
Session state can only be used when enableSessionState is set to true, either in a configuration file or in the Page directive. Please also make sure that System.Web.SessionStateModule or a custom session state module is included in the <configuration>\<system.web>\<httpModules> section in the application configuration.”

At the moment you can only change the report property in design time when the visible property is set to true.

I’m using the Q3 2008 version of Telerik Reporting.

Regards,
YCeron
Steve
Telerik team
 answered on 26 Jan 2009
1 answer
155 views
Dear Sir.,
     This is Suriya again., Now my doubt in using subreport using stored procedure with passing parameters through web forms..

Sir i need a detailed answer from you., i am waiting for ur reply..

                                        By Suriya Narayanan
Steve
Telerik team
 answered on 23 Jan 2009
4 answers
303 views
Hi

I am currently trying to convert the code for an ampersand (&amp;) into the actual sign.  The database that I am retrieving the value from stores it as its code but when displayed in my report, it doesn't convert it.  Does anyone know if it is possible to convert it when displaying the report?

Thanks

Simon
Simon Parr
Top achievements
Rank 1
 answered on 22 Jan 2009
1 answer
382 views
Is there any way to do a conditional page break? I have a label report that needs to have page breaks at certain places based on the data but not on a group or such. So I want to use some sort of conditional formatting or whatever to insert page breaks based on a value in one of the fields. Is this possible?
Steve
Telerik team
 answered on 21 Jan 2009
1 answer
120 views

Hi..

      Now i am using subreport .. But the group header section is repeated twice in the master report .. when  report is called in another report with the use of subreport concept , the master report's group header section is displays twice in the preview..

                                  

                         By Suriya Narayanan.,

Steve
Telerik team
 answered on 21 Jan 2009
1 answer
120 views
Hello, i purchased Telerik Reporting Q3 2008 SP1 software. When i try to install on a server windows 2003 it fails cause is trying to find a missing file, i think
<add assembly="Telerik.Reporting.VsPackage, Version=1.5.0.0, Culture=neutral, PublicLeyToken=a9d7983dfcc261be"/>

So i have already the other software version Q2 2007 and appears the missing file, so i copy this file to the new path and it works properly.
Is this correct that what am i doing? Why the new version have not this file but the older one has it? Should i have any problem with the licence?

Thanks.

Regards


 

Steve
Telerik team
 answered on 21 Jan 2009
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?