Asp. netiis

Source: Internet
Author: User
Tags asp net

Asp. netiis

1. One error may occur. The request content seems to be a script. Therefore, the static file handler cannot handle the issue. The approximate cause is that the application pool is incorrectly selected. As shown in the second figure, you can solve this problem.

The solution is shown in the following two figures.

 

 

 

I encountered the "iis apppool \ ASP. NET v4.0 login failure" error after I encountered the above problem (I used ..net framework 4.0, So I reported this error ). My solution is to select from the application pool in the IIS manager.

ASP. NET V4.0 ---> advanced options find --> id --> set built-in account -----> to LocalSystem. The following figure shows ,,

 

At the same time, the folder permission under the path where the website is stored must also be set to the highest permission-full control-set step-Folder-properties-security-edit-add-in the input Object Name input Everyone in -- Click Check name -- OK

 

Z

Boring...

 

 

Another issue is that of IIS.

 

1. Because it is installed first. If IIS is installed after netframework, 4.0 of the related processing programs are not registered with the IIS server software,
Solution: Find the physical path of CMD, CD \ command to aspnet_regiis.exe in the Start menu, and enter aspnet_regiis-I to manually register the solution.

The physical path of aspnet_regiis.exe is: (32-bit system and 64-bit System)
C: \ Windows \ Microsoft. NET \ Framework \ v4.0.30319 \ aspnet_regiis.exe

 


Asp net configuration in iis

Recently, a project found that the file or assembly could not be loaded. This is because Ajax is not installed on my machine. After the problem is solved, sort it out as follows:
Performance:
1. "System. Web. Extensions, Version = 1.0.61025.0, Culture = neutral, PublicKeyToken = 31bf3856ad364e35" or one of its dependencies. The system cannot find the specified file.

2. Even after a reference is added to the background system, no matter whether the reference is a system or a user, their attributes and methods cannot be identified;

Solution 1:

1. If your program runs on a server that you can control, install asp.net ajax. This is System. web. extensions and other dll are deployed as GAC; (usually ajax can be installed)
2. If your program runs on a VM (You do not have permission to install the Program), you need to set System. Web. Extensions. dll and System. Web. Extensions. Design. dll
(Usually in C: \ Program Files \ Microsoft ASP. NET \ ASP. NET 2.0 AJAX Extensions \ v1.0.61025 directory) Copy two dll files to the bin directory of your web application. This is application-level deployment.
Check the code in web. config:

<Assemblies>
<Add assembly = "System. Web. Extensions, Version = 1.0.61025.0, Culture = neutral, PublicKeyToken = 31BF3856AD364E35"/>
</Assemblies>
<Controls>
<Add tagPrefix = "atlas" namespace = "System. Web. UI" assembly = "System. Web. Extensions, Version = 1.0.61025.0, Culture = neutral, PublicKeyToken = 31bf3856ad364e35"/>
</Controls>

Solution 2:

1. Open web. config and find the following nodes:
<Add assembly = "System. Web. Extensions, Version = 3.5.0.0, Culture = neutral, PublicKeyToken = 31BF3856AD364E35"/>
<Add assembly = "System. Web. Extensions, Version = 1.0.61025.0, Culture = neutral, PublicKeyToken = 31bf3856ad364e35"> </add>
<Add assembly = "System. Core, Version = 3.5.0.0, Culture = neutral, PublicKeyToken = B77A5C561934E089"/>
<Add assembly = "System. Data. Linq, Version = 3.5.0.0, Culture = neutral, PublicKeyToken ...... remaining full text>

Asp net configuration problems on IIS

After the firewall is turned off, It should be accessible within the LAN, but the Internet cannot be accessed. Whether your computer is in the LAN.
 

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.