Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

running a appl in win2k problem

Status
Not open for further replies.

sahernandez

Programmer
Oct 1, 2002
69
SV
Hi, I have some program to load CR9 (crystal report 9), when a Running this programs in a WinXP pc there is not problem, but when I run this program in a Win2k pc, I got
this error

System.NullReferenceException: Object reference not set to an instance of an object.
at System.Runtime.InteropServices.Marshal.GetIUnknownForObject(Object o)
at CrystalDecisions.CrystalReports.Engine.ReportDocument.SetDataSource(Object value)
at RptCrewsDetail.frmDetPerdiem.SetRpt()
at RptCrewsDetail.frmDetPerdiem.Button1_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


Can some body help me to find what's the problem?
Thxs
sahernandez
 
no, but I don´t need to install CR9 over each machine or should I install it.

Over Win Xp works fine.
thxs Dimandja
 
Yes I already did it.

I have a Bundled Version of CR9 and VS .NET 2002.
And I added this merge module:

Database_Access.msm
Database_Access_enu.msm
Managed.msm
RegWiz.msm
VC_CRT.msm
VC_STL.msm

But the point is, for XP run fine only in Win2k I found some problems

Cheers
 
If the report uses a DataSet as a report source, you may need to install a suitable version of MDAC on the W2K machine.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top