Link to home
Start Free TrialLog in
Avatar of jjc9809
jjc9809

asked on

Errors on Web Application running Crystal Reports

I am getting the following errors:

Property "New Generator" cannot be declared "overrides" becuase it does not override a property in a base class.

Property "FullResourceName" cannot be declared "overrides" becuase it does not override a property in a base class.

The Coding on my TechnicianCalls.vb automatically generated
Public Overrides Property ResourceName() As String
        Get
            Return "TechnicianCalls.rpt"
        End Get
        Set
            'Do nothing
        End Set
    End Property
   
    Public Overrides Property NewGenerator() As Boolean
        Get
            Return true
        End Get
        Set
            'Do nothing
        End Set
    End Property
   
    Public Overrides Property FullResourceName() As String
        Get
            Return "ABCLogIn.TechnicianCalls.rpt"
        End Get
        Set
            'Do nothing
        End Set
    End Property

What is causing these errors?  When I comment out the errors and debug the applicaton runs and my Crsytal Report pulls up.  When I try to make a change on the TechnicianCall.rpt and re-build the errors return
Avatar of Mike McCracken
Mike McCracken

What version of Crystal?

What Crystal dlls have you included in the application?

mlmcc
Avatar of jjc9809

ASKER

We have the Crystal Report dll's for 10.2.3600 referenced in the properties of the project.  I had created my reports inside the Visual Studio 2005 version with Crystal Reports 10.  We are also using the Crystal Reports 10 on the server.
Are you using a standalone CR10 or just the version tha comes in VS2005 (CR10.2)

mlmcc
ASKER CERTIFIED SOLUTION
Avatar of Mike McCracken
Mike McCracken

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jjc9809

ASKER

mimcc,

I am using only the version tha comes in VS2005 (CR10.2).  The network people noy knowing much about VS 2005, installed a Crystal Report XI on my desktop that is standalone.  The projects I created in Visual Studio had the references changed to 11.5 on the Dll's instead of the 10.2.  This has caused me problems because everytime I pull up my project now I get the message one or more Crystal Reports was done in a previous version, do you want to upgrade the reports to Crystal Reports XI.  I can't do anything but click No here becuase the version we have on the server with a license is Crystal Report X, and Not XI.  There is not enough licenses in our shop to go around.

Tbhis i causing us a lot of errors that we really should not be having.

Is tehre any way to keep this message from coming up when I first pull up my project?

Also, I can comment out the overides property  new gernator errors, and the application runs, but they come right back when I go out of the project and come back in.

Any suggestions for the errors?
Is tehre any way to keep this message from coming up when I first pull up my project?
No, except for reverting to the VS2005 dlls and includes.

You don't need a license for Crystal for people to run the reports only the runtimes.  If you have CR XI Developer edition you can legally load the runtimes on the server or on all your clients.

mlmcc
Avatar of jjc9809

ASKER

We have reverted to the VS2005 dll's and references.
Isn't that what I suggested?

mlmcc
Avatar of jjc9809

ASKER

Reverting to the Crystal Report dll's for VS 2005 was done before I even put in a request for help at this site is what I am telling you.  So reverting to the dll's is not the problem.