Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


The namespace Blah already contains a definition for 'rptBlah'

Posted on 2004-08-16
Medium Priority
Last Modified: 2008-03-17
Occasionally when updating a Crystal Report I get the above error, which seems to happen from a Crystal Reports automatically generated file (Blah1.rpt) having the same name for its classes as the original report. How do I gracefully resolve this issue? Just deleting the autogenerated fiel does not seem to work.
Question by:RuralInstitute
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2

Expert Comment

ID: 11814442
im assuming you are creating this report at runtime via VS.Net? if so, check that your references are pointing to the GAC and not your projects bin.

LVL 10

Accepted Solution

ebolek earned 500 total points
ID: 11814896
usually when you create a report via, vs creates a blah.cs and blah.rpt. Delete the cs fiel or vb one accroding to the language you use. leave only the rpt version

LVL 10

Expert Comment

ID: 11946203
glad to help


Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…

715 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question