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 (best solution ):
1. If yourProgramRun on the server you can control, then install Asp.net Ajax. This is system. Web. Extensions and other DLL for GAC deployment. (generally, 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.
CheckCode:
<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 = b77a5c561934e089"/>
<Add Assembly = "system. Web. Extensions, version = 3.5.0.0, culture = neutral, publickeytoken = 31bf3856ad364e35"/>
<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 = b77a5c561934e089"/>
2. Comment out or delete these results and re-compile them.
This is because the Ajax compiled by vs2005 is 1.0, while vs2008 can simultaneously compile ajax1.0 and other versions, so there will be conflicts.
Solution 3:
Publickeytoken = 31bf3856ad364e35"
Or one of its dependencies. The system cannot find the specified file.
Install Asp.net Ajax, and then set X: \ Program Files \ Microsoft ASP. NET \ ASP. NET 2.0 Ajax extensions \ v1.0.61025
Add the system. Web. Extensions. Design. dll file under the directory to the bin directory of the project. copy the file to the bin directory of the website and run it again,
After installing Asp.net Ajax, there will be three DLL files
System. Web. Extensions. Design. dll
Ajaxextensionstoolbox. dll
System. Web. Extensions. dll
Generally, you should add these three files to the bin directory of the project. If you want to insure them, copy them all.