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 8879713
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T20:00:42+00:00 2026-06-14T20:00:42+00:00

We recently upgraded our website project to Visual Studio 2010. I am now getting

  • 0

We recently upgraded our website project to Visual Studio 2010.

I am now getting this error whenever I try to Publish the Website with the “Allow this precompiled site to be updatable” checked.

This worked previously using Visual Studio 2008 so I am not sure why it is not working now.

The type or namespace name 'xxxxxxxxx_ascx' does not exist in the namespace 'ASP' 
(are you     missing an assembly reference?)

The lines causing the error are all doing this sort of thing.

ASP.content_Controls_Info_ascx infoControl = new ASP.content_Controls_Info_ascx();
infoControl.Stages =  query.ToList();
PlaceHolder1.Controls.Add(infoControl);

I have not upgraded anything else so the dot net framework is still 3.5

The site builds fine and a publish works without “Allow this precompiled site to be updatable” checked. The content_Controls_Info_ascx part of the code also highlights the class name so it is finding it.

  • 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-06-14T20:00:43+00:00Added an answer on June 14, 2026 at 8:00 pm

    In .sln file find section related to your Web Site Project. It looks like this:

    Project("{E24C65DC-7377-472B-9ABA-BC803B73C61A}") = "YourWebProject", "..\WEB\YourWebProject", "{A3774FE1-AA19-4A0F-94C9-FA58084B2429}"
        ProjectSection(WebsiteProperties) = preProject
            TargetFrameworkMoniker = ".NETFramework,Version%3Dv4.0"
            ProjectReferences = "..."
            Debug.AspNetCompiler.VirtualPath = "/YourWebProject"
            Debug.AspNetCompiler.PhysicalPath = "..\WEB\YourWebProject\"
            Debug.AspNetCompiler.TargetPath = "PrecompiledWeb\YourWebProject\"
            Debug.AspNetCompiler.Updateable = "true"
            Debug.AspNetCompiler.ForceOverwrite = "true"
            Debug.AspNetCompiler.FixedNames = "false"
            Debug.AspNetCompiler.Debug = "True"
            Release.AspNetCompiler.VirtualPath = "/YourWebProject"
            Release.AspNetCompiler.PhysicalPath = "..\WEB\YourWebProject\"
            Release.AspNetCompiler.TargetPath = "PrecompiledWeb\YourWebProject\"
            Release.AspNetCompiler.Updateable = "true"
            Release.AspNetCompiler.ForceOverwrite = "true"
            Release.AspNetCompiler.FixedNames = "false"
            Release.AspNetCompiler.Debug = "False"
            VWDPort = "2487"
        EndProjectSection
    EndProject
    

    and set following properties to “false” (I used Notepad to edit .sln file):

    • Debug.AspNetCompiler.Updateable = “false“
    • Release.AspNetCompiler.Updateable = “false“

    by default they were set to “true” and error was occurred:

    The type or namespace name ‘xxxxxxxxx_ascx’ does not exist in the namespace ‘ASP’
    (are you missing an assembly reference?)

    This solution helped me.

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

Sidebar

Related Questions

All: We are using Visual Studio 2010, and we have recently upgraded our workstations
Recently we upgraded our TFS server 2008 to 2010. Now, we have got problems
We just recently upgraded from VS2008 to VS2010. Our project compiles fine; but when
I've recently upgraded VS 2008 to VS 2010. On our server we have IIS6
We recently upgraded our Automapped FNH / NH project to NH 3.2, and are
We've recently upgraded from Visual SourceSafe to SVN based on recommendations on this site.
I recently upgraded our project's jQuery file from 1.4.2 to 1.4.4 and it appears
We are using jquery validation plugin in our project. Recently we have upgraded our
I recently upgraded the Android SDK on our build machine, and now Android builds
We recently upgraded to MVC 4 and now we are having titles in our

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.