For the published ASP.net site Add. aspx page, browse the error 404? Solution __.net

Source: Internet
Author: User
Tags website server

In fact, my previous question is like this;

If you feel that I write on the tedious, can jump directly to the article solution part of the "Requirements"

------------------------

Website server has the original site, customer requirements to increase the page, or dynamic, because the site before I do not do, the program is not ready to cover, worried that my side of the program is not the latest.


"Problem"

------------------------ Description One:

There was a previous page on the server, and I wrote a new page and put it right up there. Display 404 error


Description Two:

There is a Web site on the server,
I wrote a new page,
Then the entire web is published;
The release of the file only to extract my written separate page copy out;
After putting it on the server;
Show 404 error after entering address in address bar


Description Three:

In the project;
If the external document directly to the project;
Items are not shown;
You must manually include the file "in your project" before it will appear correctly

Description Four:

How to add a new page to a published. NET ASP site

Description Five:

Whether to add dependencies or configure something


Description Six:

I'm afraid the local project is too old for me to cover, so I can just put my pages on the server alone.

Description Seven:

Whether to add dependencies or configure what things describe eight:

The page can be downloaded to the



Solution

In fact, the biggest problem is in the question "description three", so I took my new project to see the file "DtCms.Web.csproj" is all the files of the configuration file (or rely on); PS: Do not understand the term here to call it.

Configuration is divided into page configuration and file configuration page configuration


File Configuration


According to the configuration information of these two files, open the server, copy and paste the corresponding file
After the configuration is good, still prompts 404 error. And on Baidu to find the next


Find the bin file in the Web copy to the server



The program works perfectly.

PS: When I paste the bin file on the server back up a copy to avoid error.


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.