Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Type not found in namespace; namespace name given is not as expected

Status
Not open for further replies.

Algernon83

Programmer
Jun 25, 2004
50
US
In an ASP.Net project, I have a number of libraries, one of which is called FreeForm. In a particular page, I make reference to it with a Register directive and bring in an object with this tag:

<FreeForm:RecordFinder id="Finder" runat="server" />

When I try to view the page, it shows me the following error message:

CS0234: The type or namespace name 'RecordFinder' does not exist in the class or namespace 'FreeForm.FreeForm' (are you missing an assembly reference?)

I can't think what's going wrong here. The register directive seems to be in order; in fact it's nearly identical to the one I use for the other libraries, and I'm able to put controls from the other libraries into my page. The most confusing part is that it lists the namespace as FreeForm.FreeForm as opposed to just FreeForm -- why is the second iteration of the name being attached? I'm very confused.
 
Can you show us your register directive?

I take it that there is no FreeForm.FreeForm namespace and that the correct namespace is just FreeForm, right?

Brian Begy
BugSentry - Automatic error reporting for .NET and COM
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top