473,503 Members | 1,300 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Getting error in SetDataSource

1 New Member
Error description: Message:Object reference not set to an instance of an object.
Source:mscorlib
Target:Void StructureToPtr(System.Object, IntPtr, Boolean)
Stack: at System.Runtime.InteropServices.Marshal.StructureTo Ptr(Object structure, IntPtr ptr, Boolean fDeleteOld)
at CrystalDecisions.ReportAppServer.DataSetConversion .DataSetConverter.Wrap(DataSet dataset, CrdbAdoPlusDelegate& adoPlusDelegate)
at CrystalDecisions.CrystalReports.Engine.Table.SetDa taSource(Object val)

My reports works fine except few times.

It is getting crash due to the exception. Please guide me have to solve the above problem.

Thanks in advance.
Nov 5 '07 #1
0 813

Sign in to post your reply or Sign up for a free account.

Similar topics

0
693
by: Jerry Spence1 | last post by:
I have a Crystal report within VB.Net. I have defined some fields using the Field Explorer (which is where I think I am going wrong) I have the following code: Private Sub Form1_Load(ByVal...
1
1671
by: vipindev.s | last post by:
hi all i am not much expert in asp.net. i am using crystal rpt for report generation. is any other report generation method is available??? i use push method to creat report, and it is working...
3
3753
by: ATroy | last post by:
Here's a sample of my code for the web form that will display the report: public class myClass: System.Web.UI.Page { protected CrystalDecisions.Web.CrystalReportViewer CrystalReportViewer1; ...
4
3278
by: Miro | last post by:
<i have also added this reply to the other newsgroup - now that I have realizd ( and assuming ) it is not a localized error directly to vb.> I have found this link on the website:...
0
7203
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7089
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7339
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6995
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
1
5017
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3168
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3157
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1515
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
389
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.