Solved

The namespace Blah already contains a definition for 'rptBlah'

Posted on 2004-08-16
3
616 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

Suggested Solutions

Title # Comments Views Activity
Conditional Text in Crystal 4 54
Crystal Report for VS2013 17 129
Visual Studio .Net 2012 and Crystal Reports 9 89
Crystal image Object type? 7 37
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. …
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

808 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