The namespace Blah already contains a definition for 'rptBlah'

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.
RuralInstituteAsked:
Who is Participating?
 
ebolekConnect With a Mentor Commented:
usually when you create a report via vs.net, 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

regards
Emre
0
 
mnyeCommented:
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.

hth
mnye
0
 
ebolekCommented:
glad to help

Emre
0
All Courses

From novice to tech pro — start learning today.