1:
After IIS 2.0 is installed, an ASP. NET label is added to the attribute settings of the virtual directory of IIS, where the runtime is adjusted to 2.0. The default Runtime is 1.1.
2:
This is a permission issue,
First check the applicationProgramThe properties of the pool to see which user It is running. Generally, it is the network service and ensures that this user has access permission to the. NET Framework 2.0 directory. In fact, it should be there. The directory is systemroot: \ windows \ Microsoft. NET \ frameworks \ 2.0.xxxx
If both of the above are correct, unfortunately, you have encountered a very strange problem. The last time I changed the user identity of the application pool to a local system for running.
Configure according to solution 2: Set the access user of the running pool"Local System", And then run the program. The error is not displayed and solved successfully. However, when I select" Local System ", IIS prompts that there will be a security problem. I was worried about it, however, I was not so worried after reading the following replies:
You don't have to worry about permissions. for a large number of systems, you need to set a local system,
The simplest example is to set a network hard disk to a local system, let alone anything else.
No headache. Have you ever heard of hacker intrusion caused by setting it as a local system?
Not many people in China have this capability. If you encounter a real hacker, it's not safe to do anything about it.