Summary of two minor issues about ASP. NET website publishing

Source: Internet
Author: User

Today, a good website (NET 2.0) is released on a just-Right computer. vs2005 team suite is in English, and TFs is installed to facilitate team development. It can be run and debugged in, no error is prompted during generation, but there is always an error at the website where the publication is released. the publishing process is interrupted: index was outside the bounds of the array.

I feel a little familiar with this error, because I tried this problem a long time ago and I couldn't remember how to solve it. I searched Baidu and Google for almost an hour, I found it was a poor patch, and I fainted. Now I think of the reason. Remember these minor issues at work for future reference.

This patch is called Hotfix, which may be encountered in Visual Studio SP1. Download it directly here.

 

After this setting is complete, publish it to the directory set by IIS. The running discovery interface is very simple and completely different from what we did. There is only one line of red font and several lines of black font, as shown below:

Server application unavailable
The Web application you are attempting to access on this web server is currently unavailable. Please hit the "refresh" button in your web browser to retry your request.
Administrator Note: an error message detailing the cause of this specific request failure can be found in the application event log of the Web server. please review this log entry to discover what caused this error to occur.

At this time, I checked the log and found that the error log recorded aspnet_wp.exe (PID: 2164) stopped unexpectedly.

The reason is that this computer first installs IIS --> sql2005 --> vs2005 --> vs6, because every. net Framework has its own aspnet_regiis version, which may be 1.1 for IIS or other versions. Here you have released 2.0ProgramThis operation does not match version 2.0. Therefore, only a few simplified fonts appear.

Then, only c: \ windows \ microsoft. Net \ framework \ v2.0.50727 \ aspnet_regiis-I has been entered to install ASPnet. After the prompt "OK" is displayed.

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.