Failed to Load file or assembly "AspNetPager" or one of its dependencies. The specified path cannot be found.
Note: unprocessed exceptions occur during the execution of the current Web request. Check the stack trace information for details about the error and the source of the error in the code.
Exception details: System. IO. FileNotFoundException: failed to load the file, assembly "AspNetPager", or one of its dependencies. The specified path cannot be found.
Source error:
An unhandled exception is generated during the execution of the current Web request. You can use the following exception stack trace information to determine the cause and location of the exception.
Assembly Loading trace: The following information helps determine the cause of assembly "AspNetPager" failure to load.
The solution is as follows:
First:
Check the aspnetpager permission and check whether the operation permission of Authenticated Users is available.
Second, it may be caused by the server's McAfee problem.
9:29:17 nt authority \ network service c: \ windows \ system32 \ inetsrv \ w3wp.exe C: \ WINDOWS \ Microsoft. NET \ Framework \ v2.0.50727 \ Temporary ASP. NET Files \ root \ 73aadb6b \ 28e3561d \ assembly \ tmp \ BJPV18EK \ AspNetPager. DLL universal maximum protection: do not create an executable file in the Windows folder that has been blocked: Create
Solution:
Open the McAfee access protection attribute, select "Universal maximum protection" in the category, edit "prohibit creating executable files in Windows folder", and add w3wp.exe to "process to be excluded, OK.