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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T08:20:48+00:00 2026-05-30T08:20:48+00:00

I have been working on an ASP.Net web site and have been publishing to

  • 0

I have been working on an ASP.Net web site and have been publishing to my server with no issues. I decided to change the path that it was being published to a few steps down so that everything would be more logically placed.

Before : C:/inetpub/wwwroot/(HERE)

After I got everything how I wanted it i changed it to down 2 steps.

After : C:/inetpub/wwwroot/super/duper/(HERE)

It wasn’t until I cleaned up the top level stuff that was just in /wwwroot/ that everything started to break. I would get errors saying that my .ashx handler couldn’t be found. After staring blankly for a few hours, I moved my /super/duper/bin/ file to the top level, /inetpub/wwwroot/bin/, and viola. It worked.

Now my question is, why did this have this effect, when the entire time the /bin/ file was web accessable?

  • 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-30T08:20:50+00:00Added an answer on May 30, 2026 at 8:20 am

    I think what the other answers and this question is alluding to is that it is not enough just to move the folder to the location that you wish to reference your site from and more importantly run your code from. The way I see it is you have two options.

    Option 1.

    Leave the bin folder at the WWWROOT level but move the other items into the folder structure you want. The runtime will load the dll in the bin folder into the app pool and your aspx’s etc. should see it.

    Option 2.

    Create a virtual folder / application at the level you want and drop everything in there.

    Option 2 is better I think.

    Also if you are not using ~ in your urls you might want to take a look at that.

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

Sidebar

Related Questions

I have been working on an ASP.NET/C# web app for some time and its
I have been working in ASP.NET Web Applications (not MVC) for a while at
I have an ASP.NET MVC 3 web site that uses Windows Authentication running under
We have an ASP.NET MVC 3 web site which isn't working after it's deployed
I have been using web parts on my site since ASP.NET 2.0 came out.
I have been working on ASP.net MVC3 Web application using MSSQL 2008 R2 for
Hi I have been working on asp.net for a while. I am wondering if
For the last 4 years I have been working as an ASP.NET developer in
I'm working on a asp.net mvc2 app. I have been using jquery to do
I have built an ASP.NET MVC 3 web application (with exlusively Razor/cshtml pages) that

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.