Solved

The namespace Blah already contains a definition for 'rptBlah'

Posted on 2004-08-16
3
603 Views
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.
0
Comment
Question by:RuralInstitute
  • 2
3 Comments
 
LVL 7

Expert Comment

by:mnye
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.

hth
mnye
0
 
LVL 10

Accepted Solution

by:
ebolek earned 250 total points
ID: 11814896
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
 
LVL 10

Expert Comment

by:ebolek
ID: 11946203
glad to help

Emre
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

910 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now