Due to the release of ASP. NET Ajax 1.0, the blog garden set off a climax of learning Ajax, and I started my own Ajax journey. When Ajax Control Toolkit is used, it is found that the control is dragged to Visual Studio 2005, but the script error is found when debugging is started, probably because of Visual Studio 2005's web engine Visual Studio development server. If you use IIS, this problem may be solved.
Operation Method: Right-click a web project, select Properties, select Web in the Properties window, and change "Use Visual Studio development server" to "use IIS Web server ", create a virtual directory. If you start the project for debugging immediately, the "cannot start debugging on the Web server" dialog box will pop up.
Solution: if the web. config file is in VSS or TFSSource codeManagement, the web. check out the config file and open the Properties window of your project in IIS. on the. NET tab, select "Edit configuration", and then click "application"ProgramClick "enable debugging" on the tab. asp.. Net configuration setup will automatically modify the web of your project. modify the configuration section of the config file and then start debugging. Everything is normal.