sassyChick
New member
- Joined
- Jan 20, 2009
- Messages
- 1
- Programming Experience
- 1-3
Hello Everyone,
Please bare with me as this is my first post here. But there is a strange error that has been occurring with my Crystal Reports (just using the built in version with Visual Studio .NET). I had two reports which I had created, and ran successfully today. I was making minor design changes to them but no renaming of anything or messing around in designer code. Now any time i try to run either of the reports, i get the error:
Error 3 The type or namespace name 'MasterReport' does not exist in the namespace 'MRCReports' (are you missing an assembly reference?)
Here is the designer code:
This error occured in both reports and I encountered this problem yesterday which I fixed by starting over, but I really don't want to do that!
I tried to google this issue and found that it might be outdated CrystalDecisions dll's, but I do not know where to download the trusted dll's and if this would even fix it at all.
Anyone have this error before or know how to fix it?
Thanks for any help!!
Please bare with me as this is my first post here. But there is a strange error that has been occurring with my Crystal Reports (just using the built in version with Visual Studio .NET). I had two reports which I had created, and ran successfully today. I was making minor design changes to them but no renaming of anything or messing around in designer code. Now any time i try to run either of the reports, i get the error:
Error 3 The type or namespace name 'MasterReport' does not exist in the namespace 'MRCReports' (are you missing an assembly reference?)
Here is the designer code:
VB.NET:
Namespace MRCReports
Class Test
''' <summary>
''' Required designer variable.
''' </summary>
Private components As System.ComponentModel.IContainer = Nothing
Private crystalReportViewer1 As CrystalDecisions.Windows.Forms.CrystalReportViewer
Private MasterReport1 As MRCReports.MasterReport
''' <summary>
''' Clean up any resources being used.
''' </summary>
''' <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
Protected Overrides Sub Dispose(ByVal disposing As Boolean)
If (disposing _
AndAlso (Not (components) Is Nothing)) Then
components.Dispose
End If
MyBase.Dispose(disposing)
End Sub
''' <summary>
''' Required method for Designer support - do not modify
''' the contents of this method with the code editor.
''' </summary>
Private Sub InitializeComponent()
Me.crystalReportViewer1 = New CrystalDecisions.Windows.Forms.CrystalReportViewer
Me.MasterReport1 = New MRCReports.MasterReport
Me.SuspendLayout
'
' crystalReportViewer1
'
Me.crystalReportViewer1.ActiveViewIndex = 0
Me.crystalReportViewer1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
Me.crystalReportViewer1.Dock = System.Windows.Forms.DockStyle.Fill
Me.crystalReportViewer1.Location = New System.Drawing.Point(0, 0)
Me.crystalReportViewer1.Name = "crystalReportViewer1"
Me.crystalReportViewer1.ReportSource = Me.MasterReport1
Me.crystalReportViewer1.Size = New System.Drawing.Size(857, 671)
Me.crystalReportViewer1.TabIndex = 0
'
' Test
'
Me.AutoScaleDimensions = New System.Drawing.SizeF(6!, 13!)
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
Me.ClientSize = New System.Drawing.Size(857, 671)
Me.Controls.Add(Me.crystalReportViewer1)
Me.Name = "Test"
Me.Text = "Test"
Me.ResumeLayout(false)
End Sub
End Class
End Namespace
This error occured in both reports and I encountered this problem yesterday which I fixed by starting over, but I really don't want to do that!
I tried to google this issue and found that it might be outdated CrystalDecisions dll's, but I do not know where to download the trusted dll's and if this would even fix it at all.
Anyone have this error before or know how to fix it?
Thanks for any help!!
Last edited by a moderator: