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.