Publish common Asp.net website symptoms and Solutions

Source: Internet
Author: User

When publishing the website developed by Asp.net, there will always be various problems that will not occur during local development. The following are common problems:

1. sympton

The page cannot be found

The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.

 

Please try the following:

    • Make sure that the Web site address displayed in the address bar of your browser is spelled and formatted correctly.
    • If you reached this page by clicking a link, contact the web site administrator to alert them that the link is incorrectly formatted.
    • Click the back button to try another link.
HTTP Error 404-file or directory not found.
Internet Information Services (IIS)

Solution:
It may be that the Asp.net service is not enabled. Open the IIS server and select Web Services extension S-> allow Asp.net.

2 symption: writing data to access or specified files will be denied! Data cannot be written to a specified file. For example, update the ACCESS database.
Reason:
If IIS uses the anonymous logon method, iuser _ <machine_name> is used. The default access acount does not have the write/update permission on the file. In this case, we need to assign the website-related acount to the wirte/update permission. The procedure is as follows:
Find the folder/file where write/update is needed, click the right key --> Security, add the corresponding acount to the user rent, and grant the write permission to the user.

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.