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

  • Home
  • SEARCH
  • 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 163657
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T11:36:21+00:00 2026-05-11T11:36:21+00:00

I’m concerned that the web hosting that I’m paying for is not configured correctly.

  • 0

I’m concerned that the web hosting that I’m paying for is not configured correctly. ASP.NET Web Sites which compile and run correctly on my local machine don’t work once they’re deployed.

The issue I’m dealing with is a compilation error: CS0246, ‘Type or namespace could not be found (Are you missing a ‘using’ directive or assembly reference?)

My Web Site contains the following files and folders:

websitedemo/Default.aspx websitedemo/Default.aspx.cs websitedemo/App_Code/HelloClass.cs 

The compilation error occurs if I attempt to use any code contained in my App Code folder. I’ve included the entire /websitedemo/ folder in this archive if it helps troubleshoot the error: http://kivin.ca/websitedemo/source.zip

I’ve left the folder in debug mode. The compilation error screen may be viewed at http://kivin.ca/websitedemo/

Best regards.

— update:

If it helps troubleshoot this error, I’ve got the behaviour that occurs when I attempt to deploy an ASP.NET WebApplication instead of Website.

In the case that my aspx file includes a @Page direct like this:

<%@ Page Language='C#' AutoEventWireup='true' CodeBehind='Default.aspx.cs' Inherits='myproj._Default' Debug='true' %>

The compilation error I get is: ‘Parser Error Message: Could not load type ‘myproj._Default’.’

The webapps are being deployed via ftp using Build -> Publish -> [X] Replace matching files, [X] Only files needed to run this app. [X] Include App_Data folder.

  • 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. 2026-05-11T11:36:21+00:00Added an answer on May 11, 2026 at 11:36 am

    I’d like to thank everyone for their support. It’s most appreciated. I’ve been in contact with a specialist at my web hosting company and they’ve advised me that this isn’t a code or server configuration error, but just a missed step in my control panel. Setting my website working directory as a virtual dir resolved the issue.

    Thanks to the stack overflow community and the outstanding support people at Softsys Hosting.

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

Sidebar

Related Questions

That's pretty much it. I'm using Nokogiri to scrape a web page what has
I would like to run a str_replace or preg_replace which looks for certain words
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
I need a function that will clean a strings' special characters. I do NOT
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I am trying to understand how to use SyndicationItem to display feed which is
I used javascript for loading a picture on my website depending on which small
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I've got a string that has curly quotes in it. I'd like to replace
I have a French site that I want to parse, but am running into

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.