Errors on Web Application running Crystal Reports

jjc9809
jjc9809 used Ask the Experts™
on
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
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Mike McCrackenSenior Consultant
Most Valuable Expert 2011
Top Expert 2013

Commented:
What version of Crystal?

What Crystal dlls have you included in the application?

mlmcc

Author

Commented:
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.
Mike McCrackenSenior Consultant
Most Valuable Expert 2011
Top Expert 2013

Commented:
Are you using a standalone CR10 or just the version tha comes in VS2005 (CR10.2)

mlmcc
Senior Consultant
Most Valuable Expert 2011
Top Expert 2013
Commented:

Author

Commented:
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?
Mike McCrackenSenior Consultant
Most Valuable Expert 2011
Top Expert 2013

Commented:
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

Author

Commented:
We have reverted to the VS2005 dll's and references.
Mike McCrackenSenior Consultant
Most Valuable Expert 2011
Top Expert 2013

Commented:
Isn't that what I suggested?

mlmcc

Author

Commented:
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.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial