Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 301321
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T06:59:42+00:00 2026-05-12T06:59:42+00:00

When I have just one <%@Register %> line in my page, it loads fine.

  • 0

When I have just one <%@Register %> line in my page, it loads fine.

When I add a second one, it gives me this compilation error:

Compiler Error Message: CS0433: The
type ‘ASP.test1_ascx’ exists in both
‘c:\Users\me\AppData\Local\Temp\Temporary
ASP.NET
Files\root\c2d75602\aae4f906\App_Web_dta-e2tq.dll’
and
‘c:\Users\me\AppData\Local\Temp\Temporary
ASP.NET
Files\root\c2d75602\aae4f906\App_Web_layerwindow.ascx.cdcab7d2.zxul1sik.dll’

(slightly anonymized)

Any ideas?

EDIT: Additional information I just noticed: the line above the broken line in the YSOD said: [System.Diagnostics.DebuggerNonUserCodeAttribute()] When I searched for information on this, I found a page telling me to check to make sure I didn’t have any open brackets I wasn’t closing. Haven’t found any yet, but this may be part of the issue.

EDIT: Argh. Just want to kill the computer at this point. After daughtkom suggested creating a new project to see if the code worked from scratch, I did that and it worked. I then decided to create a new control and copied the Test1 code into there… and then it started working. (No changes to Test1 or Default.aspx, just created Test1-2.ascx.) Then I added the link to Test2 into Default.aspx… and now it’s giving me the same error, just with test2. And creating a Test2-2.ascx isn’t fixing it this time.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T06:59:42+00:00Added an answer on May 12, 2026 at 6:59 am

    I ended up setting “<compilation batch=”false”>” in my web.config file, which fixed the issue. I found it from a MSDN article… somewhere. If I find the link again I’ll post it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have just one cs file in my repository which Git seems to think
With my database upgrade scripts, I typically just have one long script that makes
To localitie items in the standard directories, I have just used either one of
I have just updated to Snow Leopard and one of my important Flash files
I have just re-written the authentication for one of our internal web applications to
I have a Web Service with Just one Web Method that returns a boolean
i have a really basic java program just one .java/.class file (.java uncompiled .class
I have just recently battled a bug in Python. It was one of those
In one of my first Cocoa applications I have just a single window with
I have been searching for days for a way to always display just one

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.