In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
IIS needs to be installed when developing the web project. When the asp.net website is published on the Windows2008 R2 book where IIS is installed, the web program has been mapped to the local IIS, but running the following error prompt "handler" PageHandlerFactory-Integrated has an error module "ManagedPipelineHandler" in its module list.
The reason for this problem is that ASP.NET did not successfully register with IIS, most likely installing .net Framework first and then installing IIS. To avoid this problem, install IIS before installing .net Framework.
The web project development tools and systems I am going to release
① development tools: vs2010, database: sqlserver
② operating system: windows2008 R2
③ IIS:IIS 7.5
Windows7, after being deployed in the local IIS7, the result cannot access the .aspx page that hosts the SL, but it can be accessed if it is hosted with .html.
Repair methods available for personal testing:
Enter CMD and enter the following command
"% WINDIR%\ Microsoft.NET\ Framework\ v4.0.30319\ aspnet_regiis.exe"-iru-enable
The following detailed picture and text steps are not as simple as the command line above
Note: the 32-bit operating system path is C:\ Windows\ Microsoft.NET\ Framework\ v4.0.30319
one。 Details of the above error:
two。 The above error analysis:
Vs2010 defaults to the .NET 4.0Framework, which is an independent CLR, which is different from the .NET 2.0.If you want to run a website that runs the .NET 4.0Framework, you need to register the .NET 4.0Framework with aspnet_regiis, and then use the class pool of the .NET 4.0Framework to run the web project of the .NET 4.0Framework.
The most likely cause of the above error is due to installing .NetFramework v4.0 before installing iis 7.5.
three。 How to register a 4. 0 framework with aspnet_regiis?
The methods are as follows:
① finds the directory where aspnet_regiis is located in .NET 4.0framework, searches aspnet_regiis in the root directory of C disk, and finds the directory location of aspnet_regiis under framework 4.00.30319. My own directory is "C:\ Windows\ Microsoft.NET\ Framework\ v4.0.30319".
② runs the DOS command line as an administrator
Execute "start all → programs → attachment → command prompt (right-click and select 'run as administrator (A)')", and pop-up "administrator: command prompt" window
③ execute the command "cd C:\ Windows\ Microsoft.NET\ Framework\ v4.0.30319" and go to the "C:\ Windows\ Microsoft.NET\ Framework\ v4.0.30319" directory, as shown in the figure
Then execute the command "aspnet_regiis.exe-I", register "aspnet_regiis", wait a moment, aspnet_regiis successfully register as shown in the figure
When you see the interface in the figure, you can run the .net4.0 deployed website in IIS!
To sum up, I hope it will be helpful to people who encounter the same problems, and this is the accumulation of experience in their own growth! Look forward to your coming to correct!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.