Problem with namespace

Hi,
How to resolve these problems?
Error	15	The type or namespace name 'ASP' could not be found in the global namespace (are you missing an assembly reference?)	C:\App2\Start\Default.aspx.designer.cs	76	27	Start
Error	16	The type or namespace name 'ASP' could not be found in the global namespace (are you missing an assembly reference?)	C:\App2\Start\Default.aspx.designer.cs	85	27	Start
Error	17	The type or namespace name 'ASP' could not be found in the global namespace (are you missing an assembly reference?)	C:\App2\Start\Default.aspx.designer.cs	112	27	Start

Open in new window

LVL 12
HuaMin ChenProblem resolverAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Manoj PatilSr. Software EngineerCommented:
Hey, what is your project build version ?
Show your .aspx file code.

If this error occurs, then the most common way to resolve it is adding a reference like below.

If you are using VS.NET:
1.  Right click on the References folder on your project.
2.  Select Add Reference.
3.  Select the .NET tab (or select the Browse button if it is not a .NET Framework assembly).
4.  Double-click the assembly containing the namespace in the error message.
5.  Press the OK button.
HuaMin ChenProblem resolverAuthor Commented:
What should be the reference to choose? Thanks
Manoj PatilSr. Software EngineerCommented:
Show the screenshot of your References in Solution Explorer.
Also send the Default.aspx.designer.cs page.
Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

HuaMin ChenProblem resolverAuthor Commented:
Sorry, after I added these
<ASPP:PopupPanel HeaderText="This is Header" ID="pup" 
          runat="server" OnCloseWindowClick="MycloseWindow">
    <PopupWindow runat="server">
        <ASPP:PopupWindow ID="PopupWindow1" 
        Visible="false" runat="server">
            <asp:Label ID="lbl" runat="server">ssssssssss</asp:Label>
            <br />
            <asp:TextBox ID="txt" AutoPostBack="true" 
            runat="server"></asp:TextBox>
        </ASPP:PopupWindow>
        <ASPP:PopupWindow ID="PopupWindow2" runat="server">
            <div align="center" style="width: 500px; height: 300px">
                <asp:Label ID="Label1" runat="server">nnnnn</asp:Label>
                <br />
                <asp:TextBox ID="TextBox1" AutoPostBack="true" 
                runat="server"></asp:TextBox>
                <asp:Button ID="in" runat="server" Text="sss" />
                <asp:TextBox ID="TextBox2" AutoPostBack="true" 
                runat="server"></asp:TextBox>
            </div>
        </ASPP:PopupWindow>
    </PopupWindow>
</ASPP:PopupPanel>

Open in new window

to the Web-page, I then got the problem. Why?
HuaMin ChenProblem resolverAuthor Commented:
Before this, everything is fine.
David Johnson, CD, MVPRetiredCommented:
it's not aspp but asp you shouldn't mix classic asp with asp.net
HuaMin ChenProblem resolverAuthor Commented:
It is ASP.NET, right?
Manoj PatilSr. Software EngineerCommented:
I think you are using third party control and forgot to add a reference.
Just add a attached DLL (uploaded as a .txt file. Just change the extension to .dll) in your project  and add a below line in your .aspx page

ASP.Web.UI.PopupControl.txt
<%@ Register Assembly="ASP.Web.UI.PopupControl"  Namespace="ASP.Web.UI.PopupControl"   TagPrefix="ASPP" %>

Open in new window

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
HuaMin ChenProblem resolverAuthor Commented:
Thanks.

I've added that dll file into Reference of the project like
https://app.box.com/s/j808pqjlhgtfl5qvlzf8g6y2gmg6ii4d

but I've still got this

Server Error in '/Start3' Application.

Parser Error 
  Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. 

 Parser Error Message: Could not load file or assembly 'ASP.Web.UI.PopupControl' or one of its dependencies. The system cannot find the file specified.

Source Error: 



Line 1:  <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="Start._Default" %>
Line 2:  <%@ Register Assembly="ASP.Web.UI.PopupControl" 
Line 3:      Namespace="ASP.Web.UI.PopupControl"
Line 4:      TagPrefix="ASPP" %>  
  

 Source File:  /Start3/Default.aspx    Line:  2 

Assembly Load Trace: The following information can be helpful to determine why the assembly 'ASP.Web.UI.PopupControl' could not be loaded.



WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

  


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.34249  

Open in new window


why?
Manoj PatilSr. Software EngineerCommented:
Have you added a reference in the project ?

Currently your app.box.com link is not accessible for me.  What you have sent ?
HuaMin ChenProblem resolverAuthor Commented:
Here is the same file
tt487.png
In above, I did already added the DLL file but I'm still getting the problem after having done this.
Manoj PatilSr. Software EngineerCommented:
Is it possible for you to share your project sample ?
HuaMin ChenProblem resolverAuthor Commented:
Can I have your email address? Thanks.
Manoj PatilSr. Software EngineerCommented:
Its my pleasure to be in touch with you. But sharing an email addresses is not allowed here.
And I think, you can not send DLL files in mail
You upload it on app.box.com  and send a link.
HuaMin ChenProblem resolverAuthor Commented:
Can you please refer to this

https://app.box.com/s/2orckj9zohsq8xpn55ukx098u429r243

? Thanks
Manoj PatilSr. Software EngineerCommented:
Hi,

I have seen your sample project. But I didn't get any error or warning.
It runs directly without any error.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
ASP.NET

From novice to tech pro — start learning today.